AdRotate Banner Manager - Version 5.6

Version Description

FREE = * [new] Support for HTML5 folder structures * [change] Asset dropdown menu no longer looks for flash files * [fix] Column width for Post Injection settings * [fix] Removed obsolete database options

Download this release

Release Info

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

Code changes from version 5.5.1 to 5.6

adrotate-functions.php CHANGED
@@ -575,53 +575,48 @@ function adrotate_dashboard_styles() {
575
  }
576
 
577
  /*-------------------------------------------------------------
578
- Name: adrotate_folder_contents
579
- Purpose: Populate dropdown menu for creating adverts with relevant assets
580
- Since: 0.4
581
  -------------------------------------------------------------*/
582
- function adrotate_folder_contents($current, $kind = 'all') {
583
- global $wpdb, $adrotate_config;
584
-
585
- $output = '';
586
- $asset_folder = WP_CONTENT_DIR."/".$adrotate_config['banner_folder'];
587
- $files = array();
588
 
589
- // Read Banner folder
590
- if($handle = opendir($asset_folder)) {
591
- if($kind == "image") {
592
- $extensions = array('jpg', 'jpeg', 'gif', 'png');
593
- } else if($kind == "html5") {
594
- $extensions = array('swf', 'flv', 'html', 'htm');
 
 
595
  } else {
596
- $extensions = array('jpg', 'jpeg', 'gif', 'png', 'swf', 'flv', 'html', 'htm');
 
 
 
 
597
  }
598
-
599
- while (false !== ($file = readdir($handle))) {
600
- if($file != "." AND $file != ".." AND $file != "index.php" AND $file != ".DS_Store" AND !is_dir($asset_folder.'/'.$file)) {
601
- $files[] = $file;
602
- }
603
- }
604
- closedir($handle);
605
-
606
- $i = count($files);
607
- if($i > 0) {
608
- sort($files);
609
- foreach($files as $file) {
610
- $fileinfo = pathinfo($file);
611
- if(in_array($fileinfo['extension'], $extensions)) {
612
- $output .= "<option value='".$file."'";
613
- if(($current == WP_CONTENT_URL.'/banners/'.$file) OR ($current == WP_CONTENT_URL."/%folder%/".$file)) { $output .= "selected"; }
614
- $output .= ">".$file."</option>";
615
  }
 
616
  }
617
- } else {
618
- $output .= "<option disabled>&nbsp;&nbsp;&nbsp;".__('No files found', 'adrotate')."</option>";
619
  }
620
- } else {
621
- $output .= "<option disabled>&nbsp;&nbsp;&nbsp;".__('Folder not found or not accessible', 'adrotate')."</option>";
622
  }
623
-
624
- return $output;
 
 
625
  }
626
 
627
  /*-------------------------------------------------------------
575
  }
576
 
577
  /*-------------------------------------------------------------
578
+ Name: adrotate_dropdown_folder_contents
579
+ Purpose: List folder contents for dropdown menu
580
+ Since: 5.6
581
  -------------------------------------------------------------*/
582
+ function adrotate_dropdown_folder_contents($base_dir, $extensions = array('jpg', 'jpeg', 'gif', 'png', 'html', 'htm', 'js'), $max_level = 1, $level = 0, $parent = '') {
583
+ $index = array();
 
 
 
 
584
 
585
+ // List the folders and files
586
+ foreach(scandir($base_dir) as $file) {
587
+ if($file == '.' || $file == '..' || $file == '.DS_Store' || $file == 'index.php') continue;
588
+
589
+ $dir = $base_dir.'/'.$file;
590
+ if(is_dir($dir)) {
591
+ if($level >= $max_level) continue;
592
+ $index[]= adrotate_dropdown_folder_contents($dir, array('html', 'htm'), $max_level, $level+1, $file);
593
  } else {
594
+ $fileinfo = pathinfo($file);
595
+ if(in_array($fileinfo['extension'], $extensions)) {
596
+ if($level > 0) $file = $parent.'/'.$file;
597
+ $index[]= $file;
598
+ }
599
  }
600
+ }
601
+ unset($file);
602
+
603
+ // Clean up and sort ascending
604
+ $items = array();
605
+ foreach($index as $key => $item) {
606
+ if(is_array($item)) {
607
+ unset($index[$key]);
608
+ if(count($item) > 0) {
609
+ foreach($item as $k => $v) {
610
+ $index[] = $v;
 
 
 
 
 
 
611
  }
612
+ unset($k, $v);
613
  }
 
 
614
  }
 
 
615
  }
616
+ unset($key, $item);
617
+ sort($index);
618
+
619
+ return $index;
620
  }
