AdRotate Banner Manager - Version 3.15.7

Version Description

FREE = * [fix] Editing empty adverts losing settings before saving * [fix] Dashboard notifications not formatted properly

Download this release

Release Info

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

Code changes from version 3.15.6 to 3.15.7

adrotate-output.php CHANGED
@@ -766,7 +766,7 @@ function adrotate_notifications_dashboard() {
766
  $adrotate_version = get_option("adrotate_version");
767
  if($adrotate_db_version['current'] < ADROTATE_DB_VERSION OR $adrotate_version['current'] < ADROTATE_VERSION) {
768
  echo '<div class="updated" style="padding: 0; margin: 0; border: 0;">';
769
- echo ' <div class="adrotate_banner" style="background: url('.plugins_url('/images/update_bg.png', __FILE__).');">';
770
  echo ' <div class="button_div"><a class="button" href="admin.php?page=adrotate&upgrade=1">Finish Update</a></div>';
771
  echo ' <div class="text text_update">You have almost completed updating <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>';
772
  echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
766
  $adrotate_version = get_option("adrotate_version");
767
  if($adrotate_db_version['current'] < ADROTATE_DB_VERSION OR $adrotate_version['current'] < ADROTATE_VERSION) {
768
  echo '<div class="updated" style="padding: 0; margin: 0; border: 0;">';
769
+ echo ' <div class="ajdg_notification" style="background: url('.plugins_url('/images/update_bg.png', __FILE__).');">';
770
  echo ' <div class="button_div"><a class="button" href="admin.php?page=adrotate&upgrade=1">Finish Update</a></div>';
771
  echo ' <div class="text text_update">You have almost completed updating <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>';
772
  echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
adrotate.php CHANGED
@@ -7,7 +7,7 @@ Author URI: http://ajdg.solutions/?utm_campaign=homepage&utm_medium=plugin-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.6
11
  License: GPLv3
12
  */
13
 
@@ -22,7 +22,7 @@ License: GPLv3
22
  ------------------------------------------------------------------------------------ */
23
 
24
  /*--- AdRotate values ---------------------------------------*/
25
- define("ADROTATE_DISPLAY", '3.15.6');
26
  define("ADROTATE_VERSION", 383);
27
  define("ADROTATE_DB_VERSION", 58);
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.7
11
  License: GPLv3
12
  */
13
 
22
  ------------------------------------------------------------------------------------ */
23
 
24
  /*--- AdRotate values ---------------------------------------*/
25
+ define("ADROTATE_DISPLAY", '3.15.7');
26
  define("ADROTATE_VERSION", 383);
27
  define("ADROTATE_DB_VERSION", 58);
28
  /*-----------------------------------------------------------*/
dashboard/publisher/adverts-edit.php CHANGED
@@ -13,13 +13,14 @@ if(!$ad_edit_id) {
13
  $edit_id = $wpdb->get_var("SELECT `id` FROM `{$wpdb->prefix}adrotate` WHERE `type` = 'empty' ORDER BY `id` DESC LIMIT 1;");
14
  if($edit_id == 0) {
15
  $wpdb->insert($wpdb->prefix."adrotate", array('title' => '', 'bannercode' => '', 'thetime' => $now, 'updated' => $now, 'author' => $userdata->user_login, 'imagetype' => 'dropdown', 'image' => '', 'tracker' => 'N', 'desktop' => 'Y', 'mobile' => 'Y', 'tablet' => 'Y', 'responsive' => 'N', 'type' => 'empty', 'weight' => 6, 'sortorder' => 0, 'budget' => 0, 'crate' => 0, 'irate' => 0, 'cities' => serialize(array()), 'countries' => serialize(array())));
16
- $ad_edit_id = $wpdb->insert_id;
17
 
18
- $wpdb->insert($wpdb->prefix.'adrotate_schedule', array('name' => 'Schedule for ad '.$ad_edit_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', 'hourimpressions' => 0, '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'));
19
 
20
  $schedule_id = $wpdb->insert_id;
21
- $wpdb->insert($wpdb->prefix.'adrotate_linkmeta', array('ad' => $ad_edit_id, 'group' => 0, 'user' => 0, 'schedule' => $schedule_id));
22
  }
 
23
  }
24
 
25
  $edit_banner = $wpdb->get_row("SELECT * FROM `{$wpdb->prefix}adrotate` WHERE `id` = {$ad_edit_id};");
13
  $edit_id = $wpdb->get_var("SELECT `id` FROM `{$wpdb->prefix}adrotate` WHERE `type` = 'empty' ORDER BY `id` DESC LIMIT 1;");
14
  if($edit_id == 0) {
15
  $wpdb->insert($wpdb->prefix."adrotate", array('title' => '', 'bannercode' => '', 'thetime' => $now, 'updated' => $now, 'author' => $userdata->user_login, 'imagetype' => 'dropdown', 'image' => '', 'tracker' => 'N', 'desktop' => 'Y', 'mobile' => 'Y', 'tablet' => 'Y', 'responsive' => 'N', 'type' => 'empty', 'weight' => 6, 'sortorder' => 0, 'budget' => 0, 'crate' => 0, 'irate' => 0, 'cities' => serialize(array()), 'countries' => serialize(array())));
16
+ $edit_id = $wpdb->insert_id;
17
 
18
+ $wpdb->insert($wpdb->prefix.'adrotate_schedule', array('name' => 'Schedule for ad '.$edit_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', 'hourimpressions' => 0, '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'));
19
 
20
  $schedule_id = $wpdb->insert_id;
21
+ $wpdb->insert($wpdb->prefix.'adrotate_linkmeta', array('ad' => $edit_id, 'group' => 0, 'user' => 0, 'schedule' => $schedule_id));
22
  }
23
+ $ad_edit_id = $edit_id;
24
  }
25
 
26
  $edit_banner = $wpdb->get_row("SELECT * FROM `{$wpdb->prefix}adrotate` WHERE `id` = {$ad_edit_id};");
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://meandmymac.net/donate/?utm_campaign=donations&utm_medium=rea
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.6
7
- Stable tag: 3.15.6
8
  License: GPLv3
9
 
10
  The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
@@ -93,18 +93,17 @@ You can also post your questions on the [forum](https://ajdg.solutions/forums/?u
93
 
94
  Be a Pro and go Pro. With [AdRotate Pro](https://ajdg.solutions/products/adrotate-for-wordpress/?utm_campaign=adrotate-page&utm_medium=readme&utm_source=adrotate-free)!
95
 
 
 
 
 
96
  = 3.15.6 FREE =
97
  * [new] Manually run internal updater from maintenance
98
  * [change] Dashboard tweaks
99
  * [change] More distinct style for update banner and button
100
 
101
- = 3.15.5.2 FREE =
102
- * [change] WordPress 4.6 compatibility
103
-
104
- = 4.0.1 PRO =
105
- * [new] Manually run internal updater from maintenance
106
- * [change] Dashboard tweaks
107
- * [change] More distinct style for update banner and button
108
 
109
  All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?utm_campaign=development&utm_medium=readme&utm_source=adrotate-free).
110
 
@@ -112,10 +111,9 @@ NOTE: Unsolicited offers, parnterships, job offers, promotional emails or produc
112
 
113
  == Upgrade Notice ==
114
 
115
- = 3.15.6 FREE =
116
- * [new] Manually run internal updater from maintenance
117
- * [change] Dashboard tweaks
118
- * [change] More distinct style for update banner and button
119
 
120
  All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?utm_campaign=development&utm_medium=readme&utm_source=adrotate-free).
121
 
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.6
7
+ Stable tag: 3.15.7
8
  License: GPLv3
9
 
10
  The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
93
 
94
  Be a Pro and go Pro. With [AdRotate Pro](https://ajdg.solutions/products/adrotate-for-wordpress/?utm_campaign=adrotate-page&utm_medium=readme&utm_source=adrotate-free)!
95
 
96
+ = 3.15.7 FREE =
97
+ * [fix] Editing empty adverts losing settings before saving
98
+ * [fix] Dashboard notifications not formatted properly
99
+
100
  = 3.15.6 FREE =
101
  * [new] Manually run internal updater from maintenance
102
  * [change] Dashboard tweaks
103
  * [change] More distinct style for update banner and button
104
 
105
+ = 4.0.2 PRO =
106
+ * [fix] Dashboard notifications not formatted properly
 
 
 
 
 
107
 
108
  All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?utm_campaign=development&utm_medium=readme&utm_source=adrotate-free).
109
 
111
 
112
  == Upgrade Notice ==
113
 
114
+ = 3.15.7 FREE =
115
+ * [fix] Editing empty adverts losing settings before saving
116
+ * [fix] Dashboard notifications not formatted properly
 
117
 
118
  All recent changes are available on the [AdRotate website](https://ajdg.solutions/products/adrotate-for-wordpress/development/?utm_campaign=development&utm_medium=readme&utm_source=adrotate-free).
119