* @TODO Affiliblatt: All except banner, do they really have UTF-8? *
* @TODO doubleads: Which charset? *
* @TODO Fusion-Ads: Has click/banner URL in API response, really UTF-8 *
- * @TODO GigaPromo: Traffic *
* @TODO GolloX: Which charset? *
* @TODO homeADS: Which charset? *
- * @TODO Mega-Ad: Traffic *
* @TODO paid4ad: Which URLs for click and banner? *
- * @TODO secash: Traffic *
- * @TODO ultraPROMO: Traffic *
* @TODO Der Werbepartner.cc: Has click/banner URL in API response *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
('megad', 'Mega-Ad', 'http://www.mega-ad.de/?ref=303', '|', '|', 'GET', 'WINDOWS-1252'),
('power-promo', 'Power-Promo', 'http://www.power-promo.de?ref=1231', '|', '|', 'GET', 'WINDOWS-1252'),
('secash', 'SeCash', 'http://www.secash.de?ref=758', '|', '|', 'GET', 'WINDOWS-1252'),
+('ultrapromo', 'UltraPROMO', 'http://www.ultrapromo.eu?ref=485', '|', '|', 'GET', 'WINDOWS-1252'),
('werbepartnercc', 'Der Werbepartner.cc', 'http://www.werbepartner.cc/sponsor/?ref=696', '|', '|', 'GET', 'WINDOWS-1252'),
('yoomedia', 'Yoo!Media Solutions', 'http://www.yoomedia.de?ref=1715', '|', '|', 'GET', 'WINDOWS-1252')");
(103, 12, 'layer_view', 'http://www.gigapromo.de/interface/output_layerviews.php', 'http://www.gigapromo.de/view/layer.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
(108, 12, 'popdown', 'http://www.gigapromo.de/interface/output_popdown.php', 'http://www.gigapromo.de/view/popdown.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
(107, 12, 'popup', 'http://www.gigapromo.de/interface/output_popup.php', 'http://www.gigapromo.de/view/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(106, 12, 'textmail', 'http://www.gigapromo.de/interface/output_paidmails.php', 'http://www.gigapromo.de/view/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
+(106, 12, 'textmail', 'http://www.gigapromo.de/interface/output_paidmails.php', 'http://www.gigapromo.de/view/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(122, 12, 'traffic', 'http://www.gigapromo.de/interface/output_traffic.php', 'http://www.gigapromo.de/view/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
// Network type handlers - Make-Euros
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
(71, 13, 'htmlmail', 'http://www.make-euros.de/interface/out_paidmail.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL),
(72, 13, 'layer_click', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL),
(73, 13, 'layer_view', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL),
-(76, 13, 'lead', 'http://www.make-euros.de/interface/out_lead.php', 'http://www.make-euros.de /lead.php?id=%CID%', NULL),
+(76, 13, 'lead', 'http://www.make-euros.de/interface/out_lead.php', 'http://www.make-euros.de/lead.php?id=%CID%', NULL),
(75, 13, 'popdown', 'http://www.make-euros.de/interface/out_popdown.php', 'http://www.make-euros.de/popdown.php?id=%CID%', NULL),
(74, 13, 'popup', 'http://www.make-euros.de/interface/out_popup.php', 'http://www.make-euros.de/popup.php?id=%CID%', NULL),
-(77, 13, 'sale', 'http://www.make-euros.de/interface/out_sale.php', 'http://www.make-euros.de /sale.php?id=%CID%', NULL),
+(77, 13, 'sale', 'http://www.make-euros.de/interface/out_sale.php', 'http://www.make-euros.de/sale.php?id=%CID%', NULL),
(67, 13, 'surfbar_click', 'http://www.make-euros.de/interface/out_sbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'),
(69, 13, 'surfbar_view', 'http://www.make-euros.de/interface/out_sbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'),
(65, 13, 'textlink_click', 'http://www.make-euros.de/interface/out_textlink.php', 'http://www.make-euros.de/textlinkklick.php?id=%CID%', NULL),
(116, 14, 'popup', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
(113, 14, 'skybanner_view', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
(115, 14, 'textlink_view', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(117, 14, 'textmail', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
+(117, 14, 'textmail', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(123, 14, 'traffic', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
// Network type handlers - Power-Promo
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
(100, 16, 'popup', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
(97, 16, 'skybanner_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
(99, 16, 'textlink_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(101, 16, 'textmail', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
+(101, 16, 'textmail', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(124, 16, 'traffic', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
+
+ // Network type handlers - UltraPROMO
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
+(125, 17, 'banner_click', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(126, 17, 'banner_view', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(127, 17, 'button_view', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(128, 17, 'forcedbanner', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(129, 17, 'forcedtextlink', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(130, 17, 'popup', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(131, 17, 'skybanner_view', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ultrapromo.eu/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(132, 17, 'textlink_view', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(133, 17, 'textmail', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
+(134, 17, 'traffic', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
// Network type handlers - Der Werbepartner.cc
(785, 14, 117, 'password', 'pw', NULL),
(786, 14, 117, 'reload', 'reload', NULL),
(787, 14, 117, 'remain', 'uebrig', NULL),
-(788, 14, 117, 'reward', 'verguetung', NULL)");
+(788, 14, 117, 'reward', 'verguetung', NULL),
+(815, 14, 123, 'extra', 'typ', 'traffic'),
+(816, 14, 123, 'id', 'id', NULL),
+(817, 14, 123, 'password', 'pw', NULL),
+(818, 14, 123, 'remain', 'uebrig', NULL),
+(819, 14, 123, 'reload', 'reload', NULL),
+(820, 14, 123, 'reward', 'verguetung', NULL)");
// Request parameters per type handler - Power-Promo
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
(683, 16, 101, 'reward', 'verguetung', NULL),
(684, 16, 101, 'reload', 'reload', NULL),
(685, 16, 101, 'remain', 'uebrig', NULL),
-(686, 16, 101, 'min_stay', 'ma', NULL)");
+(686, 16, 101, 'min_stay', 'ma', NULL),
+(821, 16, 124, 'extra', 'typ', 'traffic'),
+(822, 16, 124, 'id', 'id', NULL),
+(823, 16, 124, 'password', 'pw', NULL),
+(824, 16, 124, 'remain', 'uebrig', NULL),
+(825, 16, 124, 'reload', 'reload', NULL),
+(826, 16, 124, 'reward', 'verguetung', NULL)");
+
+ // Request parameters per type handler - UltraPROMO
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
+(827, 17, 128, 'extra', 'typ', 'forcedbanner'),
+(828, 17, 128, 'id', 'id', NULL),
+(829, 17, 128, 'password', 'pw', NULL),
+(830, 17, 128, 'remain', 'uebrig', NULL),
+(831, 17, 128, 'reload', 'reload', NULL),
+(832, 17, 128, 'reward', 'verguetung', NULL),
+(833, 17, 129, 'extra', 'typ', 'forcedtextlink'),
+(834, 17, 129, 'id', 'id', NULL),
+(835, 17, 129, 'password', 'pw', NULL),
+(836, 17, 129, 'remain', 'uebrig', NULL),
+(837, 17, 129, 'reload', 'reload', NULL),
+(838, 17, 129, 'reward', 'verguetung', NULL),
+(839, 17, 126, 'extra', 'typ', 'bannerview'),
+(840, 17, 126, 'id', 'id', NULL),
+(841, 17, 126, 'password', 'pw', NULL),
+(842, 17, 126, 'remain', 'uebrig', NULL),
+(843, 17, 126, 'reload', 'reload', NULL),
+(844, 17, 126, 'reward', 'verguetung', NULL),
+(845, 17, 125, 'extra', 'typ', 'bannerklick'),
+(846, 17, 125, 'id', 'id', NULL),
+(847, 17, 125, 'password', 'pw', NULL),
+(848, 17, 125, 'remain', 'uebrig', NULL),
+(849, 17, 125, 'reload', 'reload', NULL),
+(850, 17, 125, 'reward', 'verguetung', NULL),
+(851, 17, 131, 'extra', 'typ', 'skybannerview'),
+(852, 17, 131, 'id', 'id', NULL),
+(853, 17, 131, 'password', 'pw', NULL),
+(854, 17, 131, 'remain', 'uebrig', NULL),
+(855, 17, 131, 'reload', 'reload', NULL),
+(856, 17, 131, 'reward', 'verguetung', NULL),
+(857, 17, 127, 'extra', 'typ', 'buttonview'),
+(858, 17, 127, 'id', 'id', NULL),
+(859, 17, 127, 'password', 'pw', NULL),
+(860, 17, 127, 'remain', 'uebrig', NULL),
+(861, 17, 127, 'reload', 'reload', NULL),
+(862, 17, 127, 'reward', 'verguetung', NULL),
+(863, 17, 132, 'extra', 'typ', 'textview'),
+(864, 17, 132, 'id', 'id', NULL),
+(865, 17, 132, 'password', 'pw', NULL),
+(866, 17, 132, 'remain', 'uebrig', NULL),
+(867, 17, 132, 'reload', 'reload', NULL),
+(868, 17, 132, 'reward', 'verguetung', NULL),
+(869, 17, 134, 'extra', 'typ', 'traffic'),
+(870, 17, 134, 'id', 'id', NULL),
+(871, 17, 134, 'password', 'pw', NULL),
+(872, 17, 134, 'remain', 'uebrig', NULL),
+(873, 17, 134, 'reload', 'reload', NULL),
+(874, 17, 134, 'reward', 'verguetung', NULL),
+(875, 17, 130, 'extra', 'typ', 'popup'),
+(876, 17, 130, 'id', 'id', NULL),
+(877, 17, 130, 'password', 'pw', NULL),
+(878, 17, 130, 'remain', 'uebrig', NULL),
+(879, 17, 130, 'reload', 'reload', NULL),
+(880, 17, 130, 'reward', 'verguetung', NULL),
+(881, 17, 130, 'min_stay', 'ma', NULL),
+(882, 17, 133, 'extra', 'typ', 'paidmail'),
+(883, 17, 133, 'id', 'id', NULL),
+(884, 17, 133, 'password', 'pw', NULL),
+(885, 17, 133, 'remain', 'uebrig', NULL),
+(886, 17, 133, 'reload', 'reload', NULL),
+(887, 17, 133, 'reward', 'verguetung', NULL),
+(888, 17, 133, 'min_stay', 'ma', NULL)");
// Request parameters per type handler - Der Werbepartner.cc
break;
default: // Unknown extension mode
- logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+ logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
break;
} // END - switch