621
 
622
  /*-------------------------------------------------------------
adrotate-output.php CHANGED
@@ -674,18 +674,23 @@ function adrotate_notifications_dashboard() {
674
  if(isset($_GET['page'])) { $page = $_GET['page']; } else { $page = ''; }
675
 
676
  if(strpos($page, 'adrotate') !== false) {
 
677
  if(isset($_GET['hide']) AND $_GET['hide'] == 1) update_option('adrotate_hide_review', 1);
678
  if(isset($_GET['hide']) AND $_GET['hide'] == 2) update_option('adrotate_hide_competition', 1);
679
 
680
  // Get AdRotate Pro
681
- echo '<div class="updated" style="padding: 0; margin: 0;">';
682
- echo ' <div class="ajdg_notification">';
683
- echo ' <div class="button_div"><a class="button button_large" href="'.admin_url('admin.php?page=adrotate-pro').'">'.__('Get AdRotate Pro', 'adrotate').'</a></div>';
684
- echo ' <div class="text">'.__("Upgrade to <strong>AdRotate Professional</strong> and get features like Geo Targeting, Scheduling and more...", 'adrotate').'<br /><span>'.__('Use coupon code <b>getadrotatepro</b> and get a 10% discount on any AdRotate Professional license!', 'adrotate' ).' '.__('Thank you for your support!', 'adrotate' ).'</span></div>';
685
-
686
- echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
687
- echo ' </div>';
688
- echo '</div>';
 
 
 
 
689
 
690
  // Write a review
691
  $review_banner = get_option('adrotate_hide_review');
@@ -747,7 +752,7 @@ function adrotate_notifications_dashboard() {
747
  echo '<div class="updated" style="padding: 0; margin: 0; border: 0;">';
748
  echo ' <div class="ajdg_notification">';
749
  echo ' <div class="button_div"><a class="button" href="admin.php?page=adrotate&upgrade=1">Finish Update</a></div>';
750
- 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>';
751
 
752
  echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
753
  echo ' </div>';
@@ -837,7 +842,7 @@ function adrotate_action_links($links) {
837
  $custom_actions = array();
838
  $custom_actions['adrotate-pro'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/cart/?add-to-cart=1124', 'Get Pro');
839
  $custom_actions['adrotate-help'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/support/', 'Support');
840
- $custom_actions['adrotate-arnan'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://www.arnan.me/', 'arnan.me');
841
 
842
  return array_merge($custom_actions, $links);
843
  }
674
  if(isset($_GET['page'])) { $page = $_GET['page']; } else { $page = ''; }
675
 
676
  if(strpos($page, 'adrotate') !== false) {
677
+ if(isset($_GET['hide']) AND $_GET['hide'] == 0) update_option('adrotate_hide_getpro', adrotate_now() + (31 * DAY_IN_SECONDS));
678
  if(isset($_GET['hide']) AND $_GET['hide'] == 1) update_option('adrotate_hide_review', 1);
679
  if(isset($_GET['hide']) AND $_GET['hide'] == 2) update_option('adrotate_hide_competition', 1);
680
 
681
  // Get AdRotate Pro
682
+ $getpro_banner = get_option('adrotate_hide_getpro');
683
+ if($getpro_banner < adrotate_now()) {
684
+ echo '<div class="updated" style="padding: 0; margin: 0;">';
685
+ echo ' <div class="ajdg_notification">';
686
+ echo ' <div class="button_div"><a class="button button_large" href="'.admin_url('admin.php?page=adrotate-pro').'">'.__('Get AdRotate Pro', 'adrotate').'</a></div>';
687
+ echo ' <div class="text">'.__("Upgrade to <strong>AdRotate Professional</strong> and get features like Geo Targeting, Scheduling and more...", 'adrotate').'<br /><span>'.__('Use coupon code <b>getadrotatepro</b> and get a 10% discount on any AdRotate Professional license!', 'adrotate' ).' '.__('Thank you for your support!', 'adrotate' ).'</span></div>';
688
+
689
+ echo ' <a class="close_notification" href="admin.php?page=adrotate&hide=0"><img title="Close" src="'.plugins_url('/images/icon-close.png', __FILE__).'" alt=""/></a>';
690
+ echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
691
+ echo ' </div>';
692
+ echo '</div>';
693
+ }
694
 
695
  // Write a review
696
  $review_banner = get_option('adrotate_hide_review');
752
  echo '<div class="updated" style="padding: 0; margin: 0; border: 0;">';
753
  echo ' <div class="ajdg_notification">';
754
  echo ' <div class="button_div"><a class="button" href="admin.php?page=adrotate&upgrade=1">Finish Update</a></div>';
755
+ echo ' <div class="text">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>';
756
 
757
  echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
758
  echo ' </div>';
842
  $custom_actions = array();
843
  $custom_actions['adrotate-pro'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/cart/?add-to-cart=1124', 'Get Pro');
844
  $custom_actions['adrotate-help'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/support/', 'Support');
845
+ $custom_actions['adrotate-ajdg'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/', 'AJdG Solutions');
846
 
847
  return array_merge($custom_actions, $links);
848
  }
adrotate-setup.php CHANGED
@@ -66,8 +66,9 @@ function adrotate_activate_setup() {
66
  add_option('adrotate_geo_required', 0);
67
  add_option('adrotate_geo_requests', 0);
68
  add_option('adrotate_dynamic_required', 0);
69
- add_option('adrotate_hide_review', adrotate_now());
70
- add_option('adrotate_hide_competition', adrotate_now());
 
71
 
72
  // Install new database
73
  adrotate_database_install();
@@ -114,6 +115,7 @@ function adrotate_deactivate_setup() {
114
  adrotate_prepare_roles('remove');
115
  }
116
 
 
117
  update_option('adrotate_hide_review', adrotate_now());
118
  update_option('adrotate_hide_competition', adrotate_now());
119
 
@@ -167,15 +169,21 @@ function adrotate_uninstall_setup() {
167
  delete_option('adrotate_db_timer');
168
  delete_option('adrotate_db_version');
169
  delete_option('adrotate_debug');
 
170
  delete_option('adrotate_hide_review');
171
  delete_option('adrotate_hide_competition');
172
- delete_option('adrotate_hide_translation'); // Obsolete
173
  delete_option('adrotate_notifications');
174
  delete_option('adrotate_geo_required');
175
  delete_option('adrotate_geo_requests');
176
  delete_option('adrotate_dynamic_required');
177
  delete_option('adrotate_version');
178
 
 
 
 
 
 
 
179
  // Clear out userroles
180
  remove_role('adrotate_advertiser');
181
  }
@@ -752,6 +760,15 @@ function adrotate_core_upgrade() {
752
  }
753
  }
754
 
 
 
 
 
 
 
 
 
 
755
  update_option("adrotate_version", array('current' => ADROTATE_VERSION, 'previous' => $adrotate_version['current']));
756
  }
757
 
66
  add_option('adrotate_geo_required', 0);
67
  add_option('adrotate_geo_requests', 0);
68
  add_option('adrotate_dynamic_required', 0);
69
+ update_option('adrotate_hide_getpro', adrotate_now() + (14 * DAY_IN_SECONDS));
70
+ update_option('adrotate_hide_review', adrotate_now());
71
+ update_option('adrotate_hide_competition', adrotate_now());
72
 
73
  // Install new database
74
  adrotate_database_install();
115
  adrotate_prepare_roles('remove');
116
  }
117
 
118
+ update_option('adrotate_hide_getpro', adrotate_now() + (14 * DAY_IN_SECONDS));
119
  update_option('adrotate_hide_review', adrotate_now());
120
  update_option('adrotate_hide_competition', adrotate_now());
121
 
169
  delete_option('adrotate_db_timer');
170
  delete_option('adrotate_db_version');
171
  delete_option('adrotate_debug');
172
+ delete_option('adrotate_hide_getpro');
173
  delete_option('adrotate_hide_review');
174
  delete_option('adrotate_hide_competition');
 
175
  delete_option('adrotate_notifications');
176
  delete_option('adrotate_geo_required');
177
  delete_option('adrotate_geo_requests');
178
  delete_option('adrotate_dynamic_required');
179
  delete_option('adrotate_version');
180
 
181
+ delete_option('adrotate_hide_translation'); // Obsolete
182
+ delete_option('adrotate_hide_premium'); // Obsolete
183
+ delete_option('adrotate_hide_premium_2'); // Obsolete
184
+ delete_option('adrotate_hide_premium_3'); // Obsolete
185
+ delete_option('adrotate_hide_banner'); // Obsolete
186
+
187
  // Clear out userroles
188
  remove_role('adrotate_advertiser');
189
  }
760
  }
761
  }
762
 
763
+ // 5.6
764
+ if($adrotate_version['current'] < 394) {
765
+ delete_option('adrotate_hide_translation');
766
+ delete_option('adrotate_hide_premium');
767
+ delete_option('adrotate_hide_premium_2');
768
+ delete_option('adrotate_hide_premium_3');
769
+ delete_option('adrotate_hide_banner');
770
+ }
771
+
772
  update_option("adrotate_version", array('current' => ADROTATE_VERSION, 'previous' => $adrotate_version['current']));
773
  }
774
 
adrotate.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php
2
  /*
3
- Plugin Name: AdRotate
4
  Plugin URI: https://ajdg.solutions/products/adrotate-for-wordpress/
5
  Author: Arnan de Gans
6
  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
- Version: 5.5.1
10
  License: GPLv3
11
  */
