AdRotate Banner Manager - Version 3.15.1

Version Description

FREE = * [fix] Error about W3 Total Cache not being active while it is * [fix] Undefined variable output * [fix] Path to banner image (logo) in some notifications

Download this release

Release Info

Developer adegans
Plugin Icon 128x128 AdRotate Banner Manager
Version 3.15.1
Comparing to
See all releases

Code changes from version 3.15 to 3.15.1

adrotate-output.php CHANGED
@@ -475,26 +475,20 @@ function adrotate_custom_javascript() {
475
476
$groups = $wpdb->get_results("SELECT `id`, `adspeed` FROM `{$wpdb->prefix}adrotate_groups` WHERE `name` != '' AND `modus` = 1 ORDER BY `id` ASC;");
477
if($groups) {
478
- $output_js = "jQuery(document).ready(function(){\n";
479
- $output_js .= "if(jQuery.fn.gslider) {\n";
480
- foreach($groups as $group) {
481
- $output_js .= "\tjQuery('.g-".$group->id."').gslider({ groupid: ".$group->id.", speed: ".$group->adspeed." });\n";
482
- }
483
- $output_js .= "}\n";
484
- $output_js .= "});\n";
485
- unset($groups);
486
- }
487
-
488
- if(isset($output_js)) {
489
$output = "<!-- AdRotate JS -->\n";
490
$output .= "<script type=\"text/javascript\">\n";
491
- $output .= $output_js;
492
$output .= "</script>\n";
493
$output .= "<!-- /AdRotate JS -->\n\n";
494
- unset($output_js);
495
}
496
-
497
- echo $output;
498
}
499
500
/*-------------------------------------------------------------
@@ -694,7 +688,7 @@ function adrotate_dashboard_error() {
694
}
695
696
// Caching
697
- if($adrotate_config['w3caching'] == "Y" AND !is_plugin_active('/w3-total-cache/w3-total-cache.php')) {
698
$error['w3tc_not_active'] = __('You have enable caching support but W3 Total Cache is not active on your site!', 'adrotate-pro').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">Disable Caching Support</a> or <a href="'.admin_url('/plugins.php').'">Enable W3 Total Cache</a>.';
699
}
700
if($adrotate_config['w3caching'] == "Y" AND !defined('W3TC_DYNAMIC_SECURITY')) {
@@ -730,7 +724,7 @@ function adrotate_notifications_dashboard() {
730
echo '&raquo; '.$message.'<br />';
731
}
732
echo ' </span></div>';
733
- echo ' <div class="icon"><img title="AdRotate Logo" src="'.plugins_url('images/adrotate-logo-60x60.png', __FILE__).'" alt=""/></div>';
734
echo ' </div>';
735
echo '</div>';
736
}
475
476
$groups = $wpdb->get_results("SELECT `id`, `adspeed` FROM `{$wpdb->prefix}adrotate_groups` WHERE `name` != '' AND `modus` = 1 ORDER BY `id` ASC;");
477
if($groups) {
478
$output = "<!-- AdRotate JS -->\n";
479
$output .= "<script type=\"text/javascript\">\n";
480
+ $output .= "jQuery(document).ready(function(){\n";
481
+ $output .= "if(jQuery.fn.gslider) {\n";
482
+ foreach($groups as $group) {
483
+ $output .= "\tjQuery('.g-".$group->id."').gslider({ groupid: ".$group->id.", speed: ".$group->adspeed." });\n";
484
+ }
485
+ $output .= "}\n";
486
+ $output .= "});\n";
487
$output .= "</script>\n";
488
$output .= "<!-- /AdRotate JS -->\n\n";
489
+ unset($groups);
490
+ echo $output;
491
}
492
}
493
494
/*-------------------------------------------------------------
688
}
689
690
// Caching
691
+ if($adrotate_config['w3caching'] == "Y" AND !is_plugin_active('w3-total-cache/w3-total-cache.php')) {
692
$error['w3tc_not_active'] = __('You have enable caching support but W3 Total Cache is not active on your site!', 'adrotate-pro').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">Disable Caching Support</a> or <a href="'.admin_url('/plugins.php').'">Enable W3 Total Cache</a>.';
693
}
694
if($adrotate_config['w3caching'] == "Y" AND !defined('W3TC_DYNAMIC_SECURITY')) {
724
echo '&raquo; '.$message.'<br />';
725
}
726
echo ' </span></div>';
727
+ echo ' <div class="icon"><img title="AdRotate Logo" src="'.plugins_url('images/logo-60x60.png', __FILE__).'" alt=""/></div>';
728
echo ' </div>';
729
echo '</div>';
730
}
adrotate.php CHANGED
@@ -7,7 +7,7 @@ Author URI: http://ajdg.solutions/?pk_campaign=adrotatefree-pluginpage
7
Description: The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
8
Text Domain: adrotate
9
Domain Path: /languages/
10
- Version: 3.15
11
License: GPLv3
12
*/
13
@@ -22,7 +22,7 @@ License: GPLv3
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
- define("ADROTATE_DISPLAY", '3.15');
26
define("ADROTATE_VERSION", 380);
27
define("ADROTATE_DB_VERSION", 57);
28
/*-----------------------------------------------------------*/
7
Description: The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
8
Text Domain: adrotate
9
Domain Path: /languages/
10
+ Version: 3.15.1
11
License: GPLv3
12
*/
13
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
+ define("ADROTATE_DISPLAY", '3.15.1');
26
define("ADROTATE_VERSION", 380);
27
define("ADROTATE_DB_VERSION", 57);
28
/*-----------------------------------------------------------*/
dashboard/settings/geotargeting.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/* ------------------------------------------------------------------------------------
3
* COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
* ADROTATE is a trademark of Arnan de Gans.
6
7
* COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
@@ -20,15 +20,12 @@
20
<option value="0" disabled>AdRotate Geo</option>
21
<option value="0" disabled>MaxMind City (Recommended)</option>
22
<option value="0" disabled>MaxMind Country</option>
23
- <option value="0" disabled>Telize</option>
24
</select><br />
25
<span class="description">
26
<strong>MaxMind</strong> - <a href="https://www.maxmind.com/en/geoip2-precision-services?rId=ajdgnet" target="_blank">GeoIP2 Precision</a> - <?php _e('The most complete and accurate geo targeting you can get for only $20 USD per 50000 lookups.', 'adrotate'); ?> <a href="https://www.maxmind.com/en/geoip2-precision-city?rId=ajdgnet" target="_blank"><?php _e('Buy now', 'adrotate'); ?>.</a><br />
27
<em><strong>Supports:</strong> Countries, States, State ISO codes, Cities and DMA codes.</em><br /><br />
28
- <strong>AdRotate Geo</strong> - <?php _e('50000 free lookups every day, uses GeoLite2 databases from MaxMind!', 'adrotate'); ?><br />
29
<em><strong>Supports:</strong> Countries, Cities, DMA codes, States and State ISO codes.</em><br /><br />
30
- <strong>Telize</strong> - <?php _e('Free service, uses GeoLite2 databases from MaxMind!', 'adrotate'); ?><br />
31
- <em><strong>Supports:</strong> Countries, Cities and DMA codes.</em>
32
</span>
33
</td>
34
</tr>
1
<?php
2
/* ------------------------------------------------------------------------------------
3
* COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2016 Arnan de Gans. All Rights Reserved.
5
* ADROTATE is a trademark of Arnan de Gans.
6
7
* COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
20
<option value="0" disabled>AdRotate Geo</option>
21
<option value="0" disabled>MaxMind City (Recommended)</option>
22
<option value="0" disabled>MaxMind Country</option>
23
</select><br />
24
<span class="description">
25
<strong>MaxMind</strong> - <a href="https://www.maxmind.com/en/geoip2-precision-services?rId=ajdgnet" target="_blank">GeoIP2 Precision</a> - <?php _e('The most complete and accurate geo targeting you can get for only $20 USD per 50000 lookups.', 'adrotate'); ?> <a href="https://www.maxmind.com/en/geoip2-precision-city?rId=ajdgnet" target="_blank"><?php _e('Buy now', 'adrotate'); ?>.</a><br />
26
<em><strong>Supports:</strong> Countries, States, State ISO codes, Cities and DMA codes.</em><br /><br />
27
+ <strong>AdRotate Geo</strong> - <?php _e('Free lookups every day, uses GeoLite2 databases from MaxMind!', 'adrotate'); ?><br />
28
<em><strong>Supports:</strong> Countries, Cities, DMA codes, States and State ISO codes.</em><br /><br />
29
</span>
30
</td>
31
</tr>
dashboard/settings/misc.php CHANGED
@@ -22,7 +22,7 @@
22
<?php if($adrotate_config['w3caching'] == "Y" AND !defined('W3TC_DYNAMIC_SECURITY')) { ?>
23
<tr>
24
<th valign="top"><?php _e('NOTICE:', 'adrotate'); ?></th>
25
- <td><span style="color:#f00;"><?php _e('You have enabled W3 Total Caching support but not defined the security hash. You need to add the following line to your wp-config.php near the bottom or below line 52 (which defines another hash.) Using the "late init" function needs to be enabled in W3 Total Cache as well too.', 'adrotate'); ?></span><br /><pre>define('W3TC_DYNAMIC_SECURITY', '<?php echo md5(rand(0,999)); ?>');</pre></td>
26
</tr>
27
<?php } ?>
28
<tr>
22
<?php if($adrotate_config['w3caching'] == "Y" AND !defined('W3TC_DYNAMIC_SECURITY')) { ?>
23
<tr>
24
<th valign="top"><?php _e('NOTICE:', 'adrotate'); ?></th>
25
+ <td><span style="color:#f00;"><?php _e('You have enabled W3 Total Caching support but not defined the security hash.', 'adrotate'); ?></span><br /><br /><?php _e('AdRotate has generated the following line for you to add to your wp-config.php around line 52 (below the WordPress nonces). If you do not know how to add this line, check out the following guide;', 'adrotate'); ?> <a href="https://ajdg.solutions/manuals/adrotate-manuals/caching-support/"><?php _e('Set up W3 Total Caching', 'adrotate'); ?></a>.<br /><pre>define('W3TC_DYNAMIC_SECURITY', '<?php echo md5(rand(0,999)); ?>');</pre></td>
26
</tr>
27
<?php } ?>
28
<tr>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://meandmymac.net/donate/?pk_campaign=adrotatefree-readme
4
Tags: ads, banner, commercial, admin, advertise, adrotator, plugin, random, rotator, ad, advertising, advertisement, block, blocks, advertiser, publisher, adsense, geo, geolocation, geotarget, chitika, clickbank, broadstreet, banner manager,advert manager, campaign manager, export, import, telize, maxmind, referrer, email, menu, statistics, stats, report, advert, adverts, popular, best, great, 2014, geoselect, geobytes, schedules, schedule, monetize, header, widget, javascript, jquery, tracking, clicks, impressions, rotate, zone, zones, sidebar, footer, content, posts, pages, 2015
5
Requires at least: 3.8
6
Tested up to: 4.4.2
7
- Stable tag: 3.15
8
License: GPLv3
9
10
The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
@@ -91,26 +91,16 @@ You can also post your questions on the [forum](https://ajdg.solutions/forums/?p
91
92
Be a Pro and go Pro. With [AdRotate Pro](https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-readme)!
93
94
- = 3.15 FREE =
95
- * [new] AdRotate error detection and status notifications
96
- * [new] Stats display for graphs now shows totals and CTR
97
- * [change] Updated bot filter keywords
98
- * [change] Reports display tweaks
99
- * [change] Impressions always tracked when using internal tracker
100
- * [fix] Advert evaluation cache not always accurate
101
-
102
- = 3.20 PRO =
103
- * [new] Archive function for adverts
104
- * [new] AdRotate error detection and status notifications
105
- * [new] Stats display for graphs now shows totals and CTR
106
- * [change] Regression: 30k free lookups via AdRotate Geo
107
- * [change] Updated bot filter keywords
108
- * [change] Removed “Adblock detection” feature
109
- * [change] Reports display tweaks
110
- * [change] Impressions always tracked when using internal tracker
111
- * [fix] Javascripts not always loaded in dashboard
112
- * [fix] Translations not always working
113
- * [fix] Advert evaluation cache not always accurate
114
115
All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?pk_campaign=adrotatefree-readme).
116
@@ -118,13 +108,10 @@ NOTE: Unsolicited offers, parnterships, job offers, promotional emails or produc
118
119
== Upgrade Notice ==
120
121
- = 3.15 FREE =
122
- * [new] AdRotate error detection and status notifications
123
- * [new] Stats display for graphs now shows totals and CTR
124
- * [change] Updated bot filter keywords
125
- * [change] Reports display tweaks
126
- * [change] Impressions always tracked when using internal tracker
127
- * [fix] Advert evaluation cache not always accurate
128
129
All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?pk_campaign=adrotatefree-readme).
130
4
Tags: ads, banner, commercial, admin, advertise, adrotator, plugin, random, rotator, ad, advertising, advertisement, block, blocks, advertiser, publisher, adsense, geo, geolocation, geotarget, chitika, clickbank, broadstreet, banner manager,advert manager, campaign manager, export, import, telize, maxmind, referrer, email, menu, statistics, stats, report, advert, adverts, popular, best, great, 2014, geoselect, geobytes, schedules, schedule, monetize, header, widget, javascript, jquery, tracking, clicks, impressions, rotate, zone, zones, sidebar, footer, content, posts, pages, 2015
5
Requires at least: 3.8
6
Tested up to: 4.4.2
7
+ Stable tag: 3.15.1
8
License: GPLv3
9
10
The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
91
92
Be a Pro and go Pro. With [AdRotate Pro](https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-readme)!
93
94
+ = 3.15.1 FREE =
95
+ * [fix] Error about W3 Total Cache not being active while it is
96
+ * [fix] Undefined variable output
97
+ * [fix] Path to banner image (logo) in some notifications
98
+
99
+ = 3.20.1 PRO =
100
+ * [fix] Daily stats not always showing for some adverts
101
+ * [fix] Error about W3 Total Cache not being active while it is
102
+ * [fix] Undefined variable output
103
+ * [fix] Path to banner image (logo) in some notifications
104
105
All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?pk_campaign=adrotatefree-readme).
106
108
109
== Upgrade Notice ==
110
111
+ = 3.15.1 FREE =
112
+ * [fix] Error about W3 Total Cache not being active while it is
113
+ * [fix] Undefined variable output
114
+ * [fix] Path to banner image (logo) in some notifications
115
116
All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?pk_campaign=adrotatefree-readme).
117