Version Description
FREE = * [fix] Improved PHP7 compatibility * [fix] Sortable columns now properly assigned * [change] Dashboard tweaks
Download this release
Release Info
Developer | adegans |
Plugin | AdRotate Banner Manager |
Version | 4.3 |
Comparing to | |
See all releases |
Code changes from version 4.2 to 4.3
- adrotate-manage-publisher.php +3 -4
- adrotate.php +2 -2
- dashboard/info.php +20 -7
- dashboard/publisher/adverts-disabled.php +2 -2
- dashboard/publisher/adverts-main.php +2 -2
- dashboard/publisher/groups-edit.php +6 -6
- library/jquery.adrotate.tablesorter.js +2 -2
- readme.txt +16 -30
adrotate-manage-publisher.php
CHANGED
@@ -55,7 +55,8 @@ function adrotate_insert_input() {
|
|
55 |
if(isset($_POST['adrotate_tracker'])) $tracker = strip_tags(trim($_POST['adrotate_tracker'], "\t\n "));
|
56 |
|
57 |
// Misc variabled
|
58 |
-
$
|
|
|
59 |
if(isset($_POST['groupselect'])) $groups = $_POST['groupselect'];
|
60 |
if(isset($_POST['adrotate_type'])) $type = strip_tags(trim($_POST['adrotate_type'], "\t\n "));
|
61 |
|
@@ -135,13 +136,11 @@ function adrotate_insert_input() {
|
|
135 |
|
136 |
// Fetch group records for the ad
|
137 |
$groupmeta = $wpdb->get_results($wpdb->prepare("SELECT `group` FROM `{$wpdb->prefix}adrotate_linkmeta` WHERE `ad` = %d AND `user` = 0 AND `schedule` = 0;", $id));
|
|
|
138 |
foreach($groupmeta as $meta) {
|
139 |
$group_array[] = $meta->group;
|
140 |
}
|
141 |
|
142 |
-
if(empty($group_array)) $group_array = array();
|
143 |
-
if(empty($groups)) $groups = array();
|
144 |
-
|
145 |
// Add new groups to this ad
|
146 |
$insert = array_diff($groups, $group_array);
|
147 |
foreach($insert as &$value) {
|
55 |
if(isset($_POST['adrotate_tracker'])) $tracker = strip_tags(trim($_POST['adrotate_tracker'], "\t\n "));
|
56 |
|
57 |
// Misc variabled
|
58 |
+
$type = '';
|
59 |
+
$groups = array();
|
60 |
if(isset($_POST['groupselect'])) $groups = $_POST['groupselect'];
|
61 |
if(isset($_POST['adrotate_type'])) $type = strip_tags(trim($_POST['adrotate_type'], "\t\n "));
|
62 |
|
136 |
|
137 |
// Fetch group records for the ad
|
138 |
$groupmeta = $wpdb->get_results($wpdb->prepare("SELECT `group` FROM `{$wpdb->prefix}adrotate_linkmeta` WHERE `ad` = %d AND `user` = 0 AND `schedule` = 0;", $id));
|
139 |
+
$group_array = array();
|
140 |
foreach($groupmeta as $meta) {
|
141 |
$group_array[] = $meta->group;
|
142 |
}
|
143 |
|
|
|
|
|
|
|
144 |
// Add new groups to this ad
|
145 |
$insert = array_diff($groups, $group_array);
|
146 |
foreach($insert as &$value) {
|
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: 4.
|
11 |
License: GPLv3
|
12 |
*/
|
13 |
|
@@ -22,7 +22,7 @@ License: GPLv3
|
|
22 |
------------------------------------------------------------------------------------ */
|
23 |
|
24 |
/*--- AdRotate values ---------------------------------------*/
|
25 |
-
define("ADROTATE_DISPLAY", '4.
|
26 |
define("ADROTATE_VERSION", 389);
|
27 |
define("ADROTATE_DB_VERSION", 63);
|
28 |
$plugin_folder = plugin_dir_path(__FILE__);
|
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: 4.3
|
11 |
License: GPLv3
|
12 |
*/
|
13 |
|
22 |
------------------------------------------------------------------------------------ */
|
23 |
|
24 |
/*--- AdRotate values ---------------------------------------*/
|
25 |
+
define("ADROTATE_DISPLAY", '4.3');
|
26 |
define("ADROTATE_VERSION", 389);
|
27 |
define("ADROTATE_DB_VERSION", 63);
|
28 |
$plugin_folder = plugin_dir_path(__FILE__);
|
dashboard/info.php
CHANGED
@@ -49,7 +49,21 @@ $partner = mt_rand(1,3);
|
|
49 |
<p><strong><?php _e('Support AdRotate', 'adrotate'); ?></strong></p>
|
50 |
<p><?php _e('Consider writing a review if you like AdRotate. Also follow my Facebook page for updates about me and my plugins. Thank you!', 'adrotate'); ?><br />
|
51 |
<center><a class="button-primary" href="https://paypal.me/arnandegans/10usd" target="_blank">Donate $10 via Paypal</a> <a class="button" target="_blank" href="https://wordpress.org/support/plugin/adrotate/reviews/?rate=5#new-post">Write review on WordPress.org</a></center><br />
|
52 |
-
<a href="http://www.arnan.me/?pk_campaign=adrotate-free&pk_kwd=infopage" title="arnan.me - Nomadic in the Philippines"><img src="<?php echo plugins_url('/images/arnan-credits.jpg', dirname(__FILE__)); ?>" alt="Arnan de Gans" align="center" class="ajdg-photo" width="100%" /></a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
</td>
|
54 |
</tr>
|
55 |
</tbody>
|
@@ -101,18 +115,17 @@ $partner = mt_rand(1,3);
|
|
101 |
<div class="postbox-ajdg">
|
102 |
<div class="inside">
|
103 |
<center><a href="http://ajdg.link/medianet" target="_blank"><img src="<?php echo plugins_url("/images/medianet-large-$partner.jpg", dirname(__FILE__)); ?>" width="440" /></a></center>
|
104 |
-
<p>Media.net is the <strong>#2 largest contextual ads platform</strong> in the world that provides its publishers with an <strong>exclusive access to the Yahoo! Bing Network of advertisers and $6bn worth of search demand.</strong></p>
|
105 |
|
106 |
-
<p>Media.net <strong>ads are contextual</strong> and hence always relevant to your content. They are also <strong>native by design</strong> and highly customizable, delivering a great user experience and higher CTRs.</p>
|
107 |
|
108 |
<strong><u>Some of the benefits when joining Media.net</u></strong>
|
109 |
-
<p>You <strong>get your own Account Manager</strong> at Media.net who guides you every step of the way with suggestions that will help you max your revenue potential
|
110 |
-
Media.net is <strong>the #1 alternative to Google Adsense</strong> and works very well with whatever your current revenue strategy may be.</p>
|
111 |
|
112 |
<strong><u>Exclusive offer for AdRotate users</u></strong>
|
113 |
-
<p>As an AdRotate user, sign up with Media.net and you'll earn 10% more, over and above your regular earnings for your first 3 months. <strong>Sign up now!</strong></p>
|
114 |
|
115 |
-
<p><a class="button-primary" href="http://ajdg.link/medianet" target="_blank">
|
116 |
</div>
|
117 |
</div>
|
118 |
|
49 |
<p><strong><?php _e('Support AdRotate', 'adrotate'); ?></strong></p>
|
50 |
<p><?php _e('Consider writing a review if you like AdRotate. Also follow my Facebook page for updates about me and my plugins. Thank you!', 'adrotate'); ?><br />
|
51 |
<center><a class="button-primary" href="https://paypal.me/arnandegans/10usd" target="_blank">Donate $10 via Paypal</a> <a class="button" target="_blank" href="https://wordpress.org/support/plugin/adrotate/reviews/?rate=5#new-post">Write review on WordPress.org</a></center><br />
|
52 |
+
<a href="http://www.arnan.me/?pk_campaign=adrotate-free&pk_kwd=infopage" title="arnan.me - Nomadic in the Philippines"><img src="<?php echo plugins_url('/images/arnan-credits.jpg', dirname(__FILE__)); ?>" alt="Arnan de Gans" align="center" class="ajdg-photo" width="100%" /></a><br />
|
53 |
+
<script>(function(d, s, id) {
|
54 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
55 |
+
if (d.getElementById(id)) return;
|
56 |
+
js = d.createElement(s); js.id = id;
|
57 |
+
js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
|
58 |
+
fjs.parentNode.insertBefore(js, fjs);
|
59 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
60 |
+
<p><center><div class="fb-page"
|
61 |
+
data-href="https://www.facebook.com/Arnandegans"
|
62 |
+
data-width="490"
|
63 |
+
data-adapt-container-width="true"
|
64 |
+
data-hide-cover="false"
|
65 |
+
data-show-facepile="false">
|
66 |
+
</div></center></p>
|
67 |
</td>
|
68 |
</tr>
|
69 |
</tbody>
|
115 |
<div class="postbox-ajdg">
|
116 |
<div class="inside">
|
117 |
<center><a href="http://ajdg.link/medianet" target="_blank"><img src="<?php echo plugins_url("/images/medianet-large-$partner.jpg", dirname(__FILE__)); ?>" width="440" /></a></center>
|
118 |
+
<p><a href="http://ajdg.link/medianet" target="_blank">Media.net</a> is the <strong>#2 largest contextual ads platform</strong> in the world that provides its publishers with an <strong>exclusive access to the Yahoo! Bing Network of advertisers and $6bn worth of search demand.</strong></p>
|
119 |
|
120 |
+
<p><a href="http://ajdg.link/medianet" target="_blank">Media.net</a> <strong>ads are contextual</strong> and hence always relevant to your content. They are also <strong>native by design</strong> and highly customizable, delivering a great user experience and higher CTRs.</p>
|
121 |
|
122 |
<strong><u>Some of the benefits when joining Media.net</u></strong>
|
123 |
+
<p>You <strong>get your own Account Manager</strong> at <a href="http://ajdg.link/medianet" target="_blank">Media.net</a> who guides you every step of the way with suggestions that will help you max your revenue potential. <a href="http://ajdg.link/medianet" target="_blank">Media.net</a> is <strong>the #1 alternative to Google Adsense</strong> and works very well with whatever your current revenue strategy may be.</p>
|
|
|
124 |
|
125 |
<strong><u>Exclusive offer for AdRotate users</u></strong>
|
126 |
+
<p>As an AdRotate user, sign up with <a href="http://ajdg.link/medianet" target="_blank">Media.net</a> and you'll earn 10% more, over and above your regular earnings for your first 3 months. <strong>Sign up now!</strong></p>
|
127 |
|
128 |
+
<p><a class="button-primary" href="http://ajdg.link/medianet" target="_blank">Sign up with Media.net now »</a> <a class="button" target="_blank" href="http://ajdg.link/medianet">Learn more »</a></p>
|
129 |
</div>
|
130 |
</div>
|
131 |
|
dashboard/publisher/adverts-disabled.php
CHANGED
@@ -33,8 +33,8 @@
|
|
33 |
<tr>
|
34 |
<td scope="col" class="manage-column column-cb check-column"><input type="checkbox" /></td>
|
35 |
<th width="2%"><center><?php _e('ID', 'adrotate'); ?></center></th>
|
36 |
-
<th><?php _e('Name', 'adrotate'); ?></th>
|
37 |
<th width="15%"><?php _e('Start / End', 'adrotate'); ?></th>
|
|
|
38 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
39 |
<th width="5%"><center><?php _e('Shown', 'adrotate'); ?></center></th>
|
40 |
<th width="5%"><center><?php _e('Clicks', 'adrotate'); ?></center></th>
|
@@ -65,8 +65,8 @@
|
|
65 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
66 |
<th class="check-column"><input type="checkbox" name="disabledbannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
67 |
<td><center><?php echo $banner['id'];?></center></td>
|
68 |
-
<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> - <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><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></td>
|
69 |
<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>
|
|
|
70 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
71 |
<?php if($banner['tracker'] == "Y") { ?>
|
72 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
33 |
<tr>
|
34 |
<td scope="col" class="manage-column column-cb check-column"><input type="checkbox" /></td>
|
35 |
<th width="2%"><center><?php _e('ID', 'adrotate'); ?></center></th>
|
|
|
36 |
<th width="15%"><?php _e('Start / End', 'adrotate'); ?></th>
|
37 |
+
<th><?php _e('Name', 'adrotate'); ?></th>
|
38 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
39 |
<th width="5%"><center><?php _e('Shown', 'adrotate'); ?></center></th>
|
40 |
<th width="5%"><center><?php _e('Clicks', 'adrotate'); ?></center></th>
|
65 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
66 |
<th class="check-column"><input type="checkbox" name="disabledbannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
67 |
<td><center><?php echo $banner['id'];?></center></td>
|
|
|
68 |
<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>
|
69 |
+
<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> - <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><span style="color:#999;"><?php if(strlen($grouplist) > 0) echo '<br /><span style="font-weight:bold;">'.__('Groups:', 'adrotate').'</span> '.$grouplist; ?></td>
|
70 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
71 |
<?php if($banner['tracker'] == "Y") { ?>
|
72 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
dashboard/publisher/adverts-main.php
CHANGED
@@ -37,8 +37,8 @@
|
|
37 |
<tr>
|
38 |
<td scope="col" class="manage-column column-cb check-column"><input type="checkbox" /></td>
|
39 |
<th width="2%"><center><?php _e('ID', 'adrotate'); ?></center></th>
|
40 |
-
<th><?php _e('Name', 'adrotate'); ?></th>
|
41 |
<th width="15%"><?php _e('Start / End', 'adrotate'); ?></th>
|
|
|
42 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
43 |
<th width="5%"><center><?php _e('Shown', 'adrotate'); ?></center></th>
|
44 |
<th width="5%"><center><?php _e('Today', 'adrotate'); ?></center></th>
|
@@ -77,8 +77,8 @@
|
|
77 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
78 |
<th class="check-column"><input type="checkbox" name="bannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
79 |
<td><center><?php echo $banner['id'];?></center></td>
|
80 |
-
<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>
|
81 |
<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>
|
|
|
82 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
83 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
84 |
<td><center><?php echo $stats_today['impressions']; ?></center></td>
|
37 |
<tr>
|
38 |
<td scope="col" class="manage-column column-cb check-column"><input type="checkbox" /></td>
|
39 |
<th width="2%"><center><?php _e('ID', 'adrotate'); ?></center></th>
|
|
|
40 |
<th width="15%"><?php _e('Start / End', 'adrotate'); ?></th>
|
41 |
+
<th><?php _e('Name', 'adrotate'); ?></th>
|
42 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
43 |
<th width="5%"><center><?php _e('Shown', 'adrotate'); ?></center></th>
|
44 |
<th width="5%"><center><?php _e('Today', 'adrotate'); ?></center></th>
|
77 |
<tr id='adrotateindex' class='<?php echo $class; ?>'>
|
78 |
<th class="check-column"><input type="checkbox" name="bannercheck[]" value="<?php echo $banner['id']; ?>" /></th>
|
79 |
<td><center><?php echo $banner['id'];?></center></td>
|
|
|
80 |
<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>
|
81 |
+
<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>
|
82 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
83 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
84 |
<td><center><?php echo $stats_today['impressions']; ?></center></td>
|
dashboard/publisher/groups-edit.php
CHANGED
@@ -327,12 +327,12 @@ if(!is_array($meta_array)) $meta_array = array();
|
|
327 |
<tr>
|
328 |
<td scope="col" class="manage-column column-cb check-column"><input type="checkbox" /></td>
|
329 |
<th><?php _e('Choose adverts', 'adrotate'); ?></th>
|
|
|
|
|
330 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
331 |
<th width="5%"><center><?php _e('Shown', 'adrotate'); ?></center></th>
|
332 |
<th width="5%"><center><?php _e('Clicks', 'adrotate'); ?></center></th>
|
333 |
<?php } ?>
|
334 |
-
<th width="5%"><center><?php _e('Weight', 'adrotate'); ?></center></th>
|
335 |
-
<th width="15%"><?php _e('Visible until', 'adrotate'); ?></th>
|
336 |
</tr>
|
337 |
</thead>
|
338 |
|
@@ -357,17 +357,17 @@ if(!is_array($meta_array)) $meta_array = array();
|
|
357 |
<tr class='<?php echo $class; ?>'>
|
358 |
<th class="check-column" width="2%"><input type="checkbox" name="adselect[]" value="<?php echo $ad->id; ?>" <?php if(in_array($ad->id, $meta_array)) echo "checked"; ?> /></th>
|
359 |
<td><?php echo $ad->id; ?> - <strong><?php echo stripslashes(html_entity_decode($ad->title)); ?></strong></td>
|
|
|
|
|
360 |
<?php if($adrotate_config['stats'] == 1) {
|
361 |
if($ad->tracker == 'Y') { ?>
|
362 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
363 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
364 |
<?php } else { ?>
|
365 |
-
<td><center
|
366 |
-
<td><center
|
367 |
<?php } ?>
|
368 |
<?php } ?>
|
369 |
-
<td><center><?php echo $ad->weight; ?></center></td>
|
370 |
-
<td><span style="color: <?php echo adrotate_prepare_color($stoptime);?>;"><?php echo date_i18n("F d, Y", $stoptime); ?></span></td>
|
371 |
</tr>
|
372 |
<?php unset($stats);?>
|
373 |
<?php } ?>
|
327 |
<tr>
|
328 |
<td scope="col" class="manage-column column-cb check-column"><input type="checkbox" /></td>
|
329 |
<th><?php _e('Choose adverts', 'adrotate'); ?></th>
|
330 |
+
<th width="15%"><?php _e('Visible until', 'adrotate'); ?></th>
|
331 |
+
<th width="5%"><center><?php _e('Weight', 'adrotate'); ?></center></th>
|
332 |
<?php if($adrotate_config['stats'] == 1) { ?>
|
333 |
<th width="5%"><center><?php _e('Shown', 'adrotate'); ?></center></th>
|
334 |
<th width="5%"><center><?php _e('Clicks', 'adrotate'); ?></center></th>
|
335 |
<?php } ?>
|
|
|
|
|
336 |
</tr>
|
337 |
</thead>
|
338 |
|
357 |
<tr class='<?php echo $class; ?>'>
|
358 |
<th class="check-column" width="2%"><input type="checkbox" name="adselect[]" value="<?php echo $ad->id; ?>" <?php if(in_array($ad->id, $meta_array)) echo "checked"; ?> /></th>
|
359 |
<td><?php echo $ad->id; ?> - <strong><?php echo stripslashes(html_entity_decode($ad->title)); ?></strong></td>
|
360 |
+
<td><span style="color: <?php echo adrotate_prepare_color($stoptime);?>;"><?php echo date_i18n("F d, Y", $stoptime); ?></span></td>
|
361 |
+
<td><center><?php echo $ad->weight; ?></center></td>
|
362 |
<?php if($adrotate_config['stats'] == 1) {
|
363 |
if($ad->tracker == 'Y') { ?>
|
364 |
<td><center><?php echo $stats['impressions']; ?></center></td>
|
365 |
<td><center><?php echo $stats['clicks']; ?></center></td>
|
366 |
<?php } else { ?>
|
367 |
+
<td><center>…</center></td>
|
368 |
+
<td><center>…</center></td>
|
369 |
<?php } ?>
|
370 |
<?php } ?>
|
|
|
|
|
371 |
</tr>
|
372 |
<?php unset($stats);?>
|
373 |
<?php } ?>
|
library/jquery.adrotate.tablesorter.js
CHANGED
@@ -20,13 +20,13 @@ jQuery(function() {
|
|
20 |
jQuery("table.manage-ads-main").tablesorter({
|
21 |
headers: {
|
22 |
4: { sorter: false },
|
23 |
-
|
24 |
7: { sorter: false },
|
25 |
-
8: { sorter: false },
|
26 |
}
|
27 |
});
|
28 |
jQuery("table.manage-ads-disabled").tablesorter({
|
29 |
headers: {
|
|
|
30 |
3: { sorter: false },
|
31 |
4: { sorter: false },
|
32 |
5: { sorter: false },
|
20 |
jQuery("table.manage-ads-main").tablesorter({
|
21 |
headers: {
|
22 |
4: { sorter: false },
|
23 |
+
6: { sorter: false },
|
24 |
7: { sorter: false },
|
|
|
25 |
}
|
26 |
});
|
27 |
jQuery("table.manage-ads-disabled").tablesorter({
|
28 |
headers: {
|
29 |
+
1: { sorter: false },
|
30 |
3: { sorter: false },
|
31 |
4: { sorter: false },
|
32 |
5: { sorter: false },
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: adegans
|
|
3 |
Donate link: http://www.arnan.me/donate/?utm_campaign=donations&utm_medium=readme&utm_source=adrotate-free
|
4 |
Tags: advertising, banners, monetise, advert, banner, advertise, adrotator, adsense, geotargeting, banner manager, advert manager, statistics
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 4.
|
8 |
License: GPLv3
|
9 |
|
10 |
The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
|
@@ -12,7 +12,7 @@ The popular choice for monetizing your website with adverts while keeping things
|
|
12 |
== Description ==
|
13 |
|
14 |
Thinking of making some money with your website? Try AdRotate. With AdRotate you can easily place advertising banners pretty much anywhere on your site while managing almost everything from the easy to use dashboard. No fussing with your themes code if you don't want to.
|
15 |
-
Create your own adverts with basic HTML/Javascript code or use adverts from your favorite Ad Server such as DFP, AdSense, Chitika, Doubleclick, JuiceAds and many similar services.
|
16 |
|
17 |
Manage your advertising campaigns with ease, right in your dashboard. Check up on how many impressions adverts have. Monitor ad groups and see which are most effective. Make the most of advertising with the many features AdRotate has to offer. AdRotate looks and feels similar to the WordPress dashboard you already know, so you're already familiar with AdRotate before you've even started. Familiarize yourself with the many useful features and you'll be up and running very quickly.
|
18 |
|
@@ -32,7 +32,7 @@ Geo Targeting, Avoid adblockers, Mobile adverts, Media management and much more!
|
|
32 |
|
33 |
**Some Features**
|
34 |
|
35 |
-
* Works with Google AdSense, DFP and most other referrer/ad servers
|
36 |
* Easy management of ads and groups of ads
|
37 |
* Automated Javascript cycles of ads with Dynamic Groups
|
38 |
* Have your advertisers add/edit/manage their own ads
|
@@ -97,26 +97,15 @@ You can also post your questions on the [forum](https://ajdg.solutions/forums/?u
|
|
97 |
|
98 |
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)!
|
99 |
|
100 |
-
= 4.
|
101 |
-
* [
|
102 |
-
* [
|
103 |
-
* [change]
|
104 |
-
|
105 |
-
|
106 |
-
* [
|
107 |
-
|
108 |
-
|
109 |
-
* [new] Indicator if stats are on when using external trackers
|
110 |
-
* [change] More portable inclusion method for files
|
111 |
-
* [change] Banners folder can now be moved more easily
|
112 |
-
* [change] Reports folder can now be moved more easily
|
113 |
-
* [fix] Double (or more) digit ID's showing wrong in widgets
|
114 |
-
* [fix] Notifications for advert statuses
|
115 |
-
* [fix] Ambiguous id in object for showing schedules in stats
|
116 |
-
* [fix] Missing transaction_id when managing transactions
|
117 |
-
* [fix] Notices in advertiser dashboard if advertiser has no adverts
|
118 |
-
* [fix] Now correctly shows worst performing advert for advertisers
|
119 |
-
* [fix] Number of expired adverts showing correctly on info page
|
120 |
|
121 |
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).
|
122 |
|
@@ -124,12 +113,9 @@ NOTE: Unsolicited offers, parnterships, job offers, promotional emails or produc
|
|
124 |
|
125 |
== Upgrade Notice ==
|
126 |
|
127 |
-
* [
|
128 |
-
* [
|
129 |
-
* [change]
|
130 |
-
* [fix] Number of expired adverts showing correctly on info page
|
131 |
-
* [fix] Variable missing for disabled adverts
|
132 |
-
* [i18n] Added Indonesian Translation
|
133 |
|
134 |
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).
|
135 |
|
3 |
Donate link: http://www.arnan.me/donate/?utm_campaign=donations&utm_medium=readme&utm_source=adrotate-free
|
4 |
Tags: advertising, banners, monetise, advert, banner, advertise, adrotator, adsense, geotargeting, banner manager, advert manager, statistics
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.8
|
7 |
+
Stable tag: 4.3
|
8 |
License: GPLv3
|
9 |
|
10 |
The popular choice for monetizing your website with adverts while keeping things simple. Start making money today!
|
12 |
== Description ==
|
13 |
|
14 |
Thinking of making some money with your website? Try AdRotate. With AdRotate you can easily place advertising banners pretty much anywhere on your site while managing almost everything from the easy to use dashboard. No fussing with your themes code if you don't want to.
|
15 |
+
Create your own adverts with basic HTML/Javascript code or use adverts from your favorite Ad Server such as Media.net, DFP, AdSense, Chitika, Doubleclick, JuiceAds and many similar services.
|
16 |
|
17 |
Manage your advertising campaigns with ease, right in your dashboard. Check up on how many impressions adverts have. Monitor ad groups and see which are most effective. Make the most of advertising with the many features AdRotate has to offer. AdRotate looks and feels similar to the WordPress dashboard you already know, so you're already familiar with AdRotate before you've even started. Familiarize yourself with the many useful features and you'll be up and running very quickly.
|
18 |
|
32 |
|
33 |
**Some Features**
|
34 |
|
35 |
+
* Works with Media.net, Google AdSense, DFP and most other referrer/ad servers
|
36 |
* Easy management of ads and groups of ads
|
37 |
* Automated Javascript cycles of ads with Dynamic Groups
|
38 |
* Have your advertisers add/edit/manage their own ads
|
97 |
|
98 |
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)!
|
99 |
|
100 |
+
= 4.3 FREE =
|
101 |
+
* [fix] Improved PHP7 compatibility
|
102 |
+
* [fix] Sortable columns now properly assigned
|
103 |
+
* [change] Dashboard tweaks
|
104 |
+
|
105 |
+
= 4.7 PRO =
|
106 |
+
* [fix] Improved PHP7 compatibility
|
107 |
+
* [fix] Sortable columns now properly assigned
|
108 |
+
* [change] Dashboard tweaks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
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).
|
111 |
|
113 |
|
114 |
== Upgrade Notice ==
|
115 |
|
116 |
+
* [fix] Improved PHP7 compatibility
|
117 |
+
* [fix] Sortable columns now properly assigned
|
118 |
+
* [change] Dashboard tweaks
|
|
|
|
|
|
|
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 |
|