AdRotate Banner Manager - Version 4.13.2

Version Description

FREE = * [fix] T_STRING error on activation on PHP5.6 * [fix] Social links pointing to the wrong facebook account * [change] Removed Telegram as a contact option

Download this release

Release Info

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

Code changes from version 4.13.1 to 4.13.2

adrotate-manage-publisher.php CHANGED
@@ -11,7 +11,7 @@
11
12
/*-------------------------------------------------------------
13
Name: adrotate_generate_input
14
- Purpose: GEnerate advert code based on user input
15
Since: 4.5
16
-------------------------------------------------------------*/
17
function adrotate_generate_input() {
11
12
/*-------------------------------------------------------------
13
Name: adrotate_generate_input
14
+ Purpose: Generate advert code based on user input
15
Since: 4.5
16
-------------------------------------------------------------*/
17
function adrotate_generate_input() {
adrotate-output.php CHANGED
@@ -643,11 +643,6 @@ function adrotate_dashboard_error() {
643
}
644
645
// Caching
646
- /*
647
- if($adrotate_config['w3caching'] == "N" AND is_plugin_active('w3-total-cache/w3-total-cache.php')) {
648
- $error['w3tc_active'] = __('You are using W3 Total Cache but W3 Total Cache support is not enabled. This may affect rotation of adverts, statistics and other dynamic elements in the plugin.', 'adrotate').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('Enable W3 Total Cache Support', 'adrotate').'</a>.';
649
- }
650
- */
651
if($adrotate_config['w3caching'] == "Y" AND !is_plugin_active('w3-total-cache/w3-total-cache.php')) {
652
$error['w3tc_not_active'] = __('You have enabled caching support but W3 Total Cache is not active on your site!', 'adrotate').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('Disable W3 Total Cache Support', 'adrotate').'</a>.';
653
}
@@ -655,21 +650,16 @@ function adrotate_dashboard_error() {
655
$error['w3tc_no_hash'] = __('You have enable caching support but the W3TC_DYNAMIC_SECURITY definition is not set.', 'adrotate').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('How to configure W3 Total Cache', 'adrotate').'</a>.';
656
}
657
658
- /*
659
- if($adrotate_config['borlabscache'] == "N" AND is_plugin_active('borlabs-cache/borlabs-cache.php')) {
660
- $error['borlabs_active'] = __('You are using Borlabs Cache but Borlabs Cache support is not enabled. This may affect rotation of adverts, statistics and other dynamic elements in the plugin.', 'adrotate').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('Enable Borlabs Cache Support', 'adrotate').'</a>.';
661
- }
662
- */
663
- if($adrotate_config['borlabscache'] == "Y" AND !is_plugin_active('borlabs-cache/borlabs-cache.php')) {
664
- $error['borlabs_not_active'] = __('You have enable caching support but Borlabs Cache is not active on your site!', 'adrotate').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('Disable Borlabs Cache Support', 'adrotate').'</a>.';
665
}
666
- if(is_plugin_active('borlabs-cache/borlabs-cache.php')) {
667
$borlabscache = '';
668
if(class_exists('\Borlabs\Factory')) {
669
$borlabscache = \Borlabs\Factory::get('Cache\Config')->get('fragmentCaching');
670
}
671
if($adrotate_config['borlabscache'] == "Y" AND $borlabscache == '') {
672
- $error['borlabs_fragment_error'] = __('You have enabled Borlabs Cache support but Fragment caching is not enabled!', 'adrotate').' <a href="'.admin_url('/admin.php?page=borlabs-cache-fragments').'">'.__('Enable Fragment Caching', 'adrotate').'</a>.';
673
}
674
}
675
@@ -758,55 +748,6 @@ function adrotate_notifications_dashboard() {
758
echo '</div>';
759
}
760
}
761
-
762
- // Premium support
763
- $premium_banner = get_option('adrotate_hide_premium');
764
- if($premium_banner != 1 OR !$premium_banner) {
765
- if($premium_banner < (adrotate_now() - (12 * DAY_IN_SECONDS))) {
766
- echo '<div class="updated" style="padding: 0; margin: 0;">';
767
- echo ' <div class="ajdg_notification">';
768
- echo ' <div class="button_div"><a class="button button_large button_premium" target="_blank" href="https://ajdg.solutions/go/premium-support/">Premium Support</a></div>';
769
- echo ' <div class="text">Learn how to manage your adverts with AdRotate. Get <strong>exclusive access</strong>!<br /><span>Discover how to use AdRotate more efficiently and get better at making money with AdRotate!</span></div>';
770
-
771
- echo ' <a class="close_notification" href="admin.php?page=adrotate&hide=3"><img title="Close" src="'.plugins_url('/images/icon-close.png', __FILE__).'" alt=""/></a>';
772
-
773
- echo ' <div class="icon"><img title="" src="'.plugins_url('/images/ajdg-logo-60x60.png', __FILE__).'" alt=""/></div>';
774
- echo ' </div>';
775
- echo '</div>';
776
- }
777
- }
778
-
779
- $premium_banner = get_option('adrotate_hide_premium_2');
780
- if($premium_banner != 1 OR !$premium_banner) {
781
- if($premium_banner < (adrotate_now() - (16 * DAY_IN_SECONDS))) {
782
- echo '<div class="updated" style="padding: 0; margin: 0;">';
783
- echo ' <div class="ajdg_notification">';
784
- echo ' <div class="button_div"><a class="button button_large button_premium" target="_blank" href="https://ajdg.solutions/go/premium-support/">Exclusive Access</a></div>';
785
- echo ' <div class="text">Get <strong>premium support</strong> and chat directly with someone who knows. <strong>Sign up</strong> now!<br /><span>Discuss features, how they work. How to use them and how to make money with AdRotate!</span></div>';
786
-
787
- echo ' <a class="close_notification" href="admin.php?page=adrotate&hide=4"><img title="Close" src="'.plugins_url('/images/icon-close.png', __FILE__).'" alt=""/></a>';
788
-
789
- echo ' <div class="icon"><img title="" src="'.plugins_url('/images/ajdg-logo-60x60.png', __FILE__).'" alt=""/></div>';
790
- echo ' </div>';
791
- echo '</div>';
792
- }
793
- }
794
-
795
- $premium_banner = get_option('adrotate_hide_premium_3');
796
- if($premium_banner != 1) {
797
- if($premium_banner < (adrotate_now() - (20 * DAY_IN_SECONDS))) {
798
- echo '<div class="updated" style="padding: 0; margin: 0;">';
799
- echo ' <div class="ajdg_notification">';
800
- echo ' <div class="button_div"><a class="button button_large button_premium" target="_blank" href="https://ajdg.solutions/product/premium-support/">Sign up</a></div>';
801
- echo ' <div class="text">Become a member of the <strong>\'AJdG Solutions Premium Support\'</strong> group!<br /><span>Exclusive access to the oppurtunities <strong>AdRotate</strong> offers via Facebook for only &euro;29 monthly!</span></div>';
802
-
803
- echo ' <a class="close_notification" href="admin.php?page=adrotate&hide=5"><img title="Close" src="'.plugins_url('/images/icon-close.png', __FILE__).'" alt=""/></a>';
804
-
805
- echo ' <div class="icon"><img title="" src="'.plugins_url('/images/ajdg-logo-60x60.png', __FILE__).'" alt=""/></div>';
806
- echo ' </div>';
807
- echo '</div>';
808
- }
809
- }
810
}
811
}
812
@@ -870,8 +811,8 @@ function adrotate_help_info() {
870
'title' => 'AdRotate',
871
'content' => '<h4>Thank you for using AdRotate</h4>'.
872
'<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>'.
873
- '<p><strong>Facebook:</strong> <a href="https://www.facebook.com/ajdgpremiumsupport/" target="_blank">Facebook</a>. <strong>Business:</strong> <a href="https://ajdg.solutions/" target="_blank">ajdg.solutions</a>. <strong>Personal:</strong> <a href="http://www.arnan.me" target="_blank">arnan.me</a>.</p>'.
874
- '<p><strong>Useful Links:</strong> <a href="https://ajdg.solutions/manuals/adrotate-manuals/getting-started-with-adrotate/" target="_blank">Getting Started with AdRotate</a>, <a href="https://ajdg.solutions/manuals/adrotate-manuals/" target="_blank">AdRotate Manuals</a>, <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/" target="_blank">Support Forum</a>, <a href="https://ajdg.solutions/go/premium-support/" target="_blank">Premium Support</a>.</p>'
875
)
876
);
877
}
643
}
644
645
// Caching
646
if($adrotate_config['w3caching'] == "Y" AND !is_plugin_active('w3-total-cache/w3-total-cache.php')) {
647
$error['w3tc_not_active'] = __('You have enabled caching support but W3 Total Cache is not active on your site!', 'adrotate').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('Disable W3 Total Cache Support', 'adrotate').'</a>.';
648
}
650
$error['w3tc_no_hash'] = __('You have enable caching support but the W3TC_DYNAMIC_SECURITY definition is not set.', 'adrotate').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('How to configure W3 Total Cache', 'adrotate').'</a>.';
651
}
652
653
+ if($adrotate_config['borlabscache'] == "Y" AND !class_exists('\Borlabs\Factory') AND \Borlabs\Factory::get('Cache\Config')->get('cacheActivated') != 'yes') {
654
+ $error['borlabs_not_active'] = __('You have enable caching support but Borlabs Cache is not active on your site!', 'adrotate-pro').' <a href="'.admin_url('/admin.php?page=adrotate-settings&tab=misc').'">'.__('Disable Borlabs Cache Support', 'adrotate-pro').'</a>.';
655
}
656
+ if(class_exists('\Borlabs\Factory') AND \Borlabs\Factory::get('Cache\Config')->get('cacheActivated') == 'yes') {
657
$borlabscache = '';
658
if(class_exists('\Borlabs\Factory')) {
659
$borlabscache = \Borlabs\Factory::get('Cache\Config')->get('fragmentCaching');
660
}
661
if($adrotate_config['borlabscache'] == "Y" AND $borlabscache == '') {
662
+ $error['borlabs_fragment_error'] = __('You have enabled Borlabs Cache support but Fragment caching is not enabled!', 'adrotate-pro').' <a href="'.admin_url('/admin.php?page=borlabs-cache-fragments').'">'.__('Enable Fragment Caching', 'adrotate-pro').'</a>.';
663
}
664
}
665
748
echo '</div>';
749
}
750
}
751
}
752
}
753
811
'title' => 'AdRotate',
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
+ '<p><strong>Facebook:</strong> <a href="https://www.facebook.com/adegans/" 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>'.
815
+ '<p><strong>Useful Links:</strong> <a href="https://ajdg.solutions/manuals/adrotate-manuals/getting-started-with-adrotate/" target="_blank">Getting Started with AdRotate</a>, <a href="https://ajdg.solutions/manuals/adrotate-manuals/" target="_blank">AdRotate Manuals</a> and <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/" target="_blank">Support Forum</a>.</p>'
816
)
817
);
818
}
adrotate.php CHANGED
@@ -7,7 +7,7 @@ Author URI: https://www.arnan.me/
7
Description: Monetise your website with adverts while keeping things simple. Start making money today!
8
Text Domain: adrotate
9
Domain Path: /languages/
10
- Version: 4.13.1
11
License: GPLv3
12
*/
13
@@ -22,7 +22,7 @@ License: GPLv3
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
- define("ADROTATE_DISPLAY", '4.13.1');
26
define("ADROTATE_VERSION", 392);
27
define("ADROTATE_DB_VERSION", 64);
28
$plugin_folder = plugin_dir_path(__FILE__);
7
Description: Monetise your website with adverts while keeping things simple. Start making money today!
8
Text Domain: adrotate
9
Domain Path: /languages/
10
+ Version: 4.13.2
11
License: GPLv3
12
*/
13
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
+ define("ADROTATE_DISPLAY", '4.13.2');
26
define("ADROTATE_VERSION", 392);
27
define("ADROTATE_DB_VERSION", 64);
28
$plugin_folder = plugin_dir_path(__FILE__);
dashboard/adrotatepro.php CHANGED
@@ -48,7 +48,7 @@
48
<h3><?php _e('AdRotate is brought to you by', 'adrotate'); ?></h3>
49
<div class="postbox-ajdg">
50
<div class="inside">
51
- <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/1.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/2.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://www.facebook.com/ajdgpremiumsupport/" title="AJdG Solutions on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/buttons/4.png", dirname(__FILE__)); ?>" alt="AJdG Solutions on Facebook" /></a></center></p>
52
</div>
53
</div>
54
48
<h3><?php _e('AdRotate is brought to you by', 'adrotate'); ?></h3>
49
<div class="postbox-ajdg">
50
<div class="inside">
51
+ <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/1.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/2.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://www.facebook.com/adegans/" title="AJdG Solutions on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/buttons/4.png", dirname(__FILE__)); ?>" alt="AJdG Solutions on Facebook" /></a></center></p>
52
</div>
53
</div>
54
dashboard/info.php CHANGED
@@ -59,7 +59,7 @@ $partner = mt_rand(1,3);
59
<h3><?php _e('Arnan de Gans News & Updates', 'adrotate'); ?></h3>
60
<div class="postbox-ajdg">
61
<div class="inside">
62
- <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/1.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/2.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://www.facebook.com/ajdgpremiumsupport/" title="AJdG Solutions on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/buttons/4.png", dirname(__FILE__)); ?>" alt="AJdG Solutions on Facebook" /></a></center></p>
63
<?php wp_widget_rss_output(array(
64
'url' => 'http://ajdg.solutions/feed/',
65
'items' => 3,
@@ -99,23 +99,6 @@ $partner = mt_rand(1,3);
99
</div>
100
</div>
101
102
- <h3><?php _e('AJdG Solutions Premium Support Group', 'adrotate'); ?></h3>
103
- <div class="postbox-ajdg">
104
- <div class="inside">
105
- <a href="https://ajdg.solutions/go/premium-support/"><img src="<?php echo plugins_url('/images/ajdg-logo-60x60.png', dirname(__FILE__)); ?>" alt="adrotate-product" width="60" height="60" align="right" style="padding: 0 0 10px 10px;" /></a>
106
- <p>Get exclusive access and learn how to make more money with your website using AdRotate! Join now and become a member of the <strong>AJdG Solutions Premium Support</strong> group on Facebook.</p>
107
-
108
- <strong><u>Learn, discuss and improve!</u></strong>
109
- <p>- Where and how many adverts to place<br />
110
- - What to show on your sales page<br />
111
- - Discuss features and learn more about them<br />
112
- - Increase revenue with AdRotate</p>
113
-
114
- <strong><u>Join the <strong>AJdG Solutions Premium Support</strong> group!</u></strong><br />
115
- <p><a class="button-primary" href="https://ajdg.solutions/cart/?add-to-cart=54750" target="_blank">Subscribe now for &euro;29/month &raquo;</a>&nbsp;&nbsp;<a class="button" target="_blank" href="https://ajdg.solutions/go/premium-support/">Learn more &raquo;</a></p>
116
- </div>
117
- </div>
118
-
119
<h3><?php _e('Join the Media.net advertising network', 'adrotate'); ?></h3>
120
<div class="postbox-ajdg">
121
<div class="inside">
59
<h3><?php _e('Arnan de Gans News & Updates', 'adrotate'); ?></h3>
60
<div class="postbox-ajdg">
61
<div class="inside">
62
+ <p><center><a href="https://www.arnan.me" title="Visit Arnan's website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/1.png", dirname(__FILE__)); ?>" alt="Arnan de Gans website" /></a><a href="https://ajdg.solutions" title="Visit the AdRotate website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/2.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://www.facebook.com/adegans/" title="AJdG Solutions on Facebook" target="_blank"><img src="<?php echo plugins_url("/images/buttons/4.png", dirname(__FILE__)); ?>" alt="AJdG Solutions on Facebook" /></a></center></p>
63
<?php wp_widget_rss_output(array(
64
'url' => 'http://ajdg.solutions/feed/',
65
'items' => 3,
99
</div>
100
</div>
101
102
<h3><?php _e('Join the Media.net advertising network', 'adrotate'); ?></h3>
103
<div class="postbox-ajdg">
104
<div class="inside">
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.arnan.me/donate.html
4
Tags: ad, advert, adsense, advertising, doubleclick, responsive, ad rotator, ad manager, banner manager, advert manager, analytics, advertisement,
5
Requires at least: 3.8
6
Tested up to: 4.9
7
- Stable tag: 4.13.1
8
License: GPLv3
9
10
Monetise your website with adverts while keeping things simple. Start making money today!
@@ -98,25 +98,24 @@ You can also post your questions on the [forum](https://ajdg.solutions/forums/)!
98
99
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/plugins/adrotate-for-wordpress/)!
100
101
- = 4.13.1 FREE =
102
- * [fix] Premium Support promo listing the wrong price
103
* [fix] Social links pointing to the wrong facebook account
104
* [change] Removed Telegram as a contact option
105
106
- = 4.14 PRO =
107
- * [fix] Advertisers having control over their own permissions
108
- * [fix] AdRotate Geo not always using cookie when it should
109
- * [fix] Post Injection showing adverts in the wrong categories
110
- * [change] Migrate FreegeoIP to Ipstack (requires free account)
111
- * [change] Moved tracker for dynamic groups into Session Storage
112
113
All recent changes are available on the [AdRotate website](https://ajdg.solutions/plugins/adrotate-for-wordpress/development/).
114
115
== Upgrade Notice ==
116
117
- * [fix] Premium Support promo listing the wrong price
118
- * [fix] Social links pointing to the wrong facebook account
119
- * [change] Removed Telegram as a contact option
120
121
== Screenshots ==
122
4
Tags: ad, advert, adsense, advertising, doubleclick, responsive, ad rotator, ad manager, banner manager, advert manager, analytics, advertisement,
5
Requires at least: 3.8
6
Tested up to: 4.9
7
+ Stable tag: 4.13.2
8
License: GPLv3
9
10
Monetise your website with adverts while keeping things simple. Start making money today!
98
99
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/plugins/adrotate-for-wordpress/)!
100
101
+ = 4.13.2 FREE =
102
+ * [fix] T_STRING error on activation on PHP5.6
103
* [fix] Social links pointing to the wrong facebook account
104
* [change] Removed Telegram as a contact option
105
106
+ = 4.15 PRO =
107
+ * [fix] Group IDs not always passed properly
108
+ * [fix] Advertiser stats export not always working
109
+ * [fix] Social links pointing to the wrong facebook account
110
+ * [change] Removed Telegram as a contact option
111
+ * [change] Removed Pushover support
112
+ * [change] Removed Advertiser transactions
113
114
All recent changes are available on the [AdRotate website](https://ajdg.solutions/plugins/adrotate-for-wordpress/development/).
115
116
== Upgrade Notice ==
117
118
+ Bugfixes, improved social options and dashboard tweaks.
119
120
== Screenshots ==
121