Version Description
FREE = * [change] Updated demo banners * [change] Updated help tabs * [change] Updated action links
Download this release
Release Info
Developer | adegans |
Plugin | AdRotate Banner Manager |
Version | 4.14 |
Comparing to | |
See all releases |
Code changes from version 4.13.5 to 4.14
- adrotate-output.php +5 -5
- adrotate-setup.php +2 -2
- adrotate.php +2 -2
- dashboard/settings/geotargeting.php +6 -6
- readme.txt +13 -14
adrotate-output.php
CHANGED
@@ -812,7 +812,7 @@ function adrotate_help_info() {
|
|
812 |
'content' => '<h4>Thank you for using AdRotate</h4>'.
|
813 |
'<p>AdRotate is growing to be one of the most popular WordPress plugins for Advertising and is a household name for many companies around the world. AdRotate wouldn\'t be possible without your support and my life wouldn\'t be what it is today without your help.</p><p><em>- Arnan</em></p>'.
|
814 |
|
815 |
-
'<p><strong>Social:</strong> <a href="https://www.facebook.com/ajdgsolutions/" target="_blank">Facebook</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="https://www.arnan.me" target="_blank">arnan.me</a>.</p>'
|
816 |
)
|
817 |
);
|
818 |
$screen->add_help_tab(array(
|
@@ -825,7 +825,7 @@ function adrotate_help_info() {
|
|
825 |
|
826 |
'<p><strong>Media.net:</strong> <a href="https://ajdg.solutions/go/medianet/" target="_blank">Sign up for Media.net Contextual Adverts</a><br />Get 10% extra earnings commission for the first 3 months!</p>'.
|
827 |
|
828 |
-
'<p><strong>Social:</strong> <a href="https://www.facebook.com/ajdgsolutions/" target="_blank">Facebook</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="https://www.arnan.me" target="_blank">arnan.me</a>.</p>'.
|
829 |
|
830 |
'<p><small><em>These are affiliate links, using them supports the future of AdRotate!</em></small></p>'
|
831 |
)
|
@@ -836,9 +836,9 @@ function adrotate_help_info() {
|
|
836 |
'content' => '<h4>Get help using AdRotate</h4>'.
|
837 |
'<p>Everyone needs a little help sometimes. AdRotate has many guides and manuals as well as a Support Forum on the AdRotate website to get you going.</p>'.
|
838 |
|
839 |
-
'<p
|
840 |
|
841 |
-
'<p><strong>Social:</strong> <a href="https://www.facebook.com/ajdgsolutions/" target="_blank">Facebook</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="https://www.arnan.me" target="_blank">arnan.me</a>.</p>'
|
842 |
)
|
843 |
);
|
844 |
}
|
@@ -851,7 +851,7 @@ function adrotate_help_info() {
|
|
851 |
function adrotate_action_links($links) {
|
852 |
$custom_actions = array();
|
853 |
$custom_actions['adrotate-pro'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/cart/?add-to-cart=1124', 'Get Pro');
|
854 |
-
$custom_actions['adrotate-help'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/
|
855 |
$custom_actions['adrotate-arnan'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://www.arnan.me/', 'arnan.me');
|
856 |
|
857 |
return array_merge($custom_actions, $links);
|
812 |
'content' => '<h4>Thank you for using AdRotate</h4>'.
|
813 |
'<p>AdRotate is growing to be one of the most popular WordPress plugins for Advertising and is a household name for many companies around the world. AdRotate wouldn\'t be possible without your support and my life wouldn\'t be what it is today without your help.</p><p><em>- Arnan</em></p>'.
|
814 |
|
815 |
+
'<p><strong>Social:</strong> <a href="https://www.facebook.com/ajdgsolutions/" target="_blank">Facebook</a> & <a href="https://linkedin.com/in/arnandegans/" target="_blank">LinkedIn</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="https://www.arnan.me" target="_blank">arnan.me</a>.</p>'
|
816 |
)
|
817 |
);
|
818 |
$screen->add_help_tab(array(
|
825 |
|
826 |
'<p><strong>Media.net:</strong> <a href="https://ajdg.solutions/go/medianet/" target="_blank">Sign up for Media.net Contextual Adverts</a><br />Get 10% extra earnings commission for the first 3 months!</p>'.
|
827 |
|
828 |
+
'<p><strong>Social:</strong> <a href="https://www.facebook.com/ajdgsolutions/" target="_blank">Facebook</a> & <a href="https://linkedin.com/in/arnandegans/" target="_blank">LinkedIn</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="https://www.arnan.me" target="_blank">arnan.me</a>.</p>'.
|
829 |
|
830 |
'<p><small><em>These are affiliate links, using them supports the future of AdRotate!</em></small></p>'
|
831 |
)
|
836 |
'content' => '<h4>Get help using AdRotate</h4>'.
|
837 |
'<p>Everyone needs a little help sometimes. AdRotate has many guides and manuals as well as a Support Forum on the AdRotate website to get you going.</p>'.
|
838 |
|
839 |
+
'<p>Take a look at the <a href="https://ajdg.solutions/support/adrotate-manuals/" target="_blank">AdRotate Manuals</a> and the <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/" target="_blank">Support Forum</a>.</p>'.
|
840 |
|
841 |
+
'<p><strong>Social:</strong> <a href="https://www.facebook.com/ajdgsolutions/" target="_blank">Facebook</a> & <a href="https://linkedin.com/in/arnandegans/" target="_blank">LinkedIn</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="https://www.arnan.me" target="_blank">arnan.me</a>.</p>'
|
842 |
)
|
843 |
);
|
844 |
}
|
851 |
function adrotate_action_links($links) {
|
852 |
$custom_actions = array();
|
853 |
$custom_actions['adrotate-pro'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/cart/?add-to-cart=1124', 'Get Pro');
|
854 |
+
$custom_actions['adrotate-help'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/support/', 'Support');
|
855 |
$custom_actions['adrotate-arnan'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://www.arnan.me/', 'arnan.me');
|
856 |
|
857 |
return array_merge($custom_actions, $links);
|
adrotate-setup.php
CHANGED
@@ -351,7 +351,7 @@ function adrotate_dummy_data() {
|
|
351 |
|
352 |
if(is_null($no_ads) AND is_null($no_schedules) AND is_null($no_linkmeta)) {
|
353 |
// Demo ad 1
|
354 |
-
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo ad 468x60', 'bannercode' => '<a href=\"
|
355 |
$ad_id = $wpdb->insert_id;
|
356 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', 'daystarttime' => '0000', 'daystoptime' => '0000', 'day_mon' => 'Y', 'day_tue' => 'Y', 'day_wed' => 'Y', 'day_thu' => 'Y', 'day_fri' => 'Y', 'day_sat' => 'Y', 'day_sun' => 'Y'));
|
357 |
$schedule_id = $wpdb->insert_id;
|
@@ -359,7 +359,7 @@ function adrotate_dummy_data() {
|
|
359 |
unset($ad_id, $schedule_id);
|
360 |
|
361 |
// Demo ad 2
|
362 |
-
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo ad 200x200', 'bannercode' => '<a href=\"
|
363 |
$ad_id = $wpdb->insert_id;
|
364 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', 'daystarttime' => '0000', 'daystoptime' => '0000', 'day_mon' => 'Y', 'day_tue' => 'Y', 'day_wed' => 'Y', 'day_thu' => 'Y', 'day_fri' => 'Y', 'day_sat' => 'Y', 'day_sun' => 'Y'));
|
365 |
$schedule_id = $wpdb->insert_id;
|
351 |
|
352 |
if(is_null($no_ads) AND is_null($no_schedules) AND is_null($no_linkmeta)) {
|
353 |
// Demo ad 1
|
354 |
+
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo ad 468x60', 'bannercode' => '<a href=\"https:\/\/ajdg.solutions\"><img src=\"http://ajdg.solutions/assets/dummy-banners/adrotate-468x60.jpg\" /></a>', 'thetime' => $now, 'updated' => $now, 'author' => $current_user->user_login, 'imagetype' => '', 'image' => '', 'paid' => 'U', 'tracker' => 'N', 'show_everyone' => 'Y', 'desktop' => 'Y', 'mobile' => 'Y', 'tablet' => 'Y', 'os_ios' => 'Y', 'os_android' => 'Y', 'os_other' => 'Y', 'responsive' => 'N', 'type' => 'active', 'weight' => 6, 'budget' => 0, 'crate' => 0, 'irate' => 0, 'cities' => serialize(array()), 'countries' => serialize(array())));
|
355 |
$ad_id = $wpdb->insert_id;
|
356 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', 'daystarttime' => '0000', 'daystoptime' => '0000', 'day_mon' => 'Y', 'day_tue' => 'Y', 'day_wed' => 'Y', 'day_thu' => 'Y', 'day_fri' => 'Y', 'day_sat' => 'Y', 'day_sun' => 'Y'));
|
357 |
$schedule_id = $wpdb->insert_id;
|
359 |
unset($ad_id, $schedule_id);
|
360 |
|
361 |
// Demo ad 2
|
362 |
+
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo ad 200x200', 'bannercode' => '<a href=\"https:\/\/ajdg.solutions\"><img src=\"http://ajdg.solutions/assets/dummy-banners/adrotate-200x200.jpg\" /></a>', 'thetime' => $now, 'updated' => $now, 'author' => $current_user->user_login, 'imagetype' => '', 'image' => '', 'paid' => 'U', 'tracker' => 'N', 'show_everyone' => 'Y', 'desktop' => 'Y', 'mobile' => 'Y', 'tablet' => 'Y', 'os_ios' => 'Y', 'os_android' => 'Y', 'os_other' => 'Y', 'responsive' => 'N', 'type' => 'active', 'weight' => 6, 'budget' => 0, 'crate' => 0, 'irate' => 0, 'cities' => serialize(array()), 'countries' => serialize(array())));
|
363 |
$ad_id = $wpdb->insert_id;
|
364 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', 'daystarttime' => '0000', 'daystoptime' => '0000', 'day_mon' => 'Y', 'day_tue' => 'Y', 'day_wed' => 'Y', 'day_thu' => 'Y', 'day_fri' => 'Y', 'day_sat' => 'Y', 'day_sun' => 'Y'));
|
365 |
$schedule_id = $wpdb->insert_id;
|
adrotate.php
CHANGED
@@ -7,7 +7,7 @@ Author URI: https://www.arnan.me/
|
|
7 |
Description: AdRotate Banner Manager - Monetise your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 4.
|
11 |
License: GPLv3
|
12 |
*/
|
13 |
|
@@ -22,7 +22,7 @@ License: GPLv3
|
|
22 |
------------------------------------------------------------------------------------ */
|
23 |
|
24 |
/*--- AdRotate values ---------------------------------------*/
|
25 |
-
define("ADROTATE_DISPLAY", '4.
|
26 |
define("ADROTATE_VERSION", 392);
|
27 |
define("ADROTATE_DB_VERSION", 64);
|
28 |
$plugin_folder = plugin_dir_path(__FILE__);
|
7 |
Description: AdRotate Banner Manager - Monetise your website with adverts while keeping things simple. Start making money today!
|
8 |
Text Domain: adrotate
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 4.14
|
11 |
License: GPLv3
|
12 |
*/
|
13 |
|
22 |
------------------------------------------------------------------------------------ */
|
23 |
|
24 |
/*--- AdRotate values ---------------------------------------*/
|
25 |
+
define("ADROTATE_DISPLAY", '4.14');
|
26 |
define("ADROTATE_VERSION", 392);
|
27 |
define("ADROTATE_DB_VERSION", 64);
|
28 |
$plugin_folder = plugin_dir_path(__FILE__);
|
dashboard/settings/geotargeting.php
CHANGED
@@ -29,19 +29,19 @@
|
|
29 |
<option value="0" disabled="1">CloudFlare</option>
|
30 |
</select><br />
|
31 |
<span class="description">
|
32 |
-
<p><strong>AdRotate Geo</strong> - <?php _e('
|
33 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4/ipv6, Countries, Cities, DMA codes, States and State ISO (3166-2) codes.</em><br />
|
34 |
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for small to medium websites.', 'adrotate'); ?></em><br /><br />
|
35 |
|
36 |
-
<p><strong>
|
37 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4, Countries, Cities, DMA codes, States and State ISO (3166-2) codes.</em><br />
|
38 |
-
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for medium sized websites.', 'adrotate'); ?></em><br /><br />
|
39 |
|
40 |
-
<strong>MaxMind
|
41 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4/ipv6, Countries, States, State ISO (3166-2) codes, Cities and DMA codes.</em><br />
|
42 |
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for any size website as long as you have lookups.', 'adrotate'); ?></em><br /><br />
|
43 |
|
44 |
-
<strong>CloudFlare</strong> -
|
45 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4/ipv6, Countries.</em><br />
|
46 |
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for any size website.', 'adrotate'); ?></em>
|
47 |
</span>
|
@@ -51,7 +51,7 @@
|
|
51 |
<th valign="top"><?php _e('Geo Cookie Lifespan', 'adrotate'); ?></th>
|
52 |
<td>
|
53 |
<label for="adrotate_geo_cookie_life"><select name="adrotate_geo_cookie_life_disabled">
|
54 |
-
<option value="0" disabled>24 (<?php _e('Default', 'adrotate'); ?>)</option>
|
55 |
<option value="0" disabled>36</option>
|
56 |
<option value="0" disabled>48</option>
|
57 |
<option value="0" disabled>72</option>
|
29 |
<option value="0" disabled="1">CloudFlare</option>
|
30 |
</select><br />
|
31 |
<span class="description">
|
32 |
+
<p><strong>AdRotate Geo</strong> - <?php _e('20000 free lookups every day, uses GeoLite2 databases from MaxMind!', 'adrotate'); ?><br />
|
33 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4/ipv6, Countries, Cities, DMA codes, States and State ISO (3166-2) codes.</em><br />
|
34 |
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for small to medium websites.', 'adrotate'); ?></em><br /><br />
|
35 |
|
36 |
+
<p><strong>ipstack</strong> - <?php _e('10000 free lookups per month, requires account.', 'adrotate'); ?><br />
|
37 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4, Countries, Cities, DMA codes, States and State ISO (3166-2) codes.</em><br />
|
38 |
+
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for small to medium sized websites with a free account - Paid options available.', 'adrotate'); ?></em><br /><br />
|
39 |
|
40 |
+
<strong>MaxMind GeoIP2</strong> - <?php _e('The most accurate geo targeting available.', 'adrotate'); ?><br />
|
41 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4/ipv6, Countries, States, State ISO (3166-2) codes, Cities and DMA codes.</em><br />
|
42 |
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for any size website as long as you have lookups.', 'adrotate'); ?></em><br /><br />
|
43 |
|
44 |
+
<strong>CloudFlare</strong> - <?php _e('Basic geolocation included in every CloudFlare account.', 'adrotate'); ?><br />
|
45 |
<em><strong><?php _e('Supports:', 'adrotate'); ?></strong> ipv4/ipv6, Countries.</em><br />
|
46 |
<em><strong><?php _e('Scalability:', 'adrotate'); ?></strong> <?php _e('Suitable for any size website.', 'adrotate'); ?></em>
|
47 |
</span>
|
51 |
<th valign="top"><?php _e('Geo Cookie Lifespan', 'adrotate'); ?></th>
|
52 |
<td>
|
53 |
<label for="adrotate_geo_cookie_life"><select name="adrotate_geo_cookie_life_disabled">
|
54 |
+
<option value="0" disabled selected>24 (<?php _e('Default', 'adrotate'); ?>)</option>
|
55 |
<option value="0" disabled>36</option>
|
56 |
<option value="0" disabled>48</option>
|
57 |
<option value="0" disabled>72</option>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.arnan.me/donate.html
|
|
4 |
Tags: ads, advert, adsense, advertising, doubleclick, responsive adverts, ad manager, banner manager, advert manager, monetise, advertisement, banner
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.0
|
7 |
-
Stable tag: 4.
|
8 |
License: GPLv3
|
9 |
|
10 |
Monetise your website with adverts while keeping things simple. Start making money today!
|
@@ -82,7 +82,7 @@ Check out [AdRotate Switch](https://wordpress.org/plugins/adrotate-switch/) for
|
|
82 |
|
83 |
Installing the plugin is as easy as clicking "Install Now" from your dashboards plugin page.
|
84 |
|
85 |
-
For more detailed instructions check out the [installation steps](https://ajdg.solutions/
|
86 |
|
87 |
== Frequently Asked Questions ==
|
88 |
|
@@ -90,31 +90,30 @@ For more detailed instructions check out the [installation steps](https://ajdg.s
|
|
90 |
Maybe. Take a look at [AdRotate Switch](https://wordpress.org/plugins/adrotate-switch/) and see if your current advertising plugin is compatible for migrating your data!
|
91 |
|
92 |
= How do I use AdRotate =
|
93 |
-
There are [user guides](https://ajdg.solutions/
|
94 |
You can also post your questions on the [forum](https://ajdg.solutions/forums/)!
|
95 |
|
96 |
== Changelog ==
|
97 |
|
98 |
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/plugins/adrotate-for-wordpress/)!
|
99 |
|
100 |
-
= 4.
|
101 |
-
* [
|
102 |
-
* [change]
|
|
|
103 |
|
104 |
-
= 4.
|
105 |
-
* [
|
106 |
-
* [
|
107 |
-
* [
|
108 |
-
* [
|
109 |
-
* [
|
110 |
-
* [change] Dashboard tweaks
|
111 |
|
112 |
All recent changes are available on the [AdRotate website](https://ajdg.solutions/plugins/adrotate-for-wordpress/development/).
|
113 |
|
114 |
== Upgrade Notice ==
|
115 |
|
116 |
Updated readme, support documents and dashboard tweaks.
|
117 |
-
Get AdRotate Pro at a huge discount. Check out the [promotion details here](https://ajdg.solutions/2018/12/24/christmas-sale-for-adrotate-pro/).
|
118 |
|
119 |
== Screenshots ==
|
120 |
|
4 |
Tags: ads, advert, adsense, advertising, doubleclick, responsive adverts, ad manager, banner manager, advert manager, monetise, advertisement, banner
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.0
|
7 |
+
Stable tag: 4.14
|
8 |
License: GPLv3
|
9 |
|
10 |
Monetise your website with adverts while keeping things simple. Start making money today!
|
82 |
|
83 |
Installing the plugin is as easy as clicking "Install Now" from your dashboards plugin page.
|
84 |
|
85 |
+
For more detailed instructions check out the [installation steps](https://ajdg.solutions/support/adrotate-manuals/installing-adrotate-on-your-website/) on the AdRotate website.
|
86 |
|
87 |
== Frequently Asked Questions ==
|
88 |
|
90 |
Maybe. Take a look at [AdRotate Switch](https://wordpress.org/plugins/adrotate-switch/) and see if your current advertising plugin is compatible for migrating your data!
|
91 |
|
92 |
= How do I use AdRotate =
|
93 |
+
There are [user guides](https://ajdg.solutions/support/adrotate-manuals/) with every popular feature explained.
|
94 |
You can also post your questions on the [forum](https://ajdg.solutions/forums/)!
|
95 |
|
96 |
== Changelog ==
|
97 |
|
98 |
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/plugins/adrotate-for-wordpress/)!
|
99 |
|
100 |
+
= 4.14 FREE =
|
101 |
+
* [change] Updated demo banners
|
102 |
+
* [change] Updated help tabs
|
103 |
+
* [change] Updated action links
|
104 |
|
105 |
+
= 4.17 PRO =
|
106 |
+
* [change] AdRotate Geo auto-disables when overusing the API
|
107 |
+
* [change] Updated demo banners
|
108 |
+
* [change] Updated help tabs
|
109 |
+
* [change] Updated action links
|
110 |
+
* [fix] Improved PHP7 compatibility
|
|
|
111 |
|
112 |
All recent changes are available on the [AdRotate website](https://ajdg.solutions/plugins/adrotate-for-wordpress/development/).
|
113 |
|
114 |
== Upgrade Notice ==
|
115 |
|
116 |
Updated readme, support documents and dashboard tweaks.
|
|
|
117 |
|
118 |
== Screenshots ==
|
119 |
|