From 00de5acac7b10c4c1ff7a8dffd481df86836c8bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 5 Mar 2010 01:35:06 +0000 Subject: [PATCH] Network YooMedia added, in previous commit were invalid click and banner links, some are now fixed --- inc/extensions/ext-network.php | 105 ++++++++++++++++++++++++++++++++- 1 file changed, 104 insertions(+), 1 deletion(-) diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index a503b0e8cd..73640d37d8 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -27,7 +27,13 @@ * @TODO GolloX: Which charset? * * @TODO homeADS: Which charset? * * @TODO paid4ad: Which URLs for click and banner? * - * @TODO Der Werbepartner.cc: Has extra-parameter &step=1 in click URL * + * @TODO Der Werbepartner.cc: Banner click/view is JavaScript! * + * @TODO Der Werbepartner.cc: Forced textlink not correct * + * @TODO Der Werbepartner.cc: Layer not correct * + * @TODO Der Werbepartner.cc: Sky banner is JavaScript! * + * @TODO Der Werbepartner.cc: Surfbar click not correct * + * @TODO Der Werbepartner.cc: Textlink not not correct * + * @TODO Yoo!Media: What is LayerAd compared to Layer click? * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -458,6 +464,18 @@ PRIMARY KEY (`network_reload_id`) (155, 19, 'traffic', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/get.php', NULL)"); // Network type handlers - Yoo!Media + 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 +(156, 20, 'banner_click', 'http://www.yoomedia.de/interface_2.0/out_banner.php', 'http://www.yoomedia.de/code/z-bannerklf.php?id=%UID%&sid=%SID%', 'http://www.yoomedia.de/code/z-banner.php?id=%UID%&sid=%SID%&bid=%BID%'), +(157, 20, 'textlink_click', 'http://www.yoomedia.de/interface_2.0/out_textlink.php', 'http://www.yoomedia.de/code/t-textlink.php?id=%UID%&sid=%SID%', NULL), +(158, 20, 'surfbar_click', 'http://www.yoomedia.de/interface_2.0/out_sbanner.php', 'http://www.yoomedia.de/code/s-bannerklf.php?id=%UID%&sid=%SID%', 'http://www.yoomedia.de/code/s-banner.php?id=%UID%&sid=%SID%&bid=%BID%'), +(159, 20, 'forcedbanner', 'http://www.yoomedia.de/interface_2.0/out_fbanner.php', 'http://www.yoomedia.de/code/f-bannerklf.php?id=%UID%&sid=%SID%', 'http://www.yoomedia.de/code/f-banner.php?id=%UID%&sid=%SID%&bid=%BID%'), +(160, 20, 'pagepeel', 'http://www.yoomedia.de/interface_2.0/out_pagepeel.php', 'http://www.yoomedia.de/code/p-peel.php?id=%UID%&sid=%SID%', NULL), +(161, 20, 'textmail', 'http://www.yoomedia.de/interface_2.0/out_textmail.php', 'http://www.yoomedia.de/code/t-mail.php?id=%UID%&sid=%SID%', NULL), +(162, 20, 'htmlmail', 'http://www.yoomedia.de/interface_2.0/out_htmlmail.php', 'http://www.yoomedia.de/code/h-mail.php?id=%UID%&sid=%SID%', NULL), +(163, 20, 'layer_click', 'http://www.yoomedia.de/interface_2.0/out_layer.php', 'http://www.yoomedia.de/code/l-layer.php?id=%UID%&sid=%SID%', NULL), +(164, 20, 'popup', 'http://www.yoomedia.de/interface_2.0/out_popup.php', 'http://www.yoomedia.de/code/p-popup.php?id=%UID%&sid=%SID%', NULL), +(165, 20, 'popdown', 'http://www.yoomedia.de/interface_2.0/out_popdown.php', 'http://www.yoomedia.de/code/p-popdown.php?id=%UID%&sid=%SID%', NULL), +(166, 20, 'lead', 'http://www.yoomedia.de/interface_2.0/out_lead.php', 'http://www.yoomedia.de/code/lead.php?id=%UID%&sid=%SID%', NULL)"); // Request parameters per type handler - A3H 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 @@ -1533,6 +1551,91 @@ PRIMARY KEY (`network_reload_id`) (1027, 19, 155, 'password', 'pw', NULL)"); // Request parameters per type handler - Yoo!Media + 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 +(1028, 20, 156, 'id', 'id', NULL), +(1029, 20, 156, 'sid', 'sid', NULL), +(1030, 20, 156, 'password', 'pw', NULL), +(1031, 20, 156, 'reload', 'reload', NULL), +(1032, 20, 156, 'remain', 'uebrig', NULL), +(1033, 20, 156, 'reward', 'verguetung', NULL), +(1034, 20, 156, 'size', 'size', '468x60'), +(1035, 20, 156, 'erotic', 'erotik', NULL), +(1036, 20, 157, 'id', 'id', NULL), +(1037, 20, 157, 'sid', 'sid', NULL), +(1038, 20, 157, 'password', 'pw', NULL), +(1039, 20, 157, 'reload', 'reload', NULL), +(1040, 20, 157, 'reward', 'verguetung', NULL), +(1041, 20, 157, 'erotic', 'erotik', NULL), +(1042, 20, 157, 'remain', 'uebrig', NULL), +(1043, 20, 158, 'id', 'id', NULL), +(1044, 20, 158, 'sid', 'sid', NULL), +(1045, 20, 158, 'password', 'pw', NULL), +(1046, 20, 158, 'reload', 'reload', NULL), +(1047, 20, 158, 'reward', 'verguetung', NULL), +(1048, 20, 158, 'remain', 'uebrig', NULL), +(1049, 20, 158, 'size', 'size', '468x60'), +(1050, 20, 158, 'erotic', 'erotik', NULL), +(1051, 20, 159, 'id', 'id', NULL), +(1052, 20, 159, 'sid', 'sid', NULL), +(1053, 20, 159, 'password', 'pw', NULL), +(1054, 20, 159, 'reload', 'reload', NULL), +(1055, 20, 159, 'min_stay', 'ma', NULL), +(1056, 20, 159, 'remain', 'uebrig', NULL), +(1057, 20, 159, 'reward', 'verguetung', NULL), +(1058, 20, 159, 'size', 'size', '468x60'), +(1059, 20, 159, 'erotic', 'erotik', NULL), +(1060, 20, 160, 'id', 'id', NULL), +(1061, 20, 160, 'sid', 'sid', NULL), +(1062, 20, 160, 'password', 'pw', NULL), +(1063, 20, 160, 'reload', 'reload', NULL), +(1064, 20, 160, 'remain', 'uebrig', NULL), +(1065, 20, 160, 'reward', 'verguetung', NULL), +(1066, 20, 160, 'erotic', 'erotik', NULL), +(1067, 20, 161, 'id', 'id', NULL), +(1068, 20, 161, 'sid', 'sid', NULL), +(1069, 20, 161, 'password', 'pw', NULL), +(1070, 20, 161, 'reload', 'reload', NULL), +(1071, 20, 161, 'min_stay', 'ma', NULL), +(1072, 20, 161, 'remain', 'uebrig', NULL), +(1073, 20, 161, 'reward', 'verguetung', NULL), +(1074, 20, 161, 'erotic', 'erotik', NULL), +(1075, 20, 162, 'id', 'id', NULL), +(1076, 20, 162, 'sid', 'sid', NULL), +(1077, 20, 162, 'password', 'pw', NULL), +(1078, 20, 162, 'reload', 'reload', NULL), +(1079, 20, 162, 'min_stay', 'ma', NULL), +(1080, 20, 162, 'remain', 'uebrig', NULL), +(1081, 20, 162, 'reward', 'verguetung', NULL), +(1082, 20, 162, 'erotic', 'erotik', NULL), +(1083, 20, 163, 'id', 'id', NULL), +(1084, 20, 163, 'sid', 'sid', NULL), +(1085, 20, 163, 'password', 'pw', NULL), +(1086, 20, 163, 'reload', 'reload', NULL), +(1087, 20, 163, 'remain', 'uebrig', NULL), +(1088, 20, 163, 'reward', 'verguetung', NULL), +(1089, 20, 163, 'erotic', 'erotik', NULL), +(1090, 20, 164, 'id', 'id', NULL), +(1091, 20, 164, 'sid', 'sid', NULL), +(1092, 20, 164, 'password', 'pw', NULL), +(1093, 20, 164, 'reload', 'reload', NULL), +(1094, 20, 164, 'min_stay', 'ma', NULL), +(1095, 20, 164, 'remain', 'uebrig', NULL), +(1096, 20, 164, 'reward', 'verguetung', NULL), +(1097, 20, 164, 'erotic', 'erotik', NULL), +(1098, 20, 165, 'id', 'id', NULL), +(1099, 20, 165, 'sid', 'sid', NULL), +(1100, 20, 165, 'password', 'pw', NULL), +(1101, 20, 165, 'reload', 'reload', NULL), +(1102, 20, 165, 'min_stay', 'ma', NULL), +(1103, 20, 165, 'reward', 'verguetung', NULL), +(1104, 20, 165, 'remain', 'uebrig', NULL), +(1105, 20, 165, 'erotic', 'erotik', NULL), +(1106, 20, 166, 'id', 'id', NULL), +(1107, 20, 166, 'sid', 'sid', NULL), +(1108, 20, 166, 'password', 'pw', NULL), +(1109, 20, 166, 'remain', 'uebrig', NULL), +(1110, 20, 166, 'reward', 'verguetung', NULL), +(1111, 20, 166, 'erotic', 'erotik', NULL)"); // Fix empty defaults to NULL addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_network_types` SET `network_type_banner_url`=NULL WHERE `network_type_banner_url`=''"); -- 2.39.5