12
 
@@ -21,8 +21,8 @@ License: GPLv3
21
  ------------------------------------------------------------------------------------ */
22
 
23
  /*--- AdRotate values ---------------------------------------*/
24
- define("ADROTATE_DISPLAY", '5.5.1');
25
- define("ADROTATE_VERSION", 393);
26
  define("ADROTATE_DB_VERSION", 65);
27
  $plugin_folder = plugin_dir_path(__FILE__);
28
  /*-----------------------------------------------------------*/
1
  <?php
2
  /*
3
+ Plugin Name: AdRotate Banner Manager
4
  Plugin URI: https://ajdg.solutions/products/adrotate-for-wordpress/
5
  Author: Arnan de Gans
6
  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
+ Version: 5.6
10
  License: GPLv3
11
  */
12
 
21
  ------------------------------------------------------------------------------------ */
22
 
23
  /*--- AdRotate values ---------------------------------------*/
24
+ define("ADROTATE_DISPLAY", '5.6');
25
+ define("ADROTATE_VERSION", 394);
26
  define("ADROTATE_DB_VERSION", 65);
27
  $plugin_folder = plugin_dir_path(__FILE__);
28
  /*-----------------------------------------------------------*/
dashboard/info.php CHANGED
@@ -94,7 +94,7 @@ $data = get_option("adrotate_advert_status");
94
  <div class="ajdg-postbox">
