From: Roland Häder Date: Thu, 26 Nov 2009 21:29:40 +0000 (+0000) Subject: Advert type handlers and request parameters added for YooMedia X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5fab12e701cbdc5d8026e56601f098e03406df31;p=mailer.git Advert type handlers and request parameters added for YooMedia --- diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index 215dc7d44d..602c68bdc4 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -214,7 +214,107 @@ PRIMARY KEY (`network_reload_id`) // Sponsor networks addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`, `network_title`, `network_reflink`, `network_data_seperator`, `network_row_seperator`, `network_request_type`, `network_charset`) VALUES ('yoomedia', 'Yoo!Media Solutions', 'http://www.yoomedia.de?ref=1715', '|', '|', 'GET', 'WINDOWS-1252')"); - + + // Network type handlers - Yoo!Media (Please use http://www.yoomedia.de?ref=1715 for signing up) + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_id`,`network_type_handle`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`) VALUES (1, 'banner', 'http://www.yoomedia.de/interface_2.0/out_banner.php', 'http://www.yoomedia.de/code/z-bannerklf.php?id=%ID%&sid=%SID%', 'http://www.yoomedia.de/code/z-banner.php?id=%ID%&sid=%SID%&bid=%BID%'), +(1, 'surfbar', 'http://www.yoomedia.de/interface_2.0/out_sbanner.php', 'http://www.yoomedia.de/code/s-bannerklf.php?id=%ID%&sid=%SID%', 'http://www.yoomedia.de/code/s-banner.php?id=%ID%&sid=%SID%&bid=%BID%'), +(1, 'foredbanner', 'http://www.yoomedia.de/interface_2.0/out_fbanner.php', 'http://www.yoomedia.de/code/f-bannerklf.php?id=%ID%&sid=%SID%', 'http://www.yoomedia.de/code/f-banner.php?id=%ID%&sid=%SID%&bid=%BID%'), +(1, 'textlink', 'http://www.yoomedia.de/interface_2.0/out_textlink.php', 'http://www.yoomedia.de/code/t-textlink.php?id=%ID%&sid=%SID%', ''), +(1, 'layer', 'http://www.yoomedia.de/interface_2.0/out_layer.php', 'http://www.yoomedia.de/code/l-layer.php?id=%ID%&sid=%SID%', ''), +(1, 'popup', 'http://www.yoomedia.de/interface_2.0/out_popup.php', 'http://www.yoomedia.de/code/p-popup.php?id=%ID%&sid=%SID%', ''), +(1, 'popdown', 'http://www.yoomedia.de/interface_2.0/out_popdown.php', 'http://www.yoomedia.de/code/p-popdown.php?id=%ID%&sid=%SID%', ''), +(1, 'textmail', 'http://www.yoomedia.de/interface_2.0/out_textmail.php', 'http://www.yoomedia.de/code/t-mail.php?id=%ID%&sid=%SID%', ''), +(1, 'htmlmail', 'http://www.yoomedia.de/interface_2.0/out_htmlmail.php', 'http://www.yoomedia.de/code/h-mail.php?id=%ID%&sid=%SID%', ''), +(1, 'lead', 'http://www.yoomedia.de/interface_2.0/out_lead.php', 'http://www.yoomedia.de/code/lead.php?id=%ID%&sid=%SID%', ''), +(1, 'pagepeel', 'http://www.yoomedia.de/interface_2.0/out_pagepeel.php', 'http://www.yoomedia.de/code/p-peel.php?id=%ID%&sid=%SID%', '')"; + + // Request parameters per type handler - Yoo!Media + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 1, 'id', 'id'), +(1, 1, 'sid', 'sid'), +(1, 1, 'password', 'pw'), +(1, 1, 'reload', 'reload'), +(1, 1, 'remain', 'uebrig'), +(1, 1, 'reward', 'verguetung'), +(1, 1, 'size', 'size'), +(1, 1, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 3, 'id', 'id'), +(1, 3, 'sid', 'sid'), +(1, 3, 'password', 'pw'), +(1, 3, 'reload', 'reload'), +(1, 3, 'min_stay', 'ma'), +(1, 3, 'remain', 'uebrig'), +(1, 3, 'reward', 'verguetung'), +(1, 3, 'size', 'size'), +(1, 3, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 9, 'id', 'id'), +(1, 9, 'sid', 'sid'), +(1, 9, 'password', 'pw'), +(1, 9, 'reload', 'reload'), +(1, 9, 'min_stay', 'ma'), +(1, 9, 'remain', 'uebrig'), +(1, 9, 'reward', 'verguetung'), +(1, 9, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 5, 'id', 'id'), +(1, 5, 'sid', 'sid'), +(1, 5, 'password', 'pw'), +(1, 5, 'reload', 'reload'), +(1, 5, 'remain', 'uebrig'), +(1, 5, 'reward', 'verguetung'), +(1, 5, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 10, 'id', 'id'), +(1, 10, 'sid', 'sid'), +(1, 10, 'password', 'pw'), +(1, 10, 'reload', 'reload'), +(1, 10, 'remain', 'uebrig'), +(1, 10, 'reward', 'verguetung'), +(1, 10, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 11, 'id', 'id'), +(1, 11, 'sid', 'sid'), +(1, 11, 'password', 'pw'), +(1, 11, 'reload', 'reload'), +(1, 11, 'remain', 'uebrig'), +(1, 11, 'reward', 'verguetung'), +(1, 11, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 7, 'id', 'id'), +(1, 7, 'sid', 'sid'), +(1, 7, 'password', 'pw'), +(1, 7, 'reload', 'reload'), +(1, 7, 'min_stay', 'ma'), +(1, 7, 'remain', 'uebrig'), +(1, 7, 'reward', 'verguetung'), +(1, 7, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 6, 'id', 'id'), +(1, 6, 'sid', 'sid'), +(1, 6, 'password', 'pw'), +(1, 6, 'reload', 'reload'), +(1, 6, 'min_stay', 'ma'), +(1, 6, 'remain', 'uebrig'), +(1, 6, 'reward', 'verguetung'), +(1, 6, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 2, 'id', 'id'), +(1, 2, 'sid', 'sid'), +(1, 2, 'password', 'pw'), +(1, 2, 'reload', 'reload'), +(1, 2, 'remain', 'uebrig'), +(1, 2, 'reward', 'verguetung'), +(1, 2, 'size', 'size'), +(1, 2, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 4, 'id', 'id'), +(1, 4, 'sid', 'sid'), +(1, 4, 'password', 'pw'), +(1, 4, 'reload', 'reload'), +(1, 4, 'remain', 'uebrig'), +(1, 4, 'reward', 'verguetung'), +(1, 4, 'erotic', 'erotik')"; + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`request_param_key`,`request_param_value`) VALUES (1, 8, 'id', 'id'), +(1, 8, 'sid', 'sid'), +(1, 8, 'password', 'pw'), +(1, 8, 'reload', 'reload'), +(1, 8, 'min_stay', 'ma'), +(1, 8, 'remain', 'uebrig'), +(1, 8, 'reward', 'verguetung'), +(1, 8, 'erotic', 'erotik')"; + // Admin menu entries addAdminMenuSql('network',NULL,'Werbenetzwerke','Verwalten Sie hier Werbenetzwerke (API-Anbindung), versenden Sie deren Mails, oder übernehmen Sie deren Textlinks und vieles mehr. VORSICHT: Das Einrichten von weiteren Werbenetzwerken ist nicht leicht, dafür aber sehr flexibel! Sollte ein Netzwerk fehlen, so melden Sie dies bitte im Forum!',4); addAdminMenuSql('network','config_networks','API-Daten','Stellen Sie Ihre Affiliate- Webseiten-Id und API-Passwort ein. Diese erhalten Sie zu über 99% aus dem jeweiligen Zugangsbereich des Anbieters. Sollten Sie bei einem Netzwerk noch nicht angemeldet sein, verwenden Sie bitte meinen Referal-Link.',1);