AdRotate Banner Manager - Version 3.15.2

Version Description

FREE = * [change] 'Report' links are now 'Stats' to match AdRotate Pro * [change] More consistent use of plugins_url() * [change] More consistent use of dirname()

Download this release

Release Info

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

Code changes from version 3.15.1 to 3.15.2

adrotate-output.php CHANGED
@@ -724,7 +724,7 @@ function adrotate_notifications_dashboard() {
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
}
@@ -739,8 +739,8 @@ function adrotate_notifications_dashboard() {
739
echo ' <div class="adrotate_banner">';
740
echo ' <div class="button_div"><a class="button" target="_blank" href="https://ajdg.solutions/products/adrotate-for-wordpress/?add-to-cart=1126?pk_campaign=adrotatefree-upgradebanner">'.__('Buy now', 'adrotate').'</a></div>';
741
echo ' <div class="text">'.__("You've been using <strong>AdRotate</strong> for a while now. Why not upgrade to the <strong>PRO</strong> version", 'adrotate').'?<br /><span>'.__('Use discount code <b>getadrotatepro</b> for 10% off on any AdRotate license!', 'adrotate' ).' '.__('Thank you for your purchase!', 'adrotate' ).'</span></div>';
742
- echo ' <a class="close_banner" href="admin.php?page=adrotate-pro&hide=1"><img title="Close" src="'.plugins_url('images/icon-close.png', __FILE__).'" alt=""/></a>';
743
- echo ' <div class="icon"><img title="" src="'.plugins_url('images/logo-60x60.png', __FILE__).'" alt=""/></div>';
744
echo ' </div>';
745
echo '</div>';
746
}
@@ -751,8 +751,8 @@ function adrotate_notifications_dashboard() {
751
echo ' <div class="adrotate_banner">';
752
echo ' <div class="button_div"><a class="button" target="_blank" href="https://wordpress.org/support/view/plugin-reviews/adrotate?rate=5#postform">Rate AdRotate</a></div>';
753
echo ' <div class="text">If you like <strong>AdRotate</strong> please let the world know that you do. Thanks for your support!<br /><span>If you have questions, suggestions or something else that doesn\'t belong in a review, please <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?pk_campaign=adrotatefree-reviewbanner" target="_blank">get in touch</a>!</span></div>';
754
- echo ' <a class="close_banner" href="admin.php?page=adrotate&hide=2"><img title="Close" src="'.plugins_url('images/icon-close.png', __FILE__).'" alt=""/></a>';
755
- echo ' <div class="icon"><img title="" src="'.plugins_url('images/logo-60x60.png', __FILE__).'" alt=""/></div>';
756
echo ' </div>';
757
echo '</div>';
758
}
@@ -766,7 +766,7 @@ function adrotate_notifications_dashboard() {
766
echo ' <div class="adrotate_banner">';
767
echo ' <div class="button_div"><a class="button" href="admin.php?page=adrotate&upgrade=1">Update Now</a></div>';
768
echo ' <div class="text">You have almost finished upgrading <strong>AdRotate</strong> to version <strong>'.ADROTATE_DISPLAY.'</strong>!<br /><span>To complete the update click the button on the left. This may take a few seconds to complete!</span></div>';
769
- echo ' <div class="icon"><img title="" src="'.plugins_url('images/logo-60x60.png', __FILE__).'" alt=""/></div>';
770
echo ' </div>';
771
echo '</div>';
772
}
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
}
739
echo ' <div class="adrotate_banner">';
740
echo ' <div class="button_div"><a class="button" target="_blank" href="https://ajdg.solutions/products/adrotate-for-wordpress/?add-to-cart=1126?pk_campaign=adrotatefree-upgradebanner">'.__('Buy now', 'adrotate').'</a></div>';
741
echo ' <div class="text">'.__("You've been using <strong>AdRotate</strong> for a while now. Why not upgrade to the <strong>PRO</strong> version", 'adrotate').'?<br /><span>'.__('Use discount code <b>getadrotatepro</b> for 10% off on any AdRotate license!', 'adrotate' ).' '.__('Thank you for your purchase!', 'adrotate' ).'</span></div>';
742
+ echo ' <a class="close_banner" href="admin.php?page=adrotate-pro&hide=1"><img title="Close" src="'.plugins_url('/images/icon-close.png', __FILE__).'" alt=""/></a>';
743
+ echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
744
echo ' </div>';
745
echo '</div>';
746
}
751
echo ' <div class="adrotate_banner">';
752
echo ' <div class="button_div"><a class="button" target="_blank" href="https://wordpress.org/support/view/plugin-reviews/adrotate?rate=5#postform">Rate AdRotate</a></div>';
753
echo ' <div class="text">If you like <strong>AdRotate</strong> please let the world know that you do. Thanks for your support!<br /><span>If you have questions, suggestions or something else that doesn\'t belong in a review, please <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?pk_campaign=adrotatefree-reviewbanner" target="_blank">get in touch</a>!</span></div>';
754
+ echo ' <a class="close_banner" href="admin.php?page=adrotate&hide=2"><img title="Close" src="'.plugins_url('/images/icon-close.png', __FILE__).'" alt=""/></a>';
755
+ echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
756
echo ' </div>';
757
echo '</div>';
758
}
766
echo ' <div class="adrotate_banner">';
767
echo ' <div class="button_div"><a class="button" href="admin.php?page=adrotate&upgrade=1">Update Now</a></div>';
768
echo ' <div class="text">You have almost finished upgrading <strong>AdRotate</strong> to version <strong>'.ADROTATE_DISPLAY.'</strong>!<br /><span>To complete the update click the button on the left. This may take a few seconds to complete!</span></div>';
769
+ echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
770
echo ' </div>';
771
echo '</div>';
772
}
adrotate-setup.php CHANGED
@@ -894,8 +894,8 @@ function adrotate_core_upgrade() {
894
}
895
896
if($adrotate_version['current'] < 353) {
897
- if(!is_dir(ABSPATH.'/wp-content/plugins/adrotate/language')) {
898
- mkdir(ABSPATH.'/wp-content/plugins/adrotate/language', 0755);
899
}
900
}
901
894
}
895
896
if($adrotate_version['current'] < 353) {
897
+ if(!is_dir(dirname(__FILE__).'/language')) {
898
+ mkdir(dirname(__FILE__).'/language', 0755);
899
}
900
}
901
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.1
11
License: GPLv3
12
*/
13
@@ -22,19 +22,19 @@ License: GPLv3
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
- define("ADROTATE_DISPLAY", '3.15.1');
26
define("ADROTATE_VERSION", 380);
27
define("ADROTATE_DB_VERSION", 57);
28
/*-----------------------------------------------------------*/
29
30
/*--- Load Files --------------------------------------------*/
31
- include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-setup.php');
32
- include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-manage-publisher.php');
33
- include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-functions.php');
34
- include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-statistics.php');
35
- include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-export.php');
36
- include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-output.php');
37
- include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-widget.php');
38
/*-----------------------------------------------------------*/
39
40
/*--- Check and Load config ---------------------------------*/
@@ -102,13 +102,13 @@ function adrotate_dashboard() {
102
103
$adrotate_page = $adrotate_pro = $adrotate_adverts = $adrotate_groups = $adrotate_schedules = $adrotate_media = $adrotate_settings = '';
104
$adrotate_page = add_menu_page('AdRotate', 'AdRotate', 'adrotate_ad_manage', 'adrotate', 'adrotate_info', plugins_url('/images/icon-menu.png', __FILE__), '25.8');
105
- $adrotate_page = add_submenu_page('adrotate', 'AdRotate > '.__('General Info', 'adrotate'), __('General Info', 'adrotate'), 'adrotate_ad_manage', 'adrotate', 'adrotate_info');
106
- $adrotate_pro = add_submenu_page('adrotate', 'AdRotate > '.__('AdRotate Pro', 'adrotate'), __('AdRotate Pro', 'adrotate'), 'adrotate_ad_manage', 'adrotate-pro', 'adrotate_pro');
107
- $adrotate_adverts = add_submenu_page('adrotate', 'AdRotate > '.__('Manage Adverts', 'adrotate'), __('Manage Adverts', 'adrotate'), 'adrotate_ad_manage', 'adrotate-ads', 'adrotate_manage');
108
- $adrotate_groups = add_submenu_page('adrotate', 'AdRotate > '.__('Manage Groups', 'adrotate'), __('Manage Groups', 'adrotate'), 'adrotate_group_manage', 'adrotate-groups', 'adrotate_manage_group');
109
- $adrotate_schedules = add_submenu_page('adrotate', 'AdRotate > '.__('Manage Schedules', 'adrotate'), __('Manage Schedules', 'adrotate'), 'adrotate_ad_manage', 'adrotate-schedules', 'adrotate_manage_schedules');
110
- $adrotate_media = add_submenu_page('adrotate', 'AdRotate > '.__('Manage Media', 'adrotate'), __('Manage Media', 'adrotate'), 'adrotate_ad_manage', 'adrotate-media', 'adrotate_manage_media');
111
- $adrotate_settings = add_submenu_page('adrotate', 'AdRotate > '.__('Settings', 'adrotate'), __('Settings', 'adrotate'), 'manage_options', 'adrotate-settings', 'adrotate_options');
112
113
// Add help tabs
114
add_action('load-'.$adrotate_page, 'adrotate_help_info');
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.2
11
License: GPLv3
12
*/
13
22
------------------------------------------------------------------------------------ */
23
24
/*--- AdRotate values ---------------------------------------*/
25
+ define("ADROTATE_DISPLAY", '3.15.2');
26
define("ADROTATE_VERSION", 380);
27
define("ADROTATE_DB_VERSION", 57);
28
/*-----------------------------------------------------------*/
29
30
/*--- Load Files --------------------------------------------*/
31
+ include_once(dirname(__FILE__).'/adrotate-setup.php');
32
+ include_once(dirname(__FILE__).'/adrotate-manage-publisher.php');
33
+ include_once(dirname(__FILE__).'/adrotate-functions.php');
34
+ include_once(dirname(__FILE__).'/adrotate-statistics.php');
35
+ include_once(dirname(__FILE__).'/adrotate-export.php');
36
+ include_once(dirname(__FILE__).'/adrotate-output.php');
37
+ include_once(dirname(__FILE__).'/adrotate-widget.php');
38
/*-----------------------------------------------------------*/
39
40
/*--- Check and Load config ---------------------------------*/
102
103
$adrotate_page = $adrotate_pro = $adrotate_adverts = $adrotate_groups = $adrotate_schedules = $adrotate_media = $adrotate_settings = '';
104
$adrotate_page = add_menu_page('AdRotate', 'AdRotate', 'adrotate_ad_manage', 'adrotate', 'adrotate_info', plugins_url('/images/icon-menu.png', __FILE__), '25.8');
105
+ $adrotate_page = add_submenu_page('adrotate', 'AdRotate · '.__('General Info', 'adrotate'), __('General Info', 'adrotate'), 'adrotate_ad_manage', 'adrotate', 'adrotate_info');
106
+ $adrotate_pro = add_submenu_page('adrotate', 'AdRotate · '.__('AdRotate Pro', 'adrotate'), __('AdRotate Pro', 'adrotate'), 'adrotate_ad_manage', 'adrotate-pro', 'adrotate_pro');
107
+ $adrotate_adverts = add_submenu_page('adrotate', 'AdRotate · '.__('Manage Adverts', 'adrotate'), __('Manage Adverts', 'adrotate'), 'adrotate_ad_manage', 'adrotate-ads', 'adrotate_manage');
108
+ $adrotate_groups = add_submenu_page('adrotate', 'AdRotate · '.__('Manage Groups', 'adrotate'), __('Manage Groups', 'adrotate'), 'adrotate_group_manage', 'adrotate-groups', 'adrotate_manage_group');
109
+ $adrotate_schedules = add_submenu_page('adrotate', 'AdRotate · '.__('Manage Schedules', 'adrotate'), __('Manage Schedules', 'adrotate'), 'adrotate_ad_manage', 'adrotate-schedules', 'adrotate_manage_schedules');
110
+ $adrotate_media = add_submenu_page('adrotate', 'AdRotate · '.__('Manage Media', 'adrotate'), __('Manage Media', 'adrotate'), 'adrotate_ad_manage', 'adrotate-media', 'adrotate_manage_media');
111
+ $adrotate_settings = add_submenu_page('adrotate', 'AdRotate · '.__('Settings', 'adrotate'), __('Settings', 'adrotate'), 'manage_options', 'adrotate-settings', 'adrotate_options');
112
113
// Add help tabs
114
add_action('load-'.$adrotate_page, 'adrotate_help_info');
dashboard/adrotatepro.php CHANGED
@@ -20,28 +20,28 @@
20
<h3><?php _e('Satisfy your advertisers', 'adrotate'); ?></h3>
21
<div class="postbox-adrotate">
22
<div class="inside">
23
- <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/demo-satisfy.png" class="alignleft pro-image" /></a><?php _e('Set up advertisers and let them log in to their statistics or even create their own adverts. Created adverts go into a moderation queue for your staff to review. Advertisers have access to their own little dashboard where they can see their adverts performance.', 'adrotate'); ?></p>
24
</div>
25
</div>
26
27
<h3><?php _e('Mobile campaigns', 'adrotate'); ?></h3>
28
<div class="postbox-adrotate">
29
<div class="inside">
30
- <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/demo-mobile.png" class="alignleft pro-image" /></a><?php _e('Target mobile users with ease and show the right adverts to smartphones, tablets and computers. Mix and match as you please and offer adverts that suit the device. Create as many mobile adverts as you want without effort and with a few easy to use options they show up where you want them to!', 'adrotate'); ?></p>
31
</div>
32
</div>
33
34
<h3><?php _e('Localize your ad campaigns with Geo Targeting', 'adrotate'); ?></h3>
35
<div class="postbox-adrotate">
36
<div class="inside">
37
- <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/demo-geo-targeting.png" class="alignleft pro-image" /></a><?php _e('Go nationwide or global with localized adverts for your various audiences. Set up adverts for countries and cities and sell impressions per general area. Connect your site to MaxMind GeoIP2: Precision, Telize or AdRotate Geo. AdRotate Geo is an exclusive Geo Lookup service for AdRotate Pro users.', 'adrotate'); ?></p>
38
</div>
39
</div>
40
41
<h3><?php _e('Get Premium Support almost all year round', 'adrotate'); ?></h3>
42
<div class="postbox-adrotate">
43
<div class="inside">
44
- <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/demo-support.png" class="alignleft pro-image" /></a><?php _e('When you activate your AdRotate Pro license you can use fast and personal email support. No more queueing up in the forums. AdRotate premium support takes priority over the forums and is checked much more often than the forum. Get a solution (usually) within a day.', 'adrotate'); ?></p>
45
</div>
46
</div>
47
@@ -74,21 +74,21 @@
74
<h3><?php _e('Schedule all campaigns with ease', 'adrotate'); ?></h3>
75
<div class="postbox-adrotate">
76
<div class="inside">
77
- <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/demo-schedule.png" class="alignleft pro-image" /></a><?php _e('Schedule your adverts and set up advertising campaigns based on dates you or your advertisers specify without hassle. Seasonal adverts, weekly adverts. You name it, AdRotate schedules it. This makes planning your revenue stream much more easy. You can set one or many schedules for adverts.', 'adrotate'); ?></p>
78
</div>
79
</div>
80
81
<h3><?php _e('Avoid adblockers', 'adrotate'); ?></h3>
82
<div class="postbox-adrotate">
83
<div class="inside">
84
- <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/demo-adblock.png" class="alignleft pro-image" /></a><?php _e('Try and avoid adblockers so you adverts get the exposure you want them to have. AdRotate Pro offers some advanced tools to deceive adblockers so your adverts are less likely to be removed. Of-course make sure you create your adverts smartly so these features reach their full potential!', 'adrotate'); ?></p>
85
</div>
86
</div>
87
88
<h3><?php _e('Stay up-to-date with notifications', 'adrotate'); ?></h3>
89
<div class="postbox-adrotate">
90
<div class="inside">
91
- <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/demo-notifications.png" class="alignleft pro-image" /></a><?php _e('Stay in touch with Email notifications. Have AdRotate send you an alert when adverts expire or need your attention. Additionally, you can have AdRotate send push notifications to your iOS or Android smartphone. Get notified when adverts expire, have errors or when advertisers create new adverts. Never miss an expiration date again.', 'adrotate'); ?></p>
92
</div>
93
</div>
94
20
<h3><?php _e('Satisfy your advertisers', 'adrotate'); ?></h3>
21
<div class="postbox-adrotate">
22
<div class="inside">
23
+ <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo plugins_url('/images/demo-satisfy.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('Set up advertisers and let them log in to their statistics or even create their own adverts. Created adverts go into a moderation queue for your staff to review. Advertisers have access to their own little dashboard where they can see their adverts performance.', 'adrotate'); ?></p>
24
</div>
25
</div>
26
27
<h3><?php _e('Mobile campaigns', 'adrotate'); ?></h3>
28
<div class="postbox-adrotate">
29
<div class="inside">
30
+ <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo plugins_url('/images/demo-mobile.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('Target mobile users with ease and show the right adverts to smartphones, tablets and computers. Mix and match as you please and offer adverts that suit the device. Create as many mobile adverts as you want without effort and with a few easy to use options they show up where you want them to!', 'adrotate'); ?></p>
31
</div>
32
</div>
33
34
<h3><?php _e('Localize your ad campaigns with Geo Targeting', 'adrotate'); ?></h3>
35
<div class="postbox-adrotate">
36
<div class="inside">
37
+ <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo plugins_url('/images/demo-geo-targeting.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('Go nationwide or global with localized adverts for your various audiences. Set up adverts for countries and cities and sell impressions per general area. Connect your site to MaxMind GeoIP2: Precision, Telize or AdRotate Geo. AdRotate Geo is an exclusive Geo Lookup service for AdRotate Pro users.', 'adrotate'); ?></p>
38
</div>
39
</div>
40
41
<h3><?php _e('Get Premium Support almost all year round', 'adrotate'); ?></h3>
42
<div class="postbox-adrotate">
43
<div class="inside">
44
+ <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo plugins_url('/images/demo-support.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('When you activate your AdRotate Pro license you can use fast and personal email support. No more queueing up in the forums. AdRotate premium support takes priority over the forums and is checked much more often than the forum. Get a solution (usually) within a day.', 'adrotate'); ?></p>
45
</div>
46
</div>
47
74
<h3><?php _e('Schedule all campaigns with ease', 'adrotate'); ?></h3>
75
<div class="postbox-adrotate">
76
<div class="inside">
77
+ <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo plugins_url('/images/demo-schedule.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('Schedule your adverts and set up advertising campaigns based on dates you or your advertisers specify without hassle. Seasonal adverts, weekly adverts. You name it, AdRotate schedules it. This makes planning your revenue stream much more easy. You can set one or many schedules for adverts.', 'adrotate'); ?></p>
78
</div>
79
</div>
80
81
<h3><?php _e('Avoid adblockers', 'adrotate'); ?></h3>
82
<div class="postbox-adrotate">
83
<div class="inside">
84
+ <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo plugins_url('/images/demo-adblock.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('Try and avoid adblockers so you adverts get the exposure you want them to have. AdRotate Pro offers some advanced tools to deceive adblockers so your adverts are less likely to be removed. Of-course make sure you create your adverts smartly so these features reach their full potential!', 'adrotate'); ?></p>
85
</div>
86
</div>
87
88
<h3><?php _e('Stay up-to-date with notifications', 'adrotate'); ?></h3>
89
<div class="postbox-adrotate">
90
<div class="inside">
91
+ <p><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-propage" target="_blank"><img src="<?php echo plugins_url('/images/demo-notifications.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('Stay in touch with Email notifications. Have AdRotate send you an alert when adverts expire or need your attention. Additionally, you can have AdRotate send push notifications to your iOS or Android smartphone. Get notified when adverts expire, have errors or when advertisers create new adverts. Never miss an expiration date again.', 'adrotate'); ?></p>
92
</div>
93
</div>
94
dashboard/info.php CHANGED
@@ -78,7 +78,7 @@ $data = get_option("adrotate_advert_status");
78
<h3><?php _e('Buy AdRotate Professional', 'adrotate'); ?></h3>
79
<div class="postbox-adrotate">
80
<div class="inside">
81
- <a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-infopage&pk_kwd=compare_license"><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/adrotate-product.png" alt="adrotate-product" width="150" height="150" align="right" style="padding: 0 0 10px 10px;" /></a>
82
<p><h4><?php _e('Single License', 'adrotate'); ?> (&euro; 29.00)</h4><?php _e('For one WordPress installation.', 'adrotate'); ?> <a href="https://ajdg.solutions/cart/?add-to-cart=1124&pk_campaign=adrotatefree-infopage&pk_kwd=buy_single" target="_blank"><?php _e('Buy now', 'adrotate'); ?> &raquo;</a></p>
83
<p><h4><?php _e('Duo License', 'adrotate'); ?> (&euro; 39.00)</h4><?php _e('For two WordPress installations.', 'adrotate'); ?> <a href="https://ajdg.solutions/cart/?add-to-cart=1126&pk_campaign=adrotatefree-infopage&pk_kwd=buy_duo" target="_blank"><?php _e('Buy now', 'adrotate'); ?> &raquo;</a></p>
84
<p><h4><?php _e('Multi License', 'adrotate'); ?> (&euro; 99.00)</h4><?php _e(' For up to five WordPress installations.', 'adrotate'); ?> <a href="https://ajdg.solutions/cart/?add-to-cart=1128&pk_campaign=adrotatefree-infopage&pk_kwd=buy_multi" target="_blank"><?php _e('Buy now', 'adrotate'); ?> &raquo;</a></p>
@@ -96,35 +96,34 @@ $data = get_option("adrotate_advert_status");
96
</div>
97
</div>
98
99
- <h3><?php _e('AdRotate is brought to you by', 'adrotate'); ?></h3>
100
- <div class="postbox-adrotate">
101
- <div class="inside">
102
- <p><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/arnan-jungle.jpg" alt="Arnan de Gans" width="100" height="100" align="left" class="adrotate-photo" style="margin: 0 10px 0 0;" />
103
- <a href="http://meandmymac.net/?pk_campaign=adrotatefree-infopage" title="Arnan de Gans">Arnan de Gans</a> (<a href="https://ajdg.solutions/?pk_campaign=adrotatefree-infopage" title="Arnan de Gans">AJdG Solutions</a>) - <?php _e('Premium plugins, support and services for WordPress and WooCommerce! I am a digital nomad in the Philippines. Click on my name to find out more about me and what I am doing. Thanks for your support and for using my plugins!', 'adrotate'); ?></p>
104
- </div>
105
- </div>
106
-
107
</div>
108
</div>
109
110
<div id="postbox-container-3" class="postbox-container" style="width:50%;">
111
<div id="side-sortables" class="meta-box-sortables ui-sortable">
112
113
- <h3><?php _e('Get more features with AdRotate Pro', 'adrotate'); ?></h3>
114
<div class="postbox-adrotate">
115
<div class="inside">
116
- <p><img src="<?php echo WP_CONTENT_URL; ?>/plugins/adrotate/images/logo-60x60.png" alt="AdRotate logo" width="60" height="60" align="left" style="padding: 0 10px 10px 0;" /><?php _e('Benefit from extra features to reinforce your income with advertising campaigns. Make the most of your website with the powerful tools AdRotate Pro offers on top of the trusted features included in the free version.', 'adrotate'); ?> <?php _e('Want to know more about', 'adrotate'); ?> <a href="admin.php?page=adrotate-pro">AdRotate Pro</a>? <?php _e('Visit the', 'adrotate'); ?> <a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-infopage" target="_blank">AdRotate <?php _e('website', 'adrotate'); ?></a>.</p>
117
</div>
118
</div>
119
120
- <h3><?php _e('AdRotate News and Developer Blog', 'adrotate'); ?></h3>
121
<div class="postbox-adrotate">
122
<div class="inside">
123
<?php
124
- wp_widget_rss_output(array(
125
- 'url' => array('http://meandmymac.net/feed/', 'http://ajdg.solutions/feed/'),
126
- 'title' => 'News',
127
- 'items' => 6,
128
'show_summary' => 1,
129
'show_author' => 0,
130
'show_date' => 1)
78
<h3><?php _e('Buy AdRotate Professional', 'adrotate'); ?></h3>
79
<div class="postbox-adrotate">
80
<div class="inside">
81
+ <a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree-infopage&pk_kwd=compare_license"><img src="<?php echo plugins_url('/images/adrotate-product.png', dirname(__FILE__)); ?>" alt="adrotate-product" width="150" height="150" align="right" style="padding: 0 0 10px 10px;" /></a>
82
<p><h4><?php _e('Single License', 'adrotate'); ?> (&euro; 29.00)</h4><?php _e('For one WordPress installation.', 'adrotate'); ?> <a href="https://ajdg.solutions/cart/?add-to-cart=1124&pk_campaign=adrotatefree-infopage&pk_kwd=buy_single" target="_blank"><?php _e('Buy now', 'adrotate'); ?> &raquo;</a></p>
83
<p><h4><?php _e('Duo License', 'adrotate'); ?> (&euro; 39.00)</h4><?php _e('For two WordPress installations.', 'adrotate'); ?> <a href="https://ajdg.solutions/cart/?add-to-cart=1126&pk_campaign=adrotatefree-infopage&pk_kwd=buy_duo" target="_blank"><?php _e('Buy now', 'adrotate'); ?> &raquo;</a></p>
84
<p><h4><?php _e('Multi License', 'adrotate'); ?> (&euro; 99.00)</h4><?php _e(' For up to five WordPress installations.', 'adrotate'); ?> <a href="https://ajdg.solutions/cart/?add-to-cart=1128&pk_campaign=adrotatefree-infopage&pk_kwd=buy_multi" target="_blank"><?php _e('Buy now', 'adrotate'); ?> &raquo;</a></p>
96
</div>
97
</div>
98
99
</div>
100
</div>
101
102
<div id="postbox-container-3" class="postbox-container" style="width:50%;">
103
<div id="side-sortables" class="meta-box-sortables ui-sortable">
104
105
+ <h3><?php _e('AdRotate News', 'adrotate'); ?></h3>
106
<div class="postbox-adrotate">
107
<div class="inside">
108
+ <?php
109
+ wp_widget_rss_output('http://ajdg.solutions/feed/', array(
110
+ 'items' => 3,
111
+ 'show_summary' => 1,
112
+ 'show_author' => 0,
113
+ 'show_date' => 1)
114
+ );
115
+ ?>
116
</div>
117
</div>
118
119
+ <h3><?php _e('AdRotate is brought to you by', 'adrotate'); ?></h3>
120
<div class="postbox-adrotate">
121
<div class="inside">
122
+ <p><img src="<?php echo plugins_url('/images/arnan-jungle.jpg', dirname(__FILE__)); ?>" alt="Arnan de Gans" width="55" height="55" align="left" class="adrotate-photo" style="margin: 0 10px 0 0;" />
123
+ <a href="http://meandmymac.net/?pk_campaign=adrotatefree-infopage" title="Arnan de Gans">Arnan de Gans</a> (<a href="https://ajdg.solutions/?pk_campaign=adrotatefree-infopage" title="Arnan de Gans">AJdG Solutions</a>) - <?php _e('I am a digital nomad in the Philippines. Click on my name to find out more about me and what I am doing. Thanks for your support and for using my plugins!', 'adrotate'); ?></p>
124
<?php
125
+ wp_widget_rss_output('http://meandmymac.net/feed/', array(
126
+ 'items' => 2,
127
'show_summary' => 1,
128
'show_author' => 0,
129
'show_date' => 1)
dashboard/publisher/adverts-main.php CHANGED
@@ -84,7 +84,7 @@
84
<th class="check-column"><input type="checkbox" name="bannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
85
<td><center><?php echo $banner['id'];?></center></td>
86
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
87
- <td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=edit&ad='.$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> <?php if($adrotate_config['stats'] == 1) { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=report&ad='.$banner['id']);?>" title="<?php _e('Report', 'adrotate'); ?>"><?php _e('Report', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></span></td>
88
<td><center><?php echo $banner['weight']; ?></center></td>
89
<?php if($adrotate_config['stats'] == 1) { ?>
90
<?php if($banner['tracker'] == "Y") { ?>
84
<th class="check-column"><input type="checkbox" name="bannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
85
<td><center><?php echo $banner['id'];?></center></td>
86
<td><?php echo date_i18n("F d, Y", $banner['firstactive']);?><br /><span style="color: <?php echo adrotate_prepare_color($banner['lastactive']);?>;"><?php echo date_i18n("F d, Y", $banner['lastactive']);?></span></td>
87
+ <td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=edit&ad='.$banner['id']);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo stripslashes(html_entity_decode($banner['title']));?></a></strong> <?php if($adrotate_config['stats'] == 1) { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-ads&view=report&ad='.$banner['id']);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></span></td>
88
<td><center><?php echo $banner['weight']; ?></center></td>
89
<?php if($adrotate_config['stats'] == 1) { ?>
90
<?php if($banner['tracker'] == "Y") { ?>
dashboard/publisher/groups-main.php CHANGED
@@ -67,7 +67,7 @@
67
<tr class='<?php echo $class; ?>'>
68
<th class="check-column"><input type="checkbox" name="groupcheck[]" value="<?php echo $group->id; ?>" /></th>
69
<td><center><?php echo $group->id;?></center></td>
70
- <td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-groups&view=edit&group='.$group->id);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo $group->name;?></a></strong> <?php if($adrotate_config['stats'] == 1) { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-groups&view=report&group='.$group->id);?>" title="<?php _e('Report', 'adrotate'); ?>"><?php _e('Report', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php echo '<br /><span style="font-weight:bold;">'.__('Mode', 'adrotate').':</span> '.implode(', ', $modus); ?></span></td>
71
<td><center><?php echo $ads_in_group; ?></center></td>
72
<?php if($adrotate_config['stats'] == 1) { ?>
73
<td><center><?php echo $stats['impressions']; ?></center></td>
67
<tr class='<?php echo $class; ?>'>
68
<th class="check-column"><input type="checkbox" name="groupcheck[]" value="<?php echo $group->id; ?>" /></th>
69
<td><center><?php echo $group->id;?></center></td>
70
+ <td><strong><a class="row-title" href="<?php echo admin_url('/admin.php?page=adrotate-groups&view=edit&group='.$group->id);?>" title="<?php _e('Edit', 'adrotate'); ?>"><?php echo $group->name;?></a></strong> <?php if($adrotate_config['stats'] == 1) { ?>- <a href="<?php echo admin_url('/admin.php?page=adrotate-groups&view=report&group='.$group->id);?>" title="<?php _e('Stats', 'adrotate'); ?>"><?php _e('Stats', 'adrotate'); ?></a><?php } ?><span style="color:#999;"><?php echo '<br /><span style="font-weight:bold;">'.__('Mode', 'adrotate').':</span> '.implode(', ', $modus); ?></span></td>
71
<td><center><?php echo $ads_in_group; ?></center></td>
72
<?php if($adrotate_config['stats'] == 1) { ?>
73
<td><center><?php echo $stats['impressions']; ?></center></td>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: adegans
3
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.1
8
License: GPLv3
9
10
The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
@@ -61,7 +61,7 @@ NOTE: Certain features are exclusive to AdRotate PRO. Learn more about [AdRotate
61
62
Looking to switch from another plugin to AdRotate or AdRotate Pro? Check out [AdRotate Switch](https://wordpress.org/plugins/adrotate-switch/) and see if your current advertising plugin is compatible for migrating your data!
63
64
- NOTE: Unsolicited offers, parnterships, job offers, promotional emails or product offers to "enhance" my business or products through this site or any means are not appreciated and will most likely be ignored.
65
66
== Installation ==
67
@@ -91,27 +91,28 @@ 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.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
107
- NOTE: Unsolicited offers, parnterships, job offers, promotional emails or product offers to "enhance" my business or products through this site or any means are not appreciated and will most likely be ignored.
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
3
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.5
7
+ Stable tag: 3.15.2
8
License: GPLv3
9
10
The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
61
62
Looking to switch from another plugin to AdRotate or AdRotate Pro? Check out [AdRotate Switch](https://wordpress.org/plugins/adrotate-switch/) and see if your current advertising plugin is compatible for migrating your data!
63
64
+ NOTE: Unsolicited offers, partnerships, job offers, promotional emails or product offers to "enhance" my business or products through this site or any means are not appreciated and will most likely be ignored.
65
66
== Installation ==
67
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.2 FREE =
95
+ * [change] 'Report' links are now 'Stats' to match AdRotate Pro
96
+ * [change] More consistent use of plugins_url()
97
+ * [change] More consistent use of dirname()
98
99
+ = 3.20.2 PRO =
100
+ * [fix] AdRotate menu missing in Multisite super admin dashboard
101
+ * [fix] No requests made if you run out of lookups for AdRotate Geo
102
+ * [change] More logical stats display in advert and group reports
103
+ * [change] More consistent use of plugins_url()
104
+ * [change] More consistent use of dirname()
105
106
All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?pk_campaign=adrotatefree-readme).
107
108
+ NOTE: Unsolicited offers, partnerships, job offers, promotional emails or product offers to "enhance" my business or products through this site or any means are not appreciated and will most likely be ignored.
109
110
== Upgrade Notice ==
111
112
= 3.15.1 FREE =
113
+ * [change] 'Report' links are now 'Stats' to match AdRotate Pro
114
+ * [change] More consistent use of plugins_url()
115
+ * [change] More consistent use of dirname()
116
117
All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?pk_campaign=adrotatefree-readme).
118