95
  <h2 class="ajdg-postbox-title"><?php _e('News & Updates', 'adrotate'); ?></h2>
96
  <div id="news" class="ajdg-postbox-content">
97
- <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 AJdG Solutions website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/2.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://ajdgsolutions.tumblr.com" title="AJdG Solutions on Tumblr" target="_blank"><img src="<?php echo plugins_url("/images/buttons/3.png", dirname(__FILE__)); ?>" alt="AJdG Solutions on Tumblr" /></a></center></p>
98
 
99
  <?php wp_widget_rss_output(array(
100
  'url' => 'http://ajdg.solutions/feed/',
94
  <div class="ajdg-postbox">
95
  <h2 class="ajdg-postbox-title"><?php _e('News & Updates', 'adrotate'); ?></h2>
96
  <div id="news" class="ajdg-postbox-content">
97
+ <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 AJdG Solutions website" target="_blank"><img src="<?php echo plugins_url("/images/buttons/2.png", dirname(__FILE__)); ?>" alt="AJdG Solutions website" /></a><a href="https://www.twitter.com/arnandegans" title="Arnan de Gans on Twitter" target="_blank"><img src="<?php echo plugins_url("/images/buttons/4.png", dirname(__FILE__)); ?>" alt="Arnan de Gans on Twitter" /></a><a href="https://ajdgsolutions.tumblr.com" title="AJdG Solutions on Tumblr" target="_blank"><img src="<?php echo plugins_url("/images/buttons/3.png", dirname(__FILE__)); ?>" alt="AJdG Solutions on Tumblr" /></a></center></p>
98
 
99
  <?php wp_widget_rss_output(array(
100
  'url' => 'http://ajdg.solutions/feed/',
dashboard/publisher/adverts-edit.php CHANGED
@@ -158,7 +158,14 @@ if($edit_banner) {
158
  <label for="adrotate_image_dropdown">
159
  <?php _e('Banner folder:', 'adrotate'); ?> <select tabindex="5" name="adrotate_image_dropdown" style="min-width: 200px;">
160
  <option value=""><?php _e('No image selected', 'adrotate'); ?></option>
161
- <?php echo adrotate_folder_contents($image_dropdown); ?>
 
 
 
 
 
 
 
162
  </select><br />
163
  </label>
164
  <em><?php _e('Use %asset% in the adcode instead of the file path.', 'adrotate'); ?> <?php _e('Use either the text field or the dropdown. If the textfield has content that field has priority.', 'adrotate'); ?></em>
@@ -242,7 +249,7 @@ if($edit_banner) {
242
  <td>
243
  <label for="adrotate_sday">
244
  <input tabindex="11" name="adrotate_start_hour" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $start_hour; ?>" autocomplete="off" /> :
245
- <input tabindex="12" name="adrotate_start_minute" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $end_minute; ?>" autocomplete="off" />
246
  </label>
247
  </td>
248
  <th><?php _e('End time', 'adrotate'); ?> (hh:mm)</th>
158
  <label for="adrotate_image_dropdown">
159
  <?php _e('Banner folder:', 'adrotate'); ?> <select tabindex="5" name="adrotate_image_dropdown" style="min-width: 200px;">
160
  <option value=""><?php _e('No image selected', 'adrotate'); ?></option>
161
+ <?php
162
+ $assets = adrotate_dropdown_folder_contents(WP_CONTENT_DIR."/".$adrotate_config['banner_folder'], array('jpg', 'jpeg', 'gif', 'png', 'html', 'htm'));
163
+ foreach($assets as $key => $option) {
164
+ echo "<option value=\"$option\"";
165
+ if($image_dropdown == WP_CONTENT_URL."/%folder%/".$option) { echo " selected"; }
166
+ echo ">$option</option>";
167
+ }
168
+ ?>
169
  </select><br />
170
  </label>
171
  <em><?php _e('Use %asset% in the adcode instead of the file path.', 'adrotate'); ?> <?php _e('Use either the text field or the dropdown. If the textfield has content that field has priority.', 'adrotate'); ?></em>
249
  <td>
250
  <label for="adrotate_sday">
251
  <input tabindex="11" name="adrotate_start_hour" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $start_hour; ?>" autocomplete="off" /> :
252
+ <input tabindex="12" name="adrotate_start_minute" class="ajdg-inputfield" type="text" size="2" maxlength="4" value="<?php echo $start_minute; ?>" autocomplete="off" />
253
  </label>
254
  </td>
255
  <th><?php _e('End time', 'adrotate'); ?> (hh:mm)</th>
dashboard/publisher/adverts-generator.php CHANGED
@@ -55,7 +55,11 @@ if($edit_banner) {
55
  <label for="adrotate_fullsize_dropdown">
56
  <select tabindex="1" id="adrotate_fullsize_dropdown" name="adrotate_fullsize_dropdown" style="min-width: 300px;">
57
  <option value=""><?php _e('Select advert image', 'adrotate'); ?></option>
58
- <?php echo adrotate_folder_contents('', 'image'); ?>
 
 
 
 
59
  </select> <?php _e('Is your file not listed? Upload it to the banners folder using (s)FTP.', 'adrotate'); ?>
60
  </label>
61
  </td>
55
  <label for="adrotate_fullsize_dropdown">
56
  <select tabindex="1" id="adrotate_fullsize_dropdown" name="adrotate_fullsize_dropdown" style="min-width: 300px;">
57
  <option value=""><?php _e('Select advert image', 'adrotate'); ?></option>
58
+ <?php
59
+ foreach(adrotate_dropdown_folder_contents(WP_CONTENT_DIR."/".$adrotate_config['banner_folder'], array('jpg', 'jpeg', 'gif', 'png'), 0) as $key => $option) {
60
+ echo "<option value=\"$option\">$option</option>";
61
+ }
62
+ ?>
63
  </select> <?php _e('Is your file not listed? Upload it to the banners folder using (s)FTP.', 'adrotate'); ?>
64
  </label>
65
  </td>
dashboard/publisher/groups-edit.php CHANGED
@@ -217,7 +217,7 @@ if($edit_group) {
217
 
218
  <div id="dashboard-widgets-wrap">
219
  <div id="dashboard-widgets" class="metabox-holder">
220
- <div id="left-column" class="postbox-container">
221
 
222
  <div class="ajdg-postbox">
223
  <h2 class="ajdg-postbox-title"><?php _e('Post Injection', 'adrotate'); ?></h2>
@@ -254,7 +254,7 @@ if($edit_group) {
254
  </div>
255
 
256
  </div>
257
- <div id="right-column" class="postbox-container">
258
 
259
  <div class="ajdg-postbox">
260
  <h2 class="ajdg-postbox-title"><?php _e('Page Injection', 'adrotate'); ?></h2>
217
 
218
  <div id="dashboard-widgets-wrap">
219
  <div id="dashboard-widgets" class="metabox-holder">
220
+ <div id="left-column" class="ajdg-postbox-container">
221
 
222
  <div class="ajdg-postbox">
223
  <h2 class="ajdg-postbox-title"><?php _e('Post Injection', 'adrotate'); ?></h2>
254
  </div>
255
 
256
  </div>
257
+ <div id="right-column" class="ajdg-postbox-container">
258
 
259
  <div class="ajdg-postbox">
260
  <h2 class="ajdg-postbox-title"><?php _e('Page Injection', 'adrotate'); ?></h2>
images/buttons/4.png ADDED
Binary file
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: https://www.arnan.me/donate.html
4
  Tags: adverts, ads, banners, advert manager, ad manager, banner manager, monetise, revenue, place banners, adsense, dfp, doubleclick, amazon, affiliate, referral
5
  Requires at least: 4.6
6
  Requires PHP: 5.6
7
- Tested up to: 5.2.3
8
- Stable tag: 5.5.1
9
  License: GPLv3
10
 
11
  Manage your adverts and campaigns the easy way! Monetise your website with AdRotate. AdRotate has everything you need while keeping things simple!
@@ -119,30 +119,32 @@ Yes! SMTP Mailer and similar plugins take over the wp_mail function which is wha
119
 
120
  == Upgrade Notice ==
121
 
122
- Fixes for i18n, more translation files, etc.
123
 
124
  == Changelog ==
125
 
126
  Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free)!
127
 
128
- = 5.5.1 FREE =
129
- * [i18n] Added several language mo files
130
- * [i18n] Renamed/converted en_US to proper pot file
131
-
132
- = 5.5 FREE =
133
- * [change] Removed many unused Debug code
134
- * [change] Tweaks to the installation script
135
- * [fix] Dashboard widgets
136
-
137
- = 5.5 PRO =
138
- * [new] Filter to prevent double adverts when using groups
139
- * [change] Removed many unused Debug code
140
- * [change] Tweaks to the installation script
141
- * [change] Better advert error state when no operating systems are selected
142
- * [change] Better advert error state when no devices are selected
143
- * [fix] Dashboard widgets
144
- * [i18n] Added missing strings in support dashboard
145
- * [i18n] Renamed/converted en_US to proper pot file
 
 
146
 
147
  All recent changes are available on the [AdRotate Banner Manager Changelog](https://ajdg.solutions/support/adrotate-development/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free).
148
 
4
  Tags: adverts, ads, banners, advert manager, ad manager, banner manager, monetise, revenue, place banners, adsense, dfp, doubleclick, amazon, affiliate, referral
5
  Requires at least: 4.6
6
  Requires PHP: 5.6
7
+ Tested up to: 5.2.4
8
+ Stable tag: 5.6
9
  License: GPLv3
10
 
11
  Manage your adverts and campaigns the easy way! Monetise your website with AdRotate. AdRotate has everything you need while keeping things simple!
119
 
120
  == Upgrade Notice ==
121
 
122
+ Better support for HTML5 adverts, dashboard fixes and a bit of a database clean-up.
123
 
124
  == Changelog ==
125
 
126
  Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free)!
127
 
128
+ = 5.6 FREE =
129
+ * [new] Support for HTML5 folder structures
130
+ * [change] Asset dropdown menu no longer looks for flash files
131
+ * [fix] Column width for Post Injection settings
132
+ * [fix] Removed obsolete database options
133
+
134
+ = 5.6 PRO =
135
+ * [new] Uploaded zip files are automatically extracted
136
+ * [new] Support for HTML5 folder structures
137
+ * [new] Support for Matomo Analytics Events tracking
138
+ * [change] Piwik support removed
139
+ * [change] Asset dropdown menu no longer looks for flash files
140
+ * [change] Dashboard indicator if your license expired or not
141
+ * [fix] Much improved API communications for updates
142
+ * [fix] Advert generator adding srcset attribute for single image adverts
143
+ * [fix] Correct display of license type in License tab
144
+ * [fix] Correct dates when creating new schedules
145
+ * [fix] Removed obsolete database options
146
+ * [api] Update requests are now cached for 12 hours
147
+ * [api] Faster and more reliable update checks
148
 
149
  All recent changes are available on the [AdRotate Banner Manager Changelog](https://ajdg.solutions/support/adrotate-development/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free).
150