Version Description
Better support for HTML5 adverts, dashboard fixes and a bit of a database clean-up.
Download this release
Release Info
Developer | adegans |
Plugin | AdRotate Banner Manager |
Version | 5.6.1 |
Comparing to | |
See all releases |
Code changes from version 5.6 to 5.6.1
- adrotate-manage-publisher.php +2 -0
- adrotate-output.php +39 -43
- adrotate-setup.php +19 -11
- adrotate.php +7 -7
- dashboard/adrotatepro.php +24 -24
- dashboard/info.php +16 -16
- dashboard/publisher/adverts-edit.php +4 -4
- dashboard/settings/roles.php +1 -1
- dashboard/settings/statistics.php +4 -4
- dashboard/support.php +9 -12
- images/notification.png +0 -0
- library/dashboard.css +12 -0
- library/jquery.adrotate.datepicker.js +2 -2
- readme.txt +67 -81
adrotate-manage-publisher.php
CHANGED
@@ -129,6 +129,7 @@ function adrotate_insert_input() {
|
|
129 |
// Sort out start dates
|
130 |
if(strlen($start_date) > 0) {
|
131 |
list($start_day, $start_month, $start_year) = explode('-', $start_date); // dd/mm/yyyy
|
|
|
132 |
} else {
|
133 |
$start_year = $start_month = $start_day = 0;
|
134 |
}
|
@@ -145,6 +146,7 @@ function adrotate_insert_input() {
|
|
145 |
// Sort out end dates
|
146 |
if(strlen($end_date) > 0) {
|
147 |
list($end_day, $end_month, $end_year) = explode('-', $end_date); // dd/mm/yyyy
|
|
|
148 |
} else {
|
149 |
$end_year = $end_month = $end_day = 0;
|
150 |
}
|
129 |
// Sort out start dates
|
130 |
if(strlen($start_date) > 0) {
|
131 |
list($start_day, $start_month, $start_year) = explode('-', $start_date); // dd/mm/yyyy
|
132 |
+
$start_month = date("m", strtotime($start_month."-".$start_year)); // Convert month to number
|
133 |
} else {
|
134 |
$start_year = $start_month = $start_day = 0;
|
135 |
}
|
146 |
// Sort out end dates
|
147 |
if(strlen($end_date) > 0) {
|
148 |
list($end_day, $end_month, $end_year) = explode('-', $end_date); // dd/mm/yyyy
|
149 |
+
$end_month = date("m", strtotime($end_month."-".$end_year)); // Convert month to number
|
150 |
} else {
|
151 |
$end_year = $end_month = $end_day = 0;
|
152 |
}
|
adrotate-output.php
CHANGED
@@ -670,6 +670,8 @@ function adrotate_dashboard_error() {
|
|
670 |
Since: 3.0
|
671 |
-------------------------------------------------------------*/
|
672 |
function adrotate_notifications_dashboard() {
|
|
|
|
|
673 |
if(current_user_can('adrotate_ad_manage')) {
|
674 |
if(isset($_GET['page'])) { $page = $_GET['page']; } else { $page = ''; }
|
675 |
|
@@ -678,16 +680,17 @@ function adrotate_notifications_dashboard() {
|
|
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="
|
685 |
-
echo ' <div class="
|
686 |
-
echo '
|
687 |
-
echo '
|
688 |
-
|
689 |
-
echo ' <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 |
}
|
@@ -695,14 +698,12 @@ function adrotate_notifications_dashboard() {
|
|
695 |
// Write a review
|
696 |
$review_banner = get_option('adrotate_hide_review');
|
697 |
if($review_banner != 1 AND $review_banner < (adrotate_now() - (8 * DAY_IN_SECONDS))) {
|
698 |
-
echo '<div class="
|
699 |
-
echo ' <div class="
|
700 |
-
echo '
|
701 |
-
echo '
|
702 |
-
|
703 |
-
echo ' <a
|
704 |
-
|
705 |
-
echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
|
706 |
echo ' </div>';
|
707 |
echo '</div>';
|
708 |
}
|
@@ -712,17 +713,16 @@ function adrotate_notifications_dashboard() {
|
|
712 |
if($competition_banner != 1) {
|
713 |
$adrotate_has_competition = adrotate_check_competition();
|
714 |
if($adrotate_has_competition) {
|
715 |
-
echo '<div class="
|
716 |
-
echo ' <div class="
|
717 |
-
echo '
|
718 |
-
echo ' <div class="text">AdRotate found '._n('one plugin', 'several plugins', count($adrotate_has_competition), 'adrotate').' that can be imported:<br /><span>';
|
719 |
foreach($adrotate_has_competition as $plugin) {
|
720 |
echo '» '.$plugin.'<br />';
|
721 |
}
|
722 |
-
echo '
|
723 |
-
|
724 |
-
echo ' <a
|
725 |
-
echo ' <
|
726 |
echo ' </div>';
|
727 |
echo '</div>';
|
728 |
}
|
@@ -732,14 +732,12 @@ function adrotate_notifications_dashboard() {
|
|
732 |
// Advert notifications, errors, important stuff
|
733 |
$adrotate_has_error = adrotate_dashboard_error();
|
734 |
if($adrotate_has_error) {
|
735 |
-
echo '<div class="
|
736 |
-
echo ' <div class="
|
737 |
-
echo '
|
738 |
foreach($adrotate_has_error as $error => $message) {
|
739 |
echo '» '.$message.'<br />';
|
740 |
}
|
741 |
-
echo ' </span></div>';
|
742 |
-
echo ' <div class="icon"><img title="AdRotate Logo" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
|
743 |
echo ' </div>';
|
744 |
echo '</div>';
|
745 |
}
|
@@ -749,12 +747,11 @@ function adrotate_notifications_dashboard() {
|
|
749 |
$adrotate_db_version = get_option("adrotate_db_version");
|
750 |
$adrotate_version = get_option("adrotate_version");
|
751 |
if($adrotate_db_version['current'] < ADROTATE_DB_VERSION OR $adrotate_version['current'] < ADROTATE_VERSION) {
|
752 |
-
echo '<div class="
|
753 |
-
echo ' <div class="
|
754 |
-
echo '
|
755 |
-
echo '
|
756 |
-
|
757 |
-
echo ' <div class="icon"><img title="" src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt=""/></div>';
|
758 |
echo ' </div>';
|
759 |
echo '</div>';
|
760 |
}
|
@@ -806,8 +803,8 @@ function adrotate_help_info() {
|
|
806 |
'content' => '<h4>Thank you for using AdRotate</h4>'.
|
807 |
'<p>AdRotate is becoming one of the most popular WordPress plugins for Advertising and is a household name for many companies and websites around the world. AdRotate wouldn\'t be possible without your support and my life wouldn\'t be what it is today without your help.</p><p><em>- Arnan</em></p>'.
|
808 |
|
809 |
-
'<p><strong>Business:</strong> Visit <a href="https://ajdg.solutions
|
810 |
-
'<strong>Personal:</strong> Take a look at the <a href="https://www.arnan.me" target="_blank">arnan.me website</a>, also Arnan has <a href="https://arnandegans.tumblr.com" target="_blank">Tumblr</a>, <a href="https://www.twitter.com/arnandegans/" target="_blank">Twitter</a> and he is on <a href="https://linkedin.com/in/arnandegans/" target="_blank">LinkedIn</a>.</p>'
|
811 |
)
|
812 |
);
|
813 |
$screen->add_help_tab(array(
|
@@ -817,7 +814,6 @@ function adrotate_help_info() {
|
|
817 |
'<p>Try these great advertising partners for getting relevant adverts to your site. Increase revenue with their contextual adverts and earn more money with AdRotate!</p>'.
|
818 |
|
819 |
'<p><strong>Media.net:</strong> <a href="https://ajdg.solutions/go/medianet/" target="_blank">Sign up for Media.net Contextual Adverts</a><br />Get 10% extra earnings commission for the first 3 months!</p>'.
|
820 |
-
'<p><strong>Blind Ferret:</strong> <a href="https://ajdg.solutions/go/blindferret/" target="_blank">Sign up with the Blind Ferret Publisher Network</a><br />Industry leader in Header Bidding adverts!'.
|
821 |
|
822 |
'<p><small><em>These are affiliate links, using them costs you nothing but helps with the future of AdRotate!</em></small></p>'
|
823 |
)
|
@@ -828,7 +824,7 @@ function adrotate_help_info() {
|
|
828 |
'content' => '<h4>Get help using AdRotate</h4>'.
|
829 |
'<p>Everyone needs some help sometimes. AdRotate has many guides and manuals as well as a Support Forum on the AdRotate website to get you going.<br />All the relevant links to getting help and the Professional Services I offer can be found on the <a href="'.admin_url('admin.php?page=adrotate-support').'">Support dashboard</a>.</p>'.
|
830 |
|
831 |
-
'<p>Take a look at the <a href="https://ajdg.solutions/support/adrotate-manuals
|
832 |
)
|
833 |
);
|
834 |
}
|
@@ -840,9 +836,9 @@ function adrotate_help_info() {
|
|
840 |
-------------------------------------------------------------*/
|
841 |
function adrotate_action_links($links) {
|
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
|
845 |
-
$custom_actions['adrotate-ajdg'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions
|
846 |
|
847 |
return array_merge($custom_actions, $links);
|
848 |
}
|
@@ -864,9 +860,9 @@ function adrotate_credits() {
|
|
864 |
|
865 |
echo '<tbody>';
|
866 |
echo '<tr>';
|
867 |
-
echo '<td><center><a href="https://ajdg.solutions/products/adrotate-for-wordpress
|
868 |
echo '<td>'.__("Many users only think to review AdRotate when something goes wrong while thousands of people happily use AdRotate.", 'adrotate').' <strong>'. __("If you find AdRotate useful please leave your", 'adrotate').' <a href="https://wordpress.org/support/view/plugin-reviews/adrotate?rate=5#postform" target="_blank">'.__('rating','adrotate').'</a> '.__('and','adrotate').' <a href="https://wordpress.org/support/view/plugin-reviews/adrotate" target="_blank">'.__('review','adrotate').'</a> '.__('on WordPress.org to help AdRotate grow in a positive way', 'adrotate').'!</strong></td>';
|
869 |
-
echo '<td><a href="https://ajdg.solutions/cart/?add-to-cart=1124" title="Get AdRotate Pro for WordPress"><img src="'.plugins_url('/images/adrotate-product.png', __FILE__).'" alt="AdRotate Pro for WordPress" width="70" height="70" align="left" /></a>'.__('Get more advanced features like Geo Targeting, scheduling and much more with AdRotate Pro.', 'adrotate').' '.__('Includes premium support and free updates for one year!', 'adrotate').'<br /><strong>So why wait? <a href="'.admin_url('admin.php?page=adrotate-pro').'" title="Get AdRotate Pro for WordPress">'.__('Get started today', 'adrotate').' »</a></strong></td>';
|
870 |
|
871 |
echo '</tr>';
|
872 |
echo '</tbody>';
|
670 |
Since: 3.0
|
671 |
-------------------------------------------------------------*/
|
672 |
function adrotate_notifications_dashboard() {
|
673 |
+
global $current_user;
|
674 |
+
|
675 |
if(current_user_can('adrotate_ad_manage')) {
|
676 |
if(isset($_GET['page'])) { $page = $_GET['page']; } else { $page = ''; }
|
677 |
|
680 |
if(isset($_GET['hide']) AND $_GET['hide'] == 1) update_option('adrotate_hide_review', 1);
|
681 |
if(isset($_GET['hide']) AND $_GET['hide'] == 2) update_option('adrotate_hide_competition', 1);
|
682 |
|
683 |
+
$displayname = (strlen($current_user->user_firstname) > 0) ? $current_user->user_firstname : $current_user->display_name;
|
684 |
+
|
685 |
// Get AdRotate Pro
|
686 |
$getpro_banner = get_option('adrotate_hide_getpro');
|
687 |
if($getpro_banner < adrotate_now()) {
|
688 |
+
echo '<div class="ajdg-notification notice" style="">';
|
689 |
+
echo ' <div class="ajdg-notification-logo" style="background-image: url(\''.plugins_url('/images/notification.png', __FILE__).'\');"><span></span></div>';
|
690 |
+
echo ' <div class="ajdg-notification-message">Hello <strong>'.$displayname.'</strong>. Have you considered upgrading to <strong>AdRotate Professional</strong> yet?<br />Get extra features like Geo Targeting, Scheduling, mobile adverts, access to premium support and much more for only €39 EUR.<br />Use coupon code <strong>getadrotatepro</strong> and get a 10% discount on any <strong>AdRotate Professional</strong> license! Thank you for your support!</div>';
|
691 |
+
echo ' <div class="ajdg-notification-cta">';
|
692 |
+
echo ' <a href="'.admin_url('admin.php?page=adrotate-pro').'" class="ajdg-notification-act button-primary">Get AdRotate Pro</a>';
|
693 |
+
echo ' <a href="admin.php?page=adrotate&hide=0" class="ajdg-notification-dismiss">Maybe later</a>';
|
|
|
694 |
echo ' </div>';
|
695 |
echo '</div>';
|
696 |
}
|
698 |
// Write a review
|
699 |
$review_banner = get_option('adrotate_hide_review');
|
700 |
if($review_banner != 1 AND $review_banner < (adrotate_now() - (8 * DAY_IN_SECONDS))) {
|
701 |
+
echo '<div class="ajdg-notification notice" style="">';
|
702 |
+
echo ' <div class="ajdg-notification-logo" style="background-image: url(\''.plugins_url('/images/notification.png', __FILE__).'\');"><span></span></div>';
|
703 |
+
echo ' <div class="ajdg-notification-message">Welcome back <strong>'.$displayname.'</strong>! You have been using <strong>AdRotate Banner Manager</strong> for a few days. If you like AdRotate Banner Manager, please share <strong>your experience</strong>.<br />If you have questions, complaints or something else that does not belong in a review, please use the <a href="admin.php?page=adrotate-support">support forum</a>!</div>';
|
704 |
+
echo ' <div class="ajdg-notification-cta">';
|
705 |
+
echo ' <a href="https://wordpress.org/support/view/plugin-reviews/adrotate?rate=5#postform" class="ajdg-notification-act button-primary">Review AdRotate</a>';
|
706 |
+
echo ' <a href="admin.php?page=adrotate&hide=1" class="ajdg-notification-dismiss">Maybe later</a>';
|
|
|
|
|
707 |
echo ' </div>';
|
708 |
echo '</div>';
|
709 |
}
|
713 |
if($competition_banner != 1) {
|
714 |
$adrotate_has_competition = adrotate_check_competition();
|
715 |
if($adrotate_has_competition) {
|
716 |
+
echo '<div class="ajdg-notification notice" style="">';
|
717 |
+
echo ' <div class="ajdg-notification-logo" style="background-image: url(\''.plugins_url('/images/notification.png', __FILE__).'\');"><span></span></div>';
|
718 |
+
echo ' <div class="ajdg-notification-message"><strong>AdRotate Banner Manager</strong> found '._n('one plugin', 'several plugins', count($adrotate_has_competition), 'adrotate').' that can be imported:<br />';
|
|
|
719 |
foreach($adrotate_has_competition as $plugin) {
|
720 |
echo '» '.$plugin.'<br />';
|
721 |
}
|
722 |
+
echo ' Configured plugins can be imported into AdRotate! What is <a target="_blank" href="https://ajdg.solutions/product/adrotate-switch/">AdRotate Switch</a>?</div>';
|
723 |
+
echo ' <div class="ajdg-notification-cta">';
|
724 |
+
echo ' <a href="'.admin_url('plugin-install.php?tab=search&s=adrotate+switch+arnan').'" class="ajdg-notification-act button-primary">Install AdRotate Switch</a>';
|
725 |
+
echo ' <a href="admin.php?page=adrotate&hide=2" class="ajdg-notification-dismiss">No thanks</a>';
|
726 |
echo ' </div>';
|
727 |
echo '</div>';
|
728 |
}
|
732 |
// Advert notifications, errors, important stuff
|
733 |
$adrotate_has_error = adrotate_dashboard_error();
|
734 |
if($adrotate_has_error) {
|
735 |
+
echo '<div class="ajdg-notification notice" style="">';
|
736 |
+
echo ' <div class="ajdg-notification-logo" style="background-image: url(\''.plugins_url('/images/notification.png', __FILE__).'\');"><span></span></div>';
|
737 |
+
echo ' <div class="ajdg-notification-message"><strong>AdRotate Banner Manager</strong> has detected '._n('one issue that requires', 'several issues that require', count($adrotate_has_error), 'adrotate').' '.__('your attention:', 'adrotate').'<br />';
|
738 |
foreach($adrotate_has_error as $error => $message) {
|
739 |
echo '» '.$message.'<br />';
|
740 |
}
|
|
|
|
|
741 |
echo ' </div>';
|
742 |
echo '</div>';
|
743 |
}
|
747 |
$adrotate_db_version = get_option("adrotate_db_version");
|
748 |
$adrotate_version = get_option("adrotate_version");
|
749 |
if($adrotate_db_version['current'] < ADROTATE_DB_VERSION OR $adrotate_version['current'] < ADROTATE_VERSION) {
|
750 |
+
echo '<div class="ajdg-notification notice" style="">';
|
751 |
+
echo ' <div class="ajdg-notification-logo" style="background-image: url(\''.plugins_url('/images/notification.png', __FILE__).'\');"><span></span></div>';
|
752 |
+
echo ' <div class="ajdg-notification-message">Thanks for updating <strong>'.$displayname.'</strong>! You have almost completed updating <strong>AdRotate Banner Manager</strong> to version <strong>'.ADROTATE_DISPLAY.'</strong>!<br />To complete the update <strong>click the button on the right</strong>. This may take a few seconds to complete!<br />For an overview of what has changed take a look at the <a href="https://ajdg.solutions/support/adrotate-development/" target="_blank">development page</a> and usually there is an article on <a href="https://ajdg.solutions/blog/" target="_blank">the blog</a> with more information as well.</div>';
|
753 |
+
echo ' <div class="ajdg-notification-cta">';
|
754 |
+
echo ' <a href="admin.php?page=adrotate&upgrade=1" class="ajdg-notification-act button-primary">Finish update</a>';
|
|
|
755 |
echo ' </div>';
|
756 |
echo '</div>';
|
757 |
}
|
803 |
'content' => '<h4>Thank you for using AdRotate</h4>'.
|
804 |
'<p>AdRotate is becoming one of the most popular WordPress plugins for Advertising and is a household name for many companies and websites around the world. AdRotate wouldn\'t be possible without your support and my life wouldn\'t be what it is today without your help.</p><p><em>- Arnan</em></p>'.
|
805 |
|
806 |
+
'<p><strong>Business:</strong> Visit <a href="https://ajdg.solutions/?pk_campaign=adrotatefree&pk_keyword=helptab" target="_blank">ajdg.solutions</a> website.<br />'.
|
807 |
+
'<strong>Personal:</strong> Take a look at the <a href="https://www.arnan.me/?pk_campaign=adrotatefree&pk_keyword=helptab" target="_blank">arnan.me website</a>, also Arnan has <a href="https://arnandegans.tumblr.com" target="_blank">Tumblr</a>, <a href="https://www.twitter.com/arnandegans/" target="_blank">Twitter</a> and he is on <a href="https://linkedin.com/in/arnandegans/" target="_blank">LinkedIn</a>.</p>'
|
808 |
)
|
809 |
);
|
810 |
$screen->add_help_tab(array(
|
814 |
'<p>Try these great advertising partners for getting relevant adverts to your site. Increase revenue with their contextual adverts and earn more money with AdRotate!</p>'.
|
815 |
|
816 |
'<p><strong>Media.net:</strong> <a href="https://ajdg.solutions/go/medianet/" target="_blank">Sign up for Media.net Contextual Adverts</a><br />Get 10% extra earnings commission for the first 3 months!</p>'.
|
|
|
817 |
|
818 |
'<p><small><em>These are affiliate links, using them costs you nothing but helps with the future of AdRotate!</em></small></p>'
|
819 |
)
|
824 |
'content' => '<h4>Get help using AdRotate</h4>'.
|
825 |
'<p>Everyone needs some help sometimes. AdRotate has many guides and manuals as well as a Support Forum on the AdRotate website to get you going.<br />All the relevant links to getting help and the Professional Services I offer can be found on the <a href="'.admin_url('admin.php?page=adrotate-support').'">Support dashboard</a>.</p>'.
|
826 |
|
827 |
+
'<p>Take a look at the <a href="https://ajdg.solutions/support/adrotate-manuals/?pk_campaign=adrotatefree&pk_keyword=helptab" target="_blank">AdRotate Manuals</a> and the <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=helptab" target="_blank">Support Forum</a> here.</p>'
|
828 |
)
|
829 |
);
|
830 |
}
|
836 |
-------------------------------------------------------------*/
|
837 |
function adrotate_action_links($links) {
|
838 |
$custom_actions = array();
|
839 |
+
$custom_actions['adrotate-pro'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/cart/?add-to-cart=1124&pk_campaign=adrotatefree&pk_keyword=action_links&pk_content=buy_single', 'Get Pro');
|
840 |
+
$custom_actions['adrotate-help'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/support/?pk_campaign=adrotatefree&pk_keyword=action_links&pk_content=support_link', 'Support');
|
841 |
+
$custom_actions['adrotate-ajdg'] = sprintf('<a href="%s" target="_blank">%s</a>', 'https://ajdg.solutions/?pk_campaign=adrotatefree&pk_keyword=action_links', 'AJdG Solutions');
|
842 |
|
843 |
return array_merge($custom_actions, $links);
|
844 |
}
|
860 |
|
861 |
echo '<tbody>';
|
862 |
echo '<tr>';
|
863 |
+
echo '<td><center><a href="https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=credits" title="AdRotate plugin for WordPress"><img src="'.plugins_url('/images/logo-60x60.png', __FILE__).'" alt="AdRotate Logo" width="60" height="60" /></a></center></td>';
|
864 |
echo '<td>'.__("Many users only think to review AdRotate when something goes wrong while thousands of people happily use AdRotate.", 'adrotate').' <strong>'. __("If you find AdRotate useful please leave your", 'adrotate').' <a href="https://wordpress.org/support/view/plugin-reviews/adrotate?rate=5#postform" target="_blank">'.__('rating','adrotate').'</a> '.__('and','adrotate').' <a href="https://wordpress.org/support/view/plugin-reviews/adrotate" target="_blank">'.__('review','adrotate').'</a> '.__('on WordPress.org to help AdRotate grow in a positive way', 'adrotate').'!</strong></td>';
|
865 |
+
echo '<td><a href="https://ajdg.solutions/cart/?add-to-cart=1124&pk_campaign=adrotatefree&pk_keyword=credits" title="Get AdRotate Pro for WordPress"><img src="'.plugins_url('/images/adrotate-product.png', __FILE__).'" alt="AdRotate Pro for WordPress" width="70" height="70" align="left" /></a>'.__('Get more advanced features like Geo Targeting, scheduling and much more with AdRotate Pro.', 'adrotate').' '.__('Includes premium support and free updates for one year!', 'adrotate').'<br /><strong>So why wait? <a href="'.admin_url('admin.php?page=adrotate-pro').'" title="Get AdRotate Pro for WordPress">'.__('Get started today', 'adrotate').' »</a></strong></td>';
|
866 |
|
867 |
echo '</tr>';
|
868 |
echo '</tbody>';
|
adrotate-setup.php
CHANGED
@@ -163,26 +163,34 @@ function adrotate_uninstall_setup() {
|
|
163 |
|
164 |
// Delete Options
|
165 |
delete_option('adrotate_activate');
|
166 |
-
delete_option('adrotate_advert_status');
|
167 |
delete_option('adrotate_config');
|
168 |
delete_option('adrotate_crawlers');
|
169 |
-
|
|
|
170 |
delete_option('adrotate_db_version');
|
|
|
171 |
delete_option('adrotate_debug');
|
172 |
-
|
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('
|
|
|
|
|
|
|
|
|
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('
|
|
|
|
|
|
|
186 |
|
187 |
// Clear out userroles
|
188 |
remove_role('adrotate_advertiser');
|
@@ -354,7 +362,7 @@ function adrotate_dummy_data() {
|
|
354 |
|
355 |
if(is_null($no_ads) AND is_null($no_schedules) AND is_null($no_linkmeta)) {
|
356 |
// Demo ad 1
|
357 |
-
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo banner 468x60', 'bannercode' => '<a href=\"
|
358 |
$ad_id = $wpdb->insert_id;
|
359 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', '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'));
|
360 |
$schedule_id = $wpdb->insert_id;
|
@@ -362,7 +370,7 @@ function adrotate_dummy_data() {
|
|
362 |
unset($ad_id, $schedule_id);
|
363 |
|
364 |
// Demo ad 2
|
365 |
-
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo banner 728x90', 'bannercode' => '<a href=\"
|
366 |
$ad_id = $wpdb->insert_id;
|
367 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', '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'));
|
368 |
$schedule_id = $wpdb->insert_id;
|
163 |
|
164 |
// Delete Options
|
165 |
delete_option('adrotate_activate');
|
|
|
166 |
delete_option('adrotate_config');
|
167 |
delete_option('adrotate_crawlers');
|
168 |
+
|
169 |
+
delete_option('adrotate_version');
|
170 |
delete_option('adrotate_db_version');
|
171 |
+
delete_option('adrotate_db_timer');
|
172 |
delete_option('adrotate_debug');
|
173 |
+
|
|
|
|
|
|
|
174 |
delete_option('adrotate_geo_required');
|
175 |
delete_option('adrotate_geo_requests');
|
176 |
+
delete_option('adrotate_geo_reset');
|
177 |
+
|
178 |
+
delete_option('adrotate_group_css');
|
179 |
+
delete_option('adrotate_header_output');
|
180 |
delete_option('adrotate_dynamic_required');
|
|
|
181 |
|
182 |
+
delete_option('adrotate_hide_license');
|
183 |
+
delete_option('adrotate_hide_banner'); // Obsolete
|
184 |
+
delete_option('adrotate_hide_review');
|
185 |
+
delete_option('adrotate_hide_competition');
|
186 |
+
delete_option('adrotate_hide_getpro');
|
187 |
delete_option('adrotate_hide_premium'); // Obsolete
|
188 |
delete_option('adrotate_hide_premium_2'); // Obsolete
|
189 |
delete_option('adrotate_hide_premium_3'); // Obsolete
|
190 |
+
delete_option('adrotate_hide_translate'); // Obsolete
|
191 |
+
delete_option('adrotate_hide_translation'); // Obsolete
|
192 |
+
delete_option('adrotate_advert_status');
|
193 |
+
delete_option('adrotate_notifications');
|
194 |
|
195 |
// Clear out userroles
|
196 |
remove_role('adrotate_advertiser');
|
362 |
|
363 |
if(is_null($no_ads) AND is_null($no_schedules) AND is_null($no_linkmeta)) {
|
364 |
// Demo ad 1
|
365 |
+
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo banner 468x60', 'bannercode' => '<a href=\"http:\/\/ajdg.net/landing.php?src=adrotate\"><img src=\"http://ajdg.solutions/assets/banners/adrotate-468x60.jpg\" /></a>', 'thetime' => $now, 'updated' => $now, 'author' => $current_user->user_login, 'imagetype' => '', 'image' => '', 'tracker' => 'N', 'show_everyone' => 'Y', 'desktop' => 'Y', 'mobile' => 'Y', 'tablet' => 'Y', 'os_ios' => 'Y', 'os_android' => 'Y', 'os_other' => 'Y', 'type' => 'active', 'weight' => 6, 'budget' => 0, 'crate' => 0, 'irate' => 0, 'cities' => serialize(array()), 'countries' => serialize(array())));
|
366 |
$ad_id = $wpdb->insert_id;
|
367 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', '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'));
|
368 |
$schedule_id = $wpdb->insert_id;
|
370 |
unset($ad_id, $schedule_id);
|
371 |
|
372 |
// Demo ad 2
|
373 |
+
$wpdb->insert("{$wpdb->prefix}adrotate", array('title' => 'Demo banner 728x90', 'bannercode' => '<a href=\"http:\/\/ajdg.net/landing.php?src=adrotate\"><img src=\"http://ajdg.solutions/assets/banners/adrotate-728x90.jpg\" /></a>', 'thetime' => $now, 'updated' => $now, 'author' => $current_user->user_login, 'imagetype' => '', 'image' => '', 'tracker' => 'Y', 'show_everyone' => 'Y', 'desktop' => 'Y', 'mobile' => 'Y', 'tablet' => 'Y', 'os_ios' => 'Y', 'os_android' => 'Y', 'os_other' => 'Y', 'type' => 'active', 'weight' => 6, 'budget' => 0, 'crate' => 0, 'irate' => 0, 'cities' => serialize(array()), 'countries' => serialize(array())));
|
374 |
$ad_id = $wpdb->insert_id;
|
375 |
$wpdb->insert("{$wpdb->prefix}adrotate_schedule", array('name' => 'Schedule for ad '.$ad_id, 'starttime' => $now, 'stoptime' => $in84days, 'maxclicks' => 0, 'maximpressions' => 0, 'spread' => 'N', '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'));
|
376 |
$schedule_id = $wpdb->insert_id;
|
adrotate.php
CHANGED
@@ -1,12 +1,12 @@
|
|
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,7 +21,7 @@ License: GPLv3
|
|
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__);
|
@@ -500,11 +500,11 @@ function adrotate_options() {
|
|
500 |
<h2 class="nav-tab-wrapper">
|
501 |
<a href="?page=adrotate-settings&tab=general" class="nav-tab <?php echo $active_tab == 'general' ? 'nav-tab-active' : ''; ?>"><?php _e('General', 'adrotate'); ?></a>
|
502 |
<a href="?page=adrotate-settings&tab=notifications" class="nav-tab <?php echo $active_tab == 'notifications' ? 'nav-tab-active' : ''; ?>"><?php _e('Notifications', 'adrotate'); ?></a>
|
503 |
-
<a href="?page=adrotate-settings&tab=stats" class="nav-tab <?php echo $active_tab == 'stats' ? 'nav-tab-active' : ''; ?>"><?php _e('
|
504 |
<a href="?page=adrotate-settings&tab=geo" class="nav-tab <?php echo $active_tab == 'geo' ? 'nav-tab-active' : ''; ?>"><?php _e('Geo Targeting', 'adrotate'); ?></a>
|
505 |
<a href="?page=adrotate-settings&tab=advertisers" class="nav-tab <?php echo $active_tab == 'advertisers' ? 'nav-tab-active' : ''; ?>"><?php _e('Advertisers', 'adrotate'); ?></a>
|
506 |
-
<a href="?page=adrotate-settings&tab=roles" class="nav-tab <?php echo $active_tab == 'roles' ? 'nav-tab-active' : ''; ?>"><?php _e('Roles', 'adrotate'); ?></a>
|
507 |
-
<a href="?page=adrotate-settings&tab=misc" class="nav-tab <?php echo $active_tab == 'misc' ? 'nav-tab-active' : ''; ?>"><?php _e('
|
508 |
<a href="?page=adrotate-settings&tab=maintenance" class="nav-tab <?php echo $active_tab == 'maintenance' ? 'nav-tab-active' : ''; ?>"><?php _e('Maintenance', 'adrotate'); ?></a>
|
509 |
</h2>
|
510 |
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: AdRotate Banner Manager
|
4 |
+
Plugin URI: https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=plugin_info
|
5 |
Author: Arnan de Gans
|
6 |
+
Author URI: https://www.arnan.me/?pk_campaign=adrotatefree&pk_keyword=plugin_info
|
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.1
|
10 |
License: GPLv3
|
11 |
*/
|
12 |
|
21 |
------------------------------------------------------------------------------------ */
|
22 |
|
23 |
/*--- AdRotate values ---------------------------------------*/
|
24 |
+
define("ADROTATE_DISPLAY", '5.6.1');
|
25 |
define("ADROTATE_VERSION", 394);
|
26 |
define("ADROTATE_DB_VERSION", 65);
|
27 |
$plugin_folder = plugin_dir_path(__FILE__);
|
500 |
<h2 class="nav-tab-wrapper">
|
501 |
<a href="?page=adrotate-settings&tab=general" class="nav-tab <?php echo $active_tab == 'general' ? 'nav-tab-active' : ''; ?>"><?php _e('General', 'adrotate'); ?></a>
|
502 |
<a href="?page=adrotate-settings&tab=notifications" class="nav-tab <?php echo $active_tab == 'notifications' ? 'nav-tab-active' : ''; ?>"><?php _e('Notifications', 'adrotate'); ?></a>
|
503 |
+
<a href="?page=adrotate-settings&tab=stats" class="nav-tab <?php echo $active_tab == 'stats' ? 'nav-tab-active' : ''; ?>"><?php _e('Statistics', 'adrotate'); ?></a>
|
504 |
<a href="?page=adrotate-settings&tab=geo" class="nav-tab <?php echo $active_tab == 'geo' ? 'nav-tab-active' : ''; ?>"><?php _e('Geo Targeting', 'adrotate'); ?></a>
|
505 |
<a href="?page=adrotate-settings&tab=advertisers" class="nav-tab <?php echo $active_tab == 'advertisers' ? 'nav-tab-active' : ''; ?>"><?php _e('Advertisers', 'adrotate'); ?></a>
|
506 |
+
<a href="?page=adrotate-settings&tab=roles" class="nav-tab <?php echo $active_tab == 'roles' ? 'nav-tab-active' : ''; ?>"><?php _e('Access Roles', 'adrotate'); ?></a>
|
507 |
+
<a href="?page=adrotate-settings&tab=misc" class="nav-tab <?php echo $active_tab == 'misc' ? 'nav-tab-active' : ''; ?>"><?php _e('Miscellaneous', 'adrotate'); ?></a>
|
508 |
<a href="?page=adrotate-settings&tab=maintenance" class="nav-tab <?php echo $active_tab == 'maintenance' ? 'nav-tab-active' : ''; ?>"><?php _e('Maintenance', 'adrotate'); ?></a>
|
509 |
</h2>
|
510 |
|
dashboard/adrotatepro.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
<div class="ajdg-postbox">
|
18 |
<h2 class="ajdg-postbox-title"><?php _e('Mobile campaigns', 'adrotate'); ?></h2>
|
19 |
<div id="mobile" class="ajdg-postbox-content">
|
20 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
21 |
<p><?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 or mobile operating system. 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>
|
22 |
</div>
|
23 |
</div>
|
@@ -25,7 +25,7 @@
|
|
25 |
<div class="ajdg-postbox">
|
26 |
<h2 class="ajdg-postbox-title"><?php _e('Schedule all campaigns with ease', 'adrotate'); ?></h2>
|
27 |
<div id="schedules" class="ajdg-postbox-content">
|
28 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
29 |
<p><?php _e('Schedule your adverts and set up advertising campaigns based on dates you or your advertisers specify without hassle. Seasonal adverts, weekly adverts, specific days in the week. You name it, AdRotate schedules it. This makes planning your revenue stream very flexible. You can set one or many schedules for adverts.', 'adrotate'); ?></p>
|
30 |
</div>
|
31 |
</div>
|
@@ -33,7 +33,7 @@
|
|
33 |
<div class="ajdg-postbox">
|
34 |
<h2 class="ajdg-postbox-title"><?php _e('Satisfy your advertisers', 'adrotate'); ?></h2>
|
35 |
<div id="satisfaction" class="ajdg-postbox-content">
|
36 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
37 |
<p><?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>
|
38 |
</div>
|
39 |
</div>
|
@@ -41,7 +41,7 @@
|
|
41 |
<div class="ajdg-postbox">
|
42 |
<h2 class="ajdg-postbox-title"><?php _e('Get Fast Support almost all year round', 'adrotate'); ?></h2>
|
43 |
<div id="support" class="ajdg-postbox-content">
|
44 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
45 |
<p><?php _e('When you activate your AdRotate Pro license you can use the more personal email support. No more queueing up in the forums. AdRotate support takes priority over the forums and is checked once or twice a day. Get a solution (usually) within two business days.', 'adrotate'); ?></p>
|
46 |
</div>
|
47 |
</div>
|
@@ -52,7 +52,7 @@
|
|
52 |
<div class="ajdg-postbox">
|
53 |
<h2 class="ajdg-postbox-title"><?php _e('Localize your ad campaigns with Geo Targeting', 'adrotate'); ?></h2>
|
54 |
<div id="geo-targeting" class="ajdg-postbox-content">
|
55 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
56 |
<p><?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 or AdRotate Geo. AdRotate Geo is an exclusive Geo Lookup service for AdRotate Pro users.', 'adrotate'); ?></p>
|
57 |
</div>
|
58 |
</div>
|
@@ -60,7 +60,7 @@
|
|
60 |
<div class="ajdg-postbox">
|
61 |
<h2 class="ajdg-postbox-title"><?php _e('Avoid adblockers', 'adrotate'); ?></h2>
|
62 |
<div id="adblockers" class="ajdg-postbox-content">
|
63 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
64 |
<p><?php _e('Try and avoid adblockers so your 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>
|
65 |
</div>
|
66 |
</div>
|
@@ -68,7 +68,7 @@
|
|
68 |
<div class="ajdg-postbox">
|
69 |
<h2 class="ajdg-postbox-title"><?php _e('Statistics', 'adrotate'); ?></h2>
|
70 |
<div id="developed-by" class="ajdg-postbox-content">
|
71 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
72 |
<p><?php _e('Get statistics in AdRotate Pro. Similar to the free version you can track stats in AdRotate itself and use all kinds of extra scheduling options. Or you can track stats in Google Analytics and see more in-depth information which relates to your visitors that way.', 'adrotate'); ?></p>
|
73 |
</div>
|
74 |
</div>
|
@@ -76,7 +76,7 @@
|
|
76 |
<div class="ajdg-postbox">
|
77 |
<h2 class="ajdg-postbox-title"><?php _e('Stay up-to-date with notifications', 'adrotate'); ?></h2>
|
78 |
<div id="notifications" class="ajdg-postbox-content">
|
79 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
80 |
<p><?php _e('Stay in touch with Email notifications. Have AdRotate send you an alert when adverts expire or need your attention. Get notified when adverts expire, have errors or when advertisers create new adverts. Select up to three email addresses to be notified. Never miss an expiration date again.', 'adrotate'); ?></p>
|
81 |
</div>
|
82 |
</div>
|
@@ -88,28 +88,28 @@
|
|
88 |
|
89 |
<div style="text-align: center; margin-top: 30px;">
|
90 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
91 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-single
|
92 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-single
|
93 |
-
<div class="sub_title">Use on 1 website<br /><a href="https://ajdg.solutions/product/adrotate-pro-single
|
94 |
-
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1124" target="_blank">Buy now for € 39</a></div>
|
95 |
</div>
|
96 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
97 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-duo
|
98 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-duo
|
99 |
-
<div class="sub_title">Use on 2 websites<br /><a href="https://ajdg.solutions/product/adrotate-pro-duo
|
100 |
-
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1126" target="_blank">Buy now for € 49</a></div>
|
101 |
</div>
|
102 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
103 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-multi
|
104 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-multi
|
105 |
-
<div class="sub_title">Use on up-to 5 websites<br /><a href="https://ajdg.solutions/product/adrotate-pro-multi
|
106 |
-
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1128" target="_blank">Buy now for € 99</a></div>
|
107 |
</div>
|
108 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
109 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-developer
|
110 |
-
<a href="https://ajdg.solutions/product/adrotate-pro-developer
|
111 |
-
<div class="sub_title">Use on up-to 100 websites<br /><a href="https://ajdg.solutions/product/adrotate-pro-developer
|
112 |
-
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1130" target="_blank">Buy now for € 199</a></div>
|
113 |
</div>
|
114 |
</div>
|
115 |
|
17 |
<div class="ajdg-postbox">
|
18 |
<h2 class="ajdg-postbox-title"><?php _e('Mobile campaigns', 'adrotate'); ?></h2>
|
19 |
<div id="mobile" class="ajdg-postbox-content">
|
20 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=mobile_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-mobile.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
21 |
<p><?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 or mobile operating system. 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>
|
22 |
</div>
|
23 |
</div>
|
25 |
<div class="ajdg-postbox">
|
26 |
<h2 class="ajdg-postbox-title"><?php _e('Schedule all campaigns with ease', 'adrotate'); ?></h2>
|
27 |
<div id="schedules" class="ajdg-postbox-content">
|
28 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=schedule_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-schedule.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
29 |
<p><?php _e('Schedule your adverts and set up advertising campaigns based on dates you or your advertisers specify without hassle. Seasonal adverts, weekly adverts, specific days in the week. You name it, AdRotate schedules it. This makes planning your revenue stream very flexible. You can set one or many schedules for adverts.', 'adrotate'); ?></p>
|
30 |
</div>
|
31 |
</div>
|
33 |
<div class="ajdg-postbox">
|
34 |
<h2 class="ajdg-postbox-title"><?php _e('Satisfy your advertisers', 'adrotate'); ?></h2>
|
35 |
<div id="satisfaction" class="ajdg-postbox-content">
|
36 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=satisfy_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-satisfy.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
37 |
<p><?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>
|
38 |
</div>
|
39 |
</div>
|
41 |
<div class="ajdg-postbox">
|
42 |
<h2 class="ajdg-postbox-title"><?php _e('Get Fast Support almost all year round', 'adrotate'); ?></h2>
|
43 |
<div id="support" class="ajdg-postbox-content">
|
44 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=support_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-support.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
45 |
<p><?php _e('When you activate your AdRotate Pro license you can use the more personal email support. No more queueing up in the forums. AdRotate support takes priority over the forums and is checked once or twice a day. Get a solution (usually) within two business days.', 'adrotate'); ?></p>
|
46 |
</div>
|
47 |
</div>
|
52 |
<div class="ajdg-postbox">
|
53 |
<h2 class="ajdg-postbox-title"><?php _e('Localize your ad campaigns with Geo Targeting', 'adrotate'); ?></h2>
|
54 |
<div id="geo-targeting" class="ajdg-postbox-content">
|
55 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=geo_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-geo-targeting.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
56 |
<p><?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 or AdRotate Geo. AdRotate Geo is an exclusive Geo Lookup service for AdRotate Pro users.', 'adrotate'); ?></p>
|
57 |
</div>
|
58 |
</div>
|
60 |
<div class="ajdg-postbox">
|
61 |
<h2 class="ajdg-postbox-title"><?php _e('Avoid adblockers', 'adrotate'); ?></h2>
|
62 |
<div id="adblockers" class="ajdg-postbox-content">
|
63 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=adblock_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-adblock.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
64 |
<p><?php _e('Try and avoid adblockers so your 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>
|
65 |
</div>
|
66 |
</div>
|
68 |
<div class="ajdg-postbox">
|
69 |
<h2 class="ajdg-postbox-title"><?php _e('Statistics', 'adrotate'); ?></h2>
|
70 |
<div id="developed-by" class="ajdg-postbox-content">
|
71 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=stats_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-stats.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
72 |
<p><?php _e('Get statistics in AdRotate Pro. Similar to the free version you can track stats in AdRotate itself and use all kinds of extra scheduling options. Or you can track stats in Google Analytics and see more in-depth information which relates to your visitors that way.', 'adrotate'); ?></p>
|
73 |
</div>
|
74 |
</div>
|
76 |
<div class="ajdg-postbox">
|
77 |
<h2 class="ajdg-postbox-title"><?php _e('Stay up-to-date with notifications', 'adrotate'); ?></h2>
|
78 |
<div id="notifications" class="ajdg-postbox-content">
|
79 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=notification_icon" target="_blank"><img src="<?php echo plugins_url('/images/pro/demo-notifications.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a>
|
80 |
<p><?php _e('Stay in touch with Email notifications. Have AdRotate send you an alert when adverts expire or need your attention. Get notified when adverts expire, have errors or when advertisers create new adverts. Select up to three email addresses to be notified. Never miss an expiration date again.', 'adrotate'); ?></p>
|
81 |
</div>
|
82 |
</div>
|
88 |
|
89 |
<div style="text-align: center; margin-top: 30px;">
|
90 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
91 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-single/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=single" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/pro/single.jpg", dirname(__FILE__)); ?>" alt="WordPress Maintenance & Updates" width="228" height="120"></div></a>
|
92 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-single/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=single" target="_blank"><div class="title">AdRotate Professional</div></a>
|
93 |
+
<div class="sub_title">Use on 1 website<br /><a href="https://ajdg.solutions/product/adrotate-pro-single/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=single" target="_blank">More information</a></div>
|
94 |
+
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1124&pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=single_buy" target="_blank">Buy now for € 39</a></div>
|
95 |
</div>
|
96 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
97 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-duo/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=duo" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/pro/duo.jpg", dirname(__FILE__)); ?>" alt="WordPress Maintenance & Updates" width="228" height="120"></div></a>
|
98 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-duo/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=duo" target="_blank"><div class="title">AdRotate Professional</div></a>
|
99 |
+
<div class="sub_title">Use on 2 websites<br /><a href="https://ajdg.solutions/product/adrotate-pro-duo/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=duo" target="_blank">More information</a></div>
|
100 |
+
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1126&pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=duo_buy" target="_blank">Buy now for € 49</a></div>
|
101 |
</div>
|
102 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
103 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-multi/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=multi" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/pro/multi.jpg", dirname(__FILE__)); ?>" alt="WordPress Maintenance & Updates" width="228" height="120"></div></a>
|
104 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-multi/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=multi" target="_blank"><div class="title">AdRotate Professional</div></a>
|
105 |
+
<div class="sub_title">Use on up-to 5 websites<br /><a href="https://ajdg.solutions/product/adrotate-pro-multi/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=multi" target="_blank">More information</a></div>
|
106 |
+
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1128&pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=multi_buy" target="_blank">Buy now for € 99</a></div>
|
107 |
</div>
|
108 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:20px; width: 230px;">
|
109 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-developer/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=developer" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/pro/developer.jpg", dirname(__FILE__)); ?>" alt="WordPress Maintenance & Updates" width="228" height="120"></div></a>
|
110 |
+
<a href="https://ajdg.solutions/product/adrotate-pro-developer/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=developer" target="_blank"><div class="title">AdRotate Professional</div></a>
|
111 |
+
<div class="sub_title">Use on up-to 100 websites<br /><a href="https://ajdg.solutions/product/adrotate-pro-developer/?pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=developer" target="_blank">More information</a></div>
|
112 |
+
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/?add-to-cart=1130&pk_campaign=adrotatefree&pk_keyword=adrotatepro_page&pk_content=developer_buy" target="_blank">Buy now for € 199</a></div>
|
113 |
</div>
|
114 |
</div>
|
115 |
|
dashboard/info.php
CHANGED
@@ -55,30 +55,30 @@ $data = get_option("adrotate_advert_status");
|
|
55 |
<tr>
|
56 |
<td width="33%">
|
57 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:2%;">
|
58 |
-
<a href="https://ajdg.solutions/product/adrotate-html5-setup-service
|
59 |
-
<a href="https://ajdg.solutions/product/adrotate-html5-setup-service
|
60 |
<div class="sub_title"><?php _e('Professional service', 'adrotate'); ?></div>
|
61 |
-
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/adrotate-html5-setup-service
|
62 |
<hr>
|
63 |
<div class="description"><?php _e('Did you get a HTML5 advert and can’t get it to work in AdRotate Pro? I’ll install and configure it for you.', 'adrotate'); ?></div>
|
64 |
</div>
|
65 |
</td>
|
66 |
<td width="33%">
|
67 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:2%;">
|
68 |
-
<a href="https://ajdg.solutions/product/wordpress-maintenance-and-updates
|
69 |
-
<a href="https://ajdg.solutions/product/wordpress-maintenance-and-updates
|
70 |
<div class="sub_title"><?php _e('Professional service', 'adrotate'); ?></div>
|
71 |
-
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/wordpress-maintenance-and-updates
|
72 |
<hr>
|
73 |
<div class="description"><?php _e('Get all the latest updates for WordPress and plugins. Maintenance, delete spam and clean up files.', 'adrotate'); ?></div>
|
74 |
</div>
|
75 |
</td>
|
76 |
<td>
|
77 |
<div class="ajdg-sales-widget" style="display: inline-block;">
|
78 |
-
<a href="https://ajdg.solutions/product/woocommerce-single-page-checkout
|
79 |
-
<a href="https://ajdg.solutions/product/woocommerce-single-page-checkout
|
80 |
<div class="sub_title"><?php _e('WooCommerce Plugin', 'adrotate'); ?></div>
|
81 |
-
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/woocommerce-single-page-checkout
|
82 |
<hr>
|
83 |
<div class="description"><?php _e('Merge your cart and checkout pages into one single page in seconds with no setup required at all.', 'adrotate'); ?></div>
|
84 |
</div>
|
@@ -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://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://
|
98 |
|
99 |
<?php wp_widget_rss_output(array(
|
100 |
'url' => 'http://ajdg.solutions/feed/',
|
@@ -109,12 +109,12 @@ $data = get_option("adrotate_advert_status");
|
|
109 |
<div class="ajdg-postbox">
|
110 |
<h2 class="ajdg-postbox-title"><?php _e('Buy AdRotate Professional', 'adrotate'); ?></h2>
|
111 |
<div id="get-pro" class="ajdg-postbox-content">
|
112 |
-
<p><a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
113 |
-
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress
|
114 |
-
<p><a href="https://ajdg.solutions/product/adrotate-pro-single
|
115 |
-
<p><a href="https://ajdg.solutions/product/adrotate-pro-duo
|
116 |
-
<p><a href="https://ajdg.solutions/product/adrotate-pro-multi
|
117 |
-
<p><a href="https://ajdg.solutions/product/adrotate-pro-developer
|
118 |
</div>
|
119 |
</div>
|
120 |
|
55 |
<tr>
|
56 |
<td width="33%">
|
57 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:2%;">
|
58 |
+
<a href="https://ajdg.solutions/product/adrotate-html5-setup-service/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=service-6" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/offers/html5-service.jpg", dirname(__FILE__)); ?>" alt="HTML5 Advert setup" width="228" height="120"></div></a>
|
59 |
+
<a href="https://ajdg.solutions/product/adrotate-html5-setup-service/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=service-6" target="_blank"><div class="title"><?php _e('HTML5 Advert setup', 'adrotate'); ?></div></a>
|
60 |
<div class="sub_title"><?php _e('Professional service', 'adrotate'); ?></div>
|
61 |
+
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/adrotate-html5-setup-service/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=service-6_buy" target="_blank">Only € 22,50 p/ad</a></div>
|
62 |
<hr>
|
63 |
<div class="description"><?php _e('Did you get a HTML5 advert and can’t get it to work in AdRotate Pro? I’ll install and configure it for you.', 'adrotate'); ?></div>
|
64 |
</div>
|
65 |
</td>
|
66 |
<td width="33%">
|
67 |
<div class="ajdg-sales-widget" style="display: inline-block; margin-right:2%;">
|
68 |
+
<a href="https://ajdg.solutions/product/wordpress-maintenance-and-updates/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=service-3" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/offers/wordpress-maintenance.jpg", dirname(__FILE__)); ?>" alt="WordPress Maintenance" width="228" height="120"></div></a>
|
69 |
+
<a href="https://ajdg.solutions/product/wordpress-maintenance-and-updates/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=service-3" target="_blank"><div class="title"><?php _e('WP Maintenance', 'adrotate'); ?></div></a>
|
70 |
<div class="sub_title"><?php _e('Professional service', 'adrotate'); ?></div>
|
71 |
+
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/wordpress-maintenance-and-updates/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=service-3_buy" target="_blank">Starting at € 22,50</a></div>
|
72 |
<hr>
|
73 |
<div class="description"><?php _e('Get all the latest updates for WordPress and plugins. Maintenance, delete spam and clean up files.', 'adrotate'); ?></div>
|
74 |
</div>
|
75 |
</td>
|
76 |
<td>
|
77 |
<div class="ajdg-sales-widget" style="display: inline-block;">
|
78 |
+
<a href="https://ajdg.solutions/product/woocommerce-single-page-checkout/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=woo-2" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/offers/single-page-checkout.jpg", dirname(__FILE__)); ?>" alt="WooCommerce Single Page Checkout" width="228" height="120"></div></a>
|
79 |
+
<a href="https://ajdg.solutions/product/woocommerce-single-page-checkout/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=woo-2" target="_blank"><div class="title"><?php _e('Single Page Checkout', 'adrotate'); ?></div></a>
|
80 |
<div class="sub_title"><?php _e('WooCommerce Plugin', 'adrotate'); ?></div>
|
81 |
+
<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/woocommerce-single-page-checkout/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=woo-2_buy" target="_blank">Only € 10,-</a></div>
|
82 |
<hr>
|
83 |
<div class="description"><?php _e('Merge your cart and checkout pages into one single page in seconds with no setup required at all.', 'adrotate'); ?></div>
|
84 |
</div>
|
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?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=news_link" 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?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=news_link" 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://arnandegans.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/',
|
109 |
<div class="ajdg-postbox">
|
110 |
<h2 class="ajdg-postbox-title"><?php _e('Buy AdRotate Professional', 'adrotate'); ?></h2>
|
111 |
<div id="get-pro" class="ajdg-postbox-content">
|
112 |
+
<p><a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=buy_pro" target="_blank"><img src="<?php echo plugins_url('/images/logo-60x60.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /></a><?php _e('AdRotate Professional has a lot more functions for even better advertising management. Check out the feature comparison tab on any of the product pages to see what AdRotate Pro has to offer for you!', 'adrotate'); ?></p>
|
113 |
+
<a href="https://ajdg.solutions/plugins/adrotate-for-wordpress/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=buy_pro"><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>
|
114 |
+
<p><a href="https://ajdg.solutions/product/adrotate-pro-single/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=single" target="_blank"><strong><?php _e('Single License', 'adrotate'); ?> (€ 39.00)</strong></a><br /><em><?php _e('Use on ONE WordPress installation.', 'adrotate'); ?> <a href="https://ajdg.solutions/?add-to-cart=1124&pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=single_buy" target="_blank"><?php _e('Buy now', 'adrotate'); ?> »</a></em></p>
|
115 |
+
<p><a href="https://ajdg.solutions/product/adrotate-pro-duo/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=duo" target="_blank"><strong><?php _e('Duo License', 'adrotate'); ?> (€ 49.00)</strong></a><br /><em><?php _e('Use on TWO WordPress installations.', 'adrotate'); ?> <a href="https://ajdg.solutions/?add-to-cart=1126&pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=duo_buy" target="_blank"><?php _e('Buy now', 'adrotate'); ?> »</a></em></p>
|
116 |
+
<p><a href="https://ajdg.solutions/product/adrotate-pro-multi/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=" target="_blank"><strong><?php _e('Multi License', 'adrotate'); ?> (€ 99.00)</strong></a><br /><em><?php _e('Use on up to FIVE WordPress installations.', 'adrotate'); ?> <a href="https://ajdg.solutions/?add-to-cart=1128&pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=multi_buy" target="_blank"><?php _e('Buy now', 'adrotate'); ?> »</a></em></p>
|
117 |
+
<p><a href="https://ajdg.solutions/product/adrotate-pro-developer/?pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=developer" target="_blank"><strong><?php _e('Developer License', 'adrotate'); ?> (€ 199.00)</strong></a><br /><em><?php _e('Use on up to a HUNDRED WordPress installations and/or networks.', 'adrotate'); ?> <a href="https://ajdg.solutions/?add-to-cart=1130&pk_campaign=adrotatefree&pk_keyword=info_page&pk_content=developer_buy" target="_blank"><?php _e('Buy now', 'adrotate'); ?> »</a></em></p>
|
118 |
</div>
|
119 |
</div>
|
120 |
|
dashboard/publisher/adverts-edit.php
CHANGED
@@ -33,8 +33,8 @@ if($edit_banner) {
|
|
33 |
wp_enqueue_script('uploader-hook', plugins_url().'/adrotate/library/uploader-hook.js', array('jquery'));
|
34 |
|
35 |
// Set up start and end date
|
36 |
-
list($start_day, $start_month, $start_year, $start_hour, $start_minute) = explode(" ", date("d
|
37 |
-
list($end_day, $end_month, $end_year, $end_hour, $end_minute) = explode(" ", date("d
|
38 |
$start_date = $start_day.'-'.$start_month.'-'.$start_year;
|
39 |
$end_date = $end_day.'-'.$end_month.'-'.$end_year;
|
40 |
|
@@ -235,11 +235,11 @@ if($edit_banner) {
|
|
235 |
<table class="widefat" style="margin-top: .5em">
|
236 |
<tbody>
|
237 |
<tr>
|
238 |
-
<th width="15%"><?php _e('Start date', 'adrotate'); ?> (dd-
|
239 |
<td width="35%">
|
240 |
<input tabindex="9" type="text" id="startdate_picker" name="adrotate_start_date" value="<?php echo $start_date; ?>" class="datepicker ajdg-inputfield" autocomplete="off" />
|
241 |
</td>
|
242 |
-
<th width="15%"><?php _e('End date', 'adrotate'); ?> (dd-
|
243 |
<td>
|
244 |
<input tabindex="10" type="text" id="enddate_picker" name="adrotate_end_date" value="<?php echo $end_date; ?>" class="datepicker ajdg-inputfield" autocomplete="off" />
|
245 |
</td>
|
33 |
wp_enqueue_script('uploader-hook', plugins_url().'/adrotate/library/uploader-hook.js', array('jquery'));
|
34 |
|
35 |
// Set up start and end date
|
36 |
+
list($start_day, $start_month, $start_year, $start_hour, $start_minute) = explode(" ", date("d M Y H i", $schedule->starttime));
|
37 |
+
list($end_day, $end_month, $end_year, $end_hour, $end_minute) = explode(" ", date("d M Y H i", $schedule->stoptime));
|
38 |
$start_date = $start_day.'-'.$start_month.'-'.$start_year;
|
39 |
$end_date = $end_day.'-'.$end_month.'-'.$end_year;
|
40 |
|
235 |
<table class="widefat" style="margin-top: .5em">
|
236 |
<tbody>
|
237 |
<tr>
|
238 |
+
<th width="15%"><?php _e('Start date', 'adrotate'); ?> (dd-mmm-yyyy)</th>
|
239 |
<td width="35%">
|
240 |
<input tabindex="9" type="text" id="startdate_picker" name="adrotate_start_date" value="<?php echo $start_date; ?>" class="datepicker ajdg-inputfield" autocomplete="off" />
|
241 |
</td>
|
242 |
+
<th width="15%"><?php _e('End date', 'adrotate'); ?> (dd-mmm-yyyy)</th>
|
243 |
<td>
|
244 |
<input tabindex="10" type="text" id="enddate_picker" name="adrotate_end_date" value="<?php echo $end_date; ?>" class="datepicker ajdg-inputfield" autocomplete="off" />
|
245 |
</td>
|
dashboard/settings/roles.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
<?php wp_nonce_field('adrotate_settings','adrotate_nonce_settings'); ?>
|
15 |
<input type="hidden" name="adrotate_settings_tab" value="<?php echo $active_tab; ?>" />
|
16 |
|
17 |
-
<h2><?php _e('Roles', 'adrotate'); ?></h2>
|
18 |
<span class="description"><?php _e('Who has access to what?', 'adrotate'); ?></span>
|
19 |
<table class="form-table">
|
20 |
<tr>
|
14 |
<?php wp_nonce_field('adrotate_settings','adrotate_nonce_settings'); ?>
|
15 |
<input type="hidden" name="adrotate_settings_tab" value="<?php echo $active_tab; ?>" />
|
16 |
|
17 |
+
<h2><?php _e('Access Roles', 'adrotate'); ?></h2>
|
18 |
<span class="description"><?php _e('Who has access to what?', 'adrotate'); ?></span>
|
19 |
<table class="form-table">
|
20 |
<tr>
|
dashboard/settings/statistics.php
CHANGED
@@ -29,19 +29,19 @@
|
|
29 |
<option value="0" disabled>Piwik/Matomo Analytics (<?php _e('Advanced', 'adrotate'); ?>)</option>
|
30 |
</select><br />
|
31 |
<span class="description">
|
32 |
-
<strong>AdRotate Tracker</strong> - <?php _e('Tracks impressions and clicks locally', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/adrotate-statistics
|
33 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions, Click and impression limits, impression spread for schedules. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
34 |
|
35 |
-
<strong>Google Global Tag</strong> - <?php _e('Requires Google Global Tag tracker installed in your sites footer!', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/google-analytics/installing-and-using-google-global-site-tag
|
36 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
37 |
|
38 |
-
<strong>Google Tag Manager</strong> - <?php _e('Requires Google Tag Manager installed in your sites head tag and a Google Analytics Account!', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/google-analytics/installing-and-using-google-tag-manager
|
39 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via custom events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
40 |
|
41 |
<strong>Google Universal Tracker</strong> - <?php _e('Maintained for backwards compatibility, please switch to Google Global Tag or Google Tag Manager.', 'adrotate'); ?>.<br />
|
42 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
43 |
|
44 |
-
<strong>Piwik/Matomo Analytics</strong> - <?php _e('Requires
|
45 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Click and Impression recording via Cookie. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em>
|
46 |
</span>
|
47 |
</td>
|
29 |
<option value="0" disabled>Piwik/Matomo Analytics (<?php _e('Advanced', 'adrotate'); ?>)</option>
|
30 |
</select><br />
|
31 |
<span class="description">
|
32 |
+
<strong>AdRotate Tracker</strong> - <?php _e('Tracks impressions and clicks locally', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/adrotate-statistics/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=adrotate_tracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
33 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions, Click and impression limits, impression spread for schedules. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
34 |
|
35 |
+
<strong>Google Global Tag</strong> - <?php _e('Requires Google Global Tag tracker installed in your sites footer!', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/google-analytics/installing-and-using-google-global-site-tag/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=globaltag_tracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
36 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
37 |
|
38 |
+
<strong>Google Tag Manager</strong> - <?php _e('Requires Google Tag Manager installed in your sites head tag and a Google Analytics Account!', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/google-analytics/installing-and-using-google-tag-manager/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=tagmanager_tracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
39 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via custom events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
40 |
|
41 |
<strong>Google Universal Tracker</strong> - <?php _e('Maintained for backwards compatibility, please switch to Google Global Tag or Google Tag Manager.', 'adrotate'); ?>.<br />
|
42 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Clicks and Impressions via events. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em><br /><br />
|
43 |
|
44 |
+
<strong>Piwik/Matomo Analytics</strong> - <?php _e('Requires the Matomo tracker installed in your sites footer.', 'adrotate'); ?> - <a href="https://ajdg.solutions/support/adrotate-manuals/matomo-analytics/?pk_campaign=adrotatefree&pk_keyword=settings_stats&pk_content=matomo_tracker" target="_blank"><?php _e('Setup guide', 'adrotate'); ?></a>.<br />
|
45 |
<strong><?php _e('Supports:', 'adrotate'); ?></strong> <em><?php _e('Click and Impression recording via Cookie. Javascript/HTML5 adverts will only track impressions.', 'adrotate'); ?></em>
|
46 |
</span>
|
47 |
</td>
|
dashboard/support.php
CHANGED
@@ -15,9 +15,6 @@ $groups = $wpdb->get_var("SELECT COUNT(*) FROM `{$wpdb->prefix}adrotate_groups`
|
|
15 |
$schedules = $wpdb->get_var("SELECT COUNT(*) FROM `{$wpdb->prefix}adrotate_schedule` WHERE `name` != '';");
|
16 |
$queued = $wpdb->get_var("SELECT COUNT(*) FROM `{$wpdb->prefix}adrotate` WHERE `type` = 'queue' OR `type` = 'reject';");
|
17 |
$data = get_option("adrotate_advert_status");
|
18 |
-
|
19 |
-
// Random banner for Media.net
|
20 |
-
$partner = mt_rand(1,3);
|
21 |
?>
|
22 |
|
23 |
<div id="dashboard-widgets-wrap">
|
@@ -27,14 +24,14 @@ $partner = mt_rand(1,3);
|
|
27 |
<div class="ajdg-postbox">
|
28 |
<h2 class="ajdg-postbox-title"><?php _e('Support Forums', 'adrotate'); ?></h2>
|
29 |
<div id="news" class="ajdg-postbox-content">
|
30 |
-
<p><img src="<?php echo plugins_url('/images/icon-support.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /><?php _e('When you are stuck with AdRotate or AdRotate Pro, check the forums first. Chances are your question has already been asked and answered!', 'adrotate'); ?> <?php _e('Next to the forum there are many manuals and guides available for almost every function and feature in the plugin.', 'adrotate'); ?> <a href="https://ajdg.solutions/support/adrotate-manuals
|
31 |
|
32 |
-
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/general-support
|
33 |
-
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/installation-and-setup
|
34 |
-
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/adverts-and-banners
|
35 |
-
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/groups
|
36 |
-
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/advert-statistics
|
37 |
-
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/bug-reports
|
38 |
</div>
|
39 |
</div>
|
40 |
|
@@ -43,8 +40,8 @@ $partner = mt_rand(1,3);
|
|
43 |
<div id="get-pro" class="ajdg-postbox-content">
|
44 |
<p><img src="<?php echo plugins_url('/images/icon-services.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /><?php _e('Have stuff done for you, by AJdG Solutions. If you need HTML5 Adverts set up. Or do not know how to update the plugin. Get me to do it for you! These professional services are available for every AdRotate and AdRotate Pro user and are usually handled in less than 2 business days.', 'adrotate'); ?></p>
|
45 |
|
46 |
-
<p><a href="https://ajdg.solutions/product/adrotate-
|
47 |
-
<p><a href="https://ajdg.solutions/product/adrotate-
|
48 |
<p><strong><?php _e('AdRotate setup', 'adrotate'); ?> (€ 45/hr)</strong></strong><br /><em><?php _e('Contact AJdG Solutions and inquire about the possibilities to set up AdRotate for you.', 'adrotate'); ?></em></p>
|
49 |
</div>
|
50 |
</div>
|
15 |
$schedules = $wpdb->get_var("SELECT COUNT(*) FROM `{$wpdb->prefix}adrotate_schedule` WHERE `name` != '';");
|
16 |
$queued = $wpdb->get_var("SELECT COUNT(*) FROM `{$wpdb->prefix}adrotate` WHERE `type` = 'queue' OR `type` = 'reject';");
|
17 |
$data = get_option("adrotate_advert_status");
|
|
|
|
|
|
|
18 |
?>
|
19 |
|
20 |
<div id="dashboard-widgets-wrap">
|
24 |
<div class="ajdg-postbox">
|
25 |
<h2 class="ajdg-postbox-title"><?php _e('Support Forums', 'adrotate'); ?></h2>
|
26 |
<div id="news" class="ajdg-postbox-content">
|
27 |
+
<p><img src="<?php echo plugins_url('/images/icon-support.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /><?php _e('When you are stuck with AdRotate or AdRotate Pro, check the forums first. Chances are your question has already been asked and answered!', 'adrotate'); ?> <?php _e('Next to the forum there are many manuals and guides available for almost every function and feature in the plugin.', 'adrotate'); ?> <a href="https://ajdg.solutions/support/adrotate-manuals/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=manuals_link" target="_blank"><?php _e('Take a look at the AdRotate Manuals', 'adrotate'); ?></a>.</p>
|
28 |
|
29 |
+
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/general-support/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_general" target="_blank"><strong>General Support</strong></a><br /><em>Ask anything about AdRotate and AdRotate Pro here. <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/general-support/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_general" target="_blank"><?php _e('View topics', 'adrotate'); ?> »</a></em></p>
|
30 |
+
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/installation-and-setup/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_installation" target="_blank"><strong>Installation and Setup</strong></a><br /><em>Having trouble installing AdRotate (Pro) or not sure how to get started? <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/installation-and-setup/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_installation" target="_blank"><?php _e('View topics', 'adrotate'); ?> »</a></em></p>
|
31 |
+
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/adverts-and-banners/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_adverts" target="_blank"><strong>Adverts and Banners</strong></a><br /><em>The moneymaker! Your adverts. <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/adverts-and-banners/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_adverts" target="_blank"><?php _e('View topics', 'adrotate'); ?> »</a></em></p>
|
32 |
+
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/groups/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_groups" target="_blank"><strong>Groups</strong></a><br /><em>All about groups. <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/groups/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_groups" target="_blank"><?php _e('View topics', 'adrotate'); ?> »</a></em></p>
|
33 |
+
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/advert-statistics/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_stats" target="_blank"><strong>Advert Statistics</strong></a><br /><em>Graphs, impressions and clicks! <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/advert-statistics/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_stats" target="_blank"><?php _e('View topics', 'adrotate'); ?> »</a></em></p>
|
34 |
+
<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/bug-reports/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_bugs" target="_blank"><strong>Bug Reports</strong></a><br /><em>Found a bug? Or something odd? Let me know! <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/bug-reports/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=forum_bugs" target="_blank"><?php _e('View topics', 'adrotate'); ?> »</a></em></p>
|
35 |
</div>
|
36 |
</div>
|
37 |
|
40 |
<div id="get-pro" class="ajdg-postbox-content">
|
41 |
<p><img src="<?php echo plugins_url('/images/icon-services.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /><?php _e('Have stuff done for you, by AJdG Solutions. If you need HTML5 Adverts set up. Or do not know how to update the plugin. Get me to do it for you! These professional services are available for every AdRotate and AdRotate Pro user and are usually handled in less than 2 business days.', 'adrotate'); ?></p>
|
42 |
|
43 |
+
<p><a href="https://ajdg.solutions/product/adrotate-html5-setup-service/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=service-6" target="_blank"><strong><?php _e('HTML5 Advert setup', 'adrotate'); ?> (€ 22.50/advert)</strong></strong></a><br /><em><?php _e('Got a HTML5 advert that needs to be set up?', 'adrotate'); ?> <a href="https://ajdg.solutions/product/adrotate-html5-setup-service/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=service-6" target="_blank"><?php _e('Order now', 'adrotate'); ?> »</a></em></p>
|
44 |
+
<p><a href="https://ajdg.solutions/product/adrotate-update/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=service-7" target="_blank"><strong><?php _e('Update AdRotate Banner Manager', 'adrotate'); ?> (€ 22.50)</strong></a><br /><em><?php _e('Get a newer version of AdRotate Banner Manager installed.', 'adrotate'); ?> <a href="https://ajdg.solutions/product/adrotate-update/?pk_campaign=adrotatefree&pk_keyword=support_page&pk_content=service-7" target="_blank"><?php _e('Order now', 'adrotate'); ?> »</a></em></p>
|
45 |
<p><strong><?php _e('AdRotate setup', 'adrotate'); ?> (€ 45/hr)</strong></strong><br /><em><?php _e('Contact AJdG Solutions and inquire about the possibilities to set up AdRotate for you.', 'adrotate'); ?></em></p>
|
46 |
</div>
|
47 |
</div>
|
images/notification.png
ADDED
Binary file
|
library/dashboard.css
CHANGED
@@ -18,6 +18,17 @@
|
|
18 |
.postbox-ajdg textarea { border:1px solid #efefef; width:100%; margin:3px 0; padding:3px; }
|
19 |
|
20 |
/* Banner styles */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
.ajdg_notification { margin:12px 0; position:relative; overflow:hidden; }
|
22 |
.ajdg_notification .text { color:#000; font-size:15px; line-height:26px; margin:18px 18px 14px; float:left; width:auto; max-width:80%; }
|
23 |
.ajdg_notification .text span { font-size:12px; }
|
@@ -29,6 +40,7 @@
|
|
29 |
.ajdg_notification .text_update { color:#fff; }
|
30 |
.ajdg_notification .icon { float:right; margin:12px 8px 8px 8px; }
|
31 |
.ajdg_notification .close_notification { float:right; margin:8px; cursor:pointer; }
|
|
|
32 |
|
33 |
/* Dashboard styles */
|
34 |
.ajdg-postbox-container { width: 49.5%; float: left; }
|
18 |
.postbox-ajdg textarea { border:1px solid #efefef; width:100%; margin:3px 0; padding:3px; }
|
19 |
|
20 |
/* Banner styles */
|
21 |
+
.ajdg-notification.notice { padding: 0; margin: 5px 0 10px; border: 1px solid #E5E5E5; background: #FFF; overflow: hidden; -webkit-border-radius: 6px; border-radius: 6px; -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05); position: relative; z-index: 1; min-height: 80px; display: table; }
|
22 |
+
.ajdg-notification > div { display: table-cell; vertical-align: middle; cursor: default; }
|
23 |
+
.ajdg-notification a { text-decoration: none; }
|
24 |
+
.ajdg-notification-logo { background-color: #1fa4d1; background-repeat: no-repeat; background-position: 50% 50%; }
|
25 |
+
.ajdg-notification-logo span { display: block; width: 80px; }
|
26 |
+
.ajdg-notification-message { width: 100%; padding: 10px 20px; color: #444; }
|
27 |
+
.ajdg-notification-message strong { color: #000; }
|
28 |
+
.ajdg-notification-cta { border-left: 1px solid #E5E5E5; background: #F8F8F8; padding: 0 30px; position: relative; white-space: nowrap; }
|
29 |
+
.wp-core-ui .ajdg-notification-cta a, .wp-core-ui .ajdg-notification-cta .button-primary:active { vertical-align: middle; }
|
30 |
+
.ajdg-notification-dismiss { background: transparent; margin-left: 20px; border: 0; cursor: pointer; color: #BBB; text-decoration: none; }
|
31 |
+
/* Old */
|
32 |
.ajdg_notification { margin:12px 0; position:relative; overflow:hidden; }
|
33 |
.ajdg_notification .text { color:#000; font-size:15px; line-height:26px; margin:18px 18px 14px; float:left; width:auto; max-width:80%; }
|
34 |
.ajdg_notification .text span { font-size:12px; }
|
40 |
.ajdg_notification .text_update { color:#fff; }
|
41 |
.ajdg_notification .icon { float:right; margin:12px 8px 8px 8px; }
|
42 |
.ajdg_notification .close_notification { float:right; margin:8px; cursor:pointer; }
|
43 |
+
/* - */
|
44 |
|
45 |
/* Dashboard styles */
|
46 |
.ajdg-postbox-container { width: 49.5%; float: left; }
|
library/jquery.adrotate.datepicker.js
CHANGED
@@ -17,7 +17,7 @@ Original code: Arnan de Gans
|
|
17 |
|
18 |
(function($) {
|
19 |
$(document).ready(function() {
|
20 |
-
$('#startdate_picker').datepicker({dateFormat: 'dd-
|
21 |
-
$('#enddate_picker').datepicker({dateFormat: 'dd-
|
22 |
});
|
23 |
}(jQuery));
|
17 |
|
18 |
(function($) {
|
19 |
$(document).ready(function() {
|
20 |
+
$('#startdate_picker').datepicker({dateFormat: 'dd-M-yy'});
|
21 |
+
$('#enddate_picker').datepicker({dateFormat: 'dd-M-yy'});
|
22 |
});
|
23 |
}(jQuery));
|
readme.txt
CHANGED
@@ -1,89 +1,109 @@
|
|
1 |
=== AdRotate Banner Manager ===
|
2 |
Contributors: adegans
|
3 |
-
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.
|
8 |
-
Stable tag: 5.6
|
9 |
License: GPLv3
|
10 |
|
11 |
-
Manage your
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
With AdRotate Banner Manager you can easily place advertising banners pretty much anywhere on your
|
16 |
|
17 |
Easily create your own adverts with basic HTML and/or Javascript code or use adverts from your favorite Ad Server such as Media.net, Blind Ferret, Yahoo! Adverts, DFP, Google AdSense, Google Ad Manager, Bing Ads, Amazon Affiliates, Chitika, Doubleclick, JuiceAds and many more similar ad servers and affiliate programs.
|
18 |
|
19 |
-
>
|
20 |
|
21 |
-
|
22 |
|
23 |
-
AdRotate Banner Manager looks and feels similar to the WordPress dashboard you already know, this means you're already familiar with AdRotate Banner Manager before you even start using
|
24 |
-
|
25 |
-
Want even more features? Get AdRotate Professional! AdRotate Professional has more features and gives you access to AdRotate Geo and Premium Support!
|
26 |
-
AdRotate Professional features include; Geo targeting for every country, Fine grained control with schedules, Adblock Disguise, Mobile adverts, Media/asset management and much more!
|
27 |
-
Check out the many extras on the [AdRotate Professional website](https://ajdg.solutions/product-category/adrotate-pro/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free)!
|
28 |
|
29 |
<strong>Getting started</strong>
|
30 |
-
|
31 |
-
If you need a hand installing AdRotate Banner Manager or you want someone to handle the initial setup. Take a look at these [services](https://ajdg.solutions/services/?
|
32 |
-
|
33 |
-
> Getting started with AdRotate Banner Manager is not complex, but a little help or advise is never bad.
|
34 |
-
|
35 |
-
<strong>Support and Bug Reports</strong>
|
36 |
-
All manuals, guides and support questions can be found and asked on the [Support page](https://ajdg.solutions/support/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free).
|
37 |
-
Please post bug reports for AdRotate Banner Manager on the [support forum for bug reports](https://ajdg.solutions/forums/forum/adrotate-for-wordpress/bug-reports/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free). I also have a [Tumblr Page](https://ajdgsolutions.tumblr.com/ask) where you can ask your question.
|
38 |
|
39 |
-
|
40 |
|
41 |
**Some of the AdRotate Banner Manager Features**
|
42 |
|
43 |
-
* Works with ad servers such as; Media.net, Blind Ferret, Google
|
44 |
-
*
|
45 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
* Have your advertisers add/edit/manage their own adverts
|
47 |
* Geo Targeting for adverts in every country
|
48 |
* Mobile adverts (differentiate tablets from phones or desktops)
|
49 |
* Disguise adverts from ad blockers so they're less likely to be blocked
|
50 |
* Get email notifications when your adverts need you
|
51 |
-
* Any size advertisement, including 125x125, 468x60, 729x90, 160x600 and every common format you can imagine
|
52 |
-
* Easy to read stats so you can follow how each advert is performing
|
53 |
-
* Automatically delete short running adverts and stats after they expire
|
54 |
-
* Compatible with responsive adverts
|
55 |
-
* Daily, monthly and yearly stats
|
56 |
* Couple adverts to users for personalized stats
|
57 |
-
* Track how many times a banner is clicked and show it's Cick-Through-Ratio (CTR)
|
58 |
-
* Put random, or selected, banners in pages or posts
|
59 |
* Preview banners when creating or editing them
|
60 |
* Advanced time schedules and restrictions you control
|
61 |
* AdRotate Geo, AJdG Solutions' exclusive Geo Targeting service
|
62 |
* Export statistics to CSV
|
63 |
-
* Multiple groups per banner location
|
64 |
-
* Unlimited widgets
|
65 |
-
* Show multiple adverts at once in a grid, column or row
|
66 |
-
* Automagically disable ads after they expire
|
67 |
-
* Dashboard notifications when ads are about to expire or need attention
|
68 |
-
* Use shortcodes, widgets or PHP to put ads on your site
|
69 |
|
70 |
-
AdRotate Banner Manager and AdRotate Professional share many features. But some features are available in AdRotate Professional only. Learn more about [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?
|
71 |
|
72 |
== Installation ==
|
73 |
|
74 |
Installing the plugin is as easy as searching for "Arnan AdRotate" or simply "AdRotate" in your plugin dashboard and clicking "Install Now" from your dashboards plugin page. Just like every other plugin.
|
75 |
Once activated, a new menu appears called "AdRotate" in the dashboard menu from which you manage everything in AdRotate Banner Manager.
|
76 |
|
77 |
-
For more detailed instructions check out the [installation steps](https://ajdg.solutions/support/adrotate-manuals/installing-adrotate-on-your-website/?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
== Frequently Asked Questions ==
|
80 |
|
81 |
= Can I migrate my data from another plugin to AdRotate Banner Manager? =
|
82 |
-
Maybe. Take a look at [AdRotate Switch](https://ajdg.solutions/product/adrotate-switch/?
|
83 |
|
84 |
= How do I use AdRotate Banner Manager =
|
85 |
-
There are [user guides](https://ajdg.solutions/support/adrotate-manuals/?
|
86 |
-
You can also post your questions on the [forum](https://ajdg.solutions/forums/?
|
87 |
|
88 |
= Is AdRotate Banner Manager compatible with Yoast SEO or other SEO plugins? =
|
89 |
Yes, Yoast SEO, All in One SEO pack and all other SEO plugins work fine with AdRotate Banner Manager.
|
@@ -92,67 +112,33 @@ Yes, Yoast SEO, All in One SEO pack and all other SEO plugins work fine with AdR
|
|
92 |
Yes.
|
93 |
|
94 |
= Does AdRotate Banner Manager work alongside caching plugins? =
|
95 |
-
AdRotate Banner Manager works with
|
96 |
Other plugins such as WP Super Cache or WP Fastest Cache may work, but are untested.
|
97 |
|
98 |
= Can I use my adverts from Google AdSense? =
|
99 |
Yes, usually you can use their code as-is.
|
|
|
100 |
|
101 |
= Does AdRotate Banner Manager support HTML5 adverts? =
|
102 |
Yes!
|
103 |
-
If you're stuck installing your HTML5 advert consider the [HTML5 setup service](https://ajdg.solutions/product/adrotate-html5-setup-service/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free).
|
104 |
|
105 |
-
= Does AdRotate Banner Manager work
|
106 |
Yes!
|
107 |
|
108 |
= Can I use bbPress alongside AdRotate Banner Manager? =
|
109 |
Yes!
|
110 |
|
111 |
= Does AdRotate Banner Manager offer click tracking? =
|
112 |
-
Yes, and it counts impressions as well.
|
113 |
|
114 |
= Can I place adverts on forms from Contact Form 7? =
|
115 |
-
|
116 |
|
117 |
= Are emails sent by AdRotate Banner Manager sent through my installed SMTP plugin? =
|
118 |
Yes! SMTP Mailer and similar plugins take over the wp_mail function which is what AdRotate Banner Manager uses.
|
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 |
-
|
151 |
== Screenshots ==
|
152 |
|
153 |
-
> If screenshots are not visible, turn off your adblocker!
|
154 |
-
> See more screenshots on the [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?utm_source=wp-org&utm_medium=readme&utm_campaign=adrotate-free) product pages. A lot of the features shown there are also available in the free version.
|
155 |
-
|
156 |
1. Creating / Editing adverts
|
157 |
2. Managing adverts
|
158 |
3. Scheduling adverts
|
1 |
=== AdRotate Banner Manager ===
|
2 |
Contributors: adegans
|
3 |
+
Donate link: https://www.arnan.me/donate.html?pk_campaign=adrotatefree&pk_keyword=readme
|
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.3
|
8 |
+
Stable tag: 5.6.1
|
9 |
License: GPLv3
|
10 |
|
11 |
+
Manage your advertisements the easy way! Monetise your website with AdRotate. AdRotate has everything you need and keeps management simple!
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
With AdRotate Banner Manager you can easily place advertising banners pretty much anywhere on your website while managing everything from the easy to use dashboard. No fussing with your themes code or complex functions if you don't want to.
|
16 |
|
17 |
Easily create your own adverts with basic HTML and/or Javascript code or use adverts from your favorite Ad Server such as Media.net, Blind Ferret, Yahoo! Adverts, DFP, Google AdSense, Google Ad Manager, Bing Ads, Amazon Affiliates, Chitika, Doubleclick, JuiceAds and many more similar ad servers and affiliate programs.
|
18 |
|
19 |
+
> AdRotate Banner Manager is compatible with every advert you have, all managed from your dashboard.
|
20 |
|
21 |
+
Including Google's new Auto-Ads, Javascript adverts, HTML5, VAST and even old-school Flash adverts.
|
22 |
|
23 |
+
AdRotate Banner Manager looks and feels similar to the WordPress dashboard you already know, this means you're already familiar with AdRotate Banner Manager before you even start using it. Familiarize yourself with the many useful features and you'll be up and running in minutes.
|
|
|
|
|
|
|
|
|
24 |
|
25 |
<strong>Getting started</strong>
|
26 |
+
Get your ad campaigns online in minutes. Simply install the plugin, explore the dashboard pages and new options and start creating ads.
|
27 |
+
If you need a hand installing AdRotate Banner Manager or you just want someone to handle the initial setup. Take a look at these [services](https://ajdg.solutions/services/?pk_campaign=adrotatefree&pk_keyword=readme).
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
+
Getting started with AdRotate Banner Manager is not complex, but a little help or advise is never bad.
|
30 |
|
31 |
**Some of the AdRotate Banner Manager Features**
|
32 |
|
33 |
+
* Works with ad servers such as; Media.net, Blind Ferret, Google, Bing, Amazon, DFP and most other referrer/ad servers
|
34 |
+
* Put random, or selected, banners in pages or posts
|
35 |
+
* Easy management of Adverts, Groups and Schedules
|
36 |
+
* Track how many times a banner is clicked and show it's Cick-Through-Ratio (CTR)
|
37 |
+
* Automagically disable ads after they expire
|
38 |
+
* Use shortcodes, widgets or PHP to put ads on your site
|
39 |
+
* Automatic rotation of ads with Dynamic Groups
|
40 |
+
* Dashboard notifications when ads are about to expire or need attention
|
41 |
+
* Show multiple adverts at once in a grid, column or row
|
42 |
+
* Any size advertisement, including 125x125, 468x60, 729x90, 160x600 and every common format you can imagine
|
43 |
+
* Easy to read stats so you can follow how each advert is performing
|
44 |
+
* Automatically delete short running adverts and stats after they expire
|
45 |
+
* Compatible with responsive adverts
|
46 |
* Have your advertisers add/edit/manage their own adverts
|
47 |
* Geo Targeting for adverts in every country
|
48 |
* Mobile adverts (differentiate tablets from phones or desktops)
|
49 |
* Disguise adverts from ad blockers so they're less likely to be blocked
|
50 |
* Get email notifications when your adverts need you
|
|
|
|
|
|
|
|
|
|
|
51 |
* Couple adverts to users for personalized stats
|
|
|
|
|
52 |
* Preview banners when creating or editing them
|
53 |
* Advanced time schedules and restrictions you control
|
54 |
* AdRotate Geo, AJdG Solutions' exclusive Geo Targeting service
|
55 |
* Export statistics to CSV
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
+
AdRotate Banner Manager and AdRotate Professional share many features. But some features are available in AdRotate Professional only. Learn more about [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?pk_campaign=adrotatefree&pk_keyword=readme) on my website.
|
58 |
|
59 |
== Installation ==
|
60 |
|
61 |
Installing the plugin is as easy as searching for "Arnan AdRotate" or simply "AdRotate" in your plugin dashboard and clicking "Install Now" from your dashboards plugin page. Just like every other plugin.
|
62 |
Once activated, a new menu appears called "AdRotate" in the dashboard menu from which you manage everything in AdRotate Banner Manager.
|
63 |
|
64 |
+
For more detailed instructions check out the [installation steps](https://ajdg.solutions/support/adrotate-manuals/installing-adrotate-on-your-website/?pk_campaign=adrotatefree&pk_keyword=readme) on the AdRotate Banner Manager website.
|
65 |
+
|
66 |
+
== Upgrade Notice ==
|
67 |
+
|
68 |
+
Better support for HTML5 adverts, dashboard fixes and a bit of a database clean-up.
|
69 |
+
|
70 |
+
== Changelog ==
|
71 |
+
|
72 |
+
Be a Professional and go Pro. With [AdRotate Professional](https://ajdg.solutions/product-category/adrotate-pro/?pk_campaign=adrotatefree&pk_keyword=readme)!
|
73 |
+
|
74 |
+
= AdRotate Banner Manager 5.6.1 =
|
75 |
+
[change] More modern and polished look for notifications
|
76 |
+
[change] Clearer date format (dd-mmm-yyyy) for date pickers
|
77 |
+
[change] Improved WordPress 5.3 compatibility
|
78 |
+
[change] Dashboard tweaks
|
79 |
+
[fix] Several PHP Warnings on new installs
|
80 |
+
[fix] AdRotate now better removes all database settings on uninstall
|
81 |
+
|
82 |
+
= AdRotate Professional 5.6.3 =
|
83 |
+
[fix] Selected dates not output correctly when editing schedules
|
84 |
+
[fix] End dates not always correct when exporting stats
|
85 |
+
|
86 |
+
= AdRotate Professional 5.6.2 =
|
87 |
+
[change] More modern and polished look for notifications
|
88 |
+
[change] Clearer date format (dd-mmm-yyyy) for date pickers
|
89 |
+
[change] Dashboard tweaks
|
90 |
+
[fix] Improved multisite/network support
|
91 |
+
[fix] Persistent license notification on multisite instances
|
92 |
+
[fix] No longer tries to output WP_Error responses as updates
|
93 |
+
[fix] Session not always created when using duplicate advert filter
|
94 |
+
[fix] Geo Targeting debug array not working
|
95 |
+
[fix] Advertiser dashboard assets not loading correctly
|
96 |
+
|
97 |
+
All recent changes are available on the [AdRotate Banner Manager Changelog](https://ajdg.solutions/support/adrotate-development/?pk_campaign=adrotatefree&pk_keyword=readme).
|
98 |
|
99 |
== Frequently Asked Questions ==
|
100 |
|
101 |
= Can I migrate my data from another plugin to AdRotate Banner Manager? =
|
102 |
+
Maybe. Take a look at [AdRotate Switch](https://ajdg.solutions/product/adrotate-switch/?pk_campaign=adrotatefree&pk_keyword=readme) and see if your current advertising plugin is compatible for migrating your data!
|
103 |
|
104 |
= How do I use AdRotate Banner Manager =
|
105 |
+
There are [user guides](https://ajdg.solutions/support/adrotate-manuals/?pk_campaign=adrotatefree&pk_keyword=readme) with every popular feature explained.
|
106 |
+
You can also post your questions on the [forum](https://ajdg.solutions/forums/?pk_campaign=adrotatefree&pk_keyword=readme).
|
107 |
|
108 |
= Is AdRotate Banner Manager compatible with Yoast SEO or other SEO plugins? =
|
109 |
Yes, Yoast SEO, All in One SEO pack and all other SEO plugins work fine with AdRotate Banner Manager.
|
112 |
Yes.
|
113 |
|
114 |
= Does AdRotate Banner Manager work alongside caching plugins? =
|
115 |
+
AdRotate Banner Manager works best with Borlabs Cache and W3 Total Cache.
|
116 |
Other plugins such as WP Super Cache or WP Fastest Cache may work, but are untested.
|
117 |
|
118 |
= Can I use my adverts from Google AdSense? =
|
119 |
Yes, usually you can use their code as-is.
|
120 |
+
Even Googles new Auto-Ads are supported.
|
121 |
|
122 |
= Does AdRotate Banner Manager support HTML5 adverts? =
|
123 |
Yes!
|
|
|
124 |
|
125 |
+
= Does AdRotate Banner Manager work with WooCommerce? =
|
126 |
Yes!
|
127 |
|
128 |
= Can I use bbPress alongside AdRotate Banner Manager? =
|
129 |
Yes!
|
130 |
|
131 |
= Does AdRotate Banner Manager offer click tracking? =
|
132 |
+
Yes, and it counts impressions and CTR as well.
|
133 |
|
134 |
= Can I place adverts on forms from Contact Form 7? =
|
135 |
+
All contact form plugins should work fine.
|
136 |
|
137 |
= Are emails sent by AdRotate Banner Manager sent through my installed SMTP plugin? =
|
138 |
Yes! SMTP Mailer and similar plugins take over the wp_mail function which is what AdRotate Banner Manager uses.
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
== Screenshots ==
|
141 |
|
|
|
|
|
|
|
142 |
1. Creating / Editing adverts
|
143 |
2. Managing adverts
|
144 |
3. Scheduling adverts
|