Version Description
Documentation and usability enhancements.
Download this release
Release Info
Developer | manojtd |
Plugin | Easy Plugin for AdSense |
Version | 8.09 |
Comparing to | |
See all releases |
Code changes from version 8.08 to 8.09
- admin/ajax/optionset.php +15 -0
- admin/box-suppressing-ads-options.php +5 -5
- admin/easy-adsense-intro.php +25 -6
- easy-adsense.php +1 -1
- readme.txt +3 -2
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
admin/ajax/optionset.php
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once('../../EzGA.php');
|
4 |
+
|
5 |
+
if (!EzGA::isLoggedIn()) {
|
6 |
+
http_response_code(400);
|
7 |
+
die("Please login before messing with this!");
|
8 |
+
}
|
9 |
+
|
10 |
+
http_response_code(200);
|
11 |
+
require_once '../Migrator.php';
|
12 |
+
$migrator = new Migrator();
|
13 |
+
$migrator->migrate(true);
|
14 |
+
|
15 |
+
exit();
|
admin/box-suppressing-ads-options.php
CHANGED
@@ -9,11 +9,11 @@ $ezOptions['kill_page'] = array('name' => '<a href="http://codex.wordpress.org/P
|
|
9 |
'type' => 'checkbox2');
|
10 |
$ezOptions['kill_home'] = array('name' => __("Home Page", 'easy-ads'),
|
11 |
'help' => __("Suppress ads on your home page? Home Page and Front Page are the same for most blogs.", 'easy-ads'),
|
12 |
-
'value' =>
|
13 |
'type' => 'checkbox2');
|
14 |
$ezOptions['kill_front_page'] = array('name' => __("Front Page", 'easy-ads'),
|
15 |
'help' => __("Suppress ads on your front page? Home Page and Front Page are the same for most blogs.", 'easy-ads'),
|
16 |
-
'value' =>
|
17 |
'type' => 'checkbox2');
|
18 |
$ezOptions['kill_attachment'] = array('name' => __("Attachment Page", 'easy-ads'),
|
19 |
'help' => __("Suppress ads on pages that show attachments?", 'easy-ads'),
|
@@ -21,7 +21,7 @@ $ezOptions['kill_attachment'] = array('name' => __("Attachment Page", 'easy-ads'
|
|
21 |
'type' => 'checkbox2');
|
22 |
$ezOptions['kill_category'] = array('name' => __("Category Pages", 'easy-ads'),
|
23 |
'help' => __("Suppress ads on pages that come up when you click on category names?", 'easy-ads'),
|
24 |
-
'value' =>
|
25 |
'type' => 'checkbox2');
|
26 |
$ezOptions['kill_search'] = array('name' => __("Search Page", 'easy-ads'),
|
27 |
'help' => __("Suppress ads on pages that show search results?", 'easy-ads'),
|
@@ -33,9 +33,9 @@ $ezOptions['kill_sticky'] = array('name' => __("Sticky Front Page", 'easy-ads'),
|
|
33 |
'type' => 'checkbox2');
|
34 |
$ezOptions['kill_tag'] = array('name' => __("Tag Pages", 'easy-ads'),
|
35 |
'help' => __("Suppress ads on pages that come up when you click on tag names?", 'easy-ads'),
|
36 |
-
'value' =>
|
37 |
'type' => 'checkbox2');
|
38 |
$ezOptions['kill_archive'] = array('name' => __("Archive Pages", 'easy-ads'),
|
39 |
'help' => __("Suppress ads on pages that come up when you click on year/month archives?", 'easy-ads'),
|
40 |
-
'value' =>
|
41 |
'type' => 'checkbox2');
|
9 |
'type' => 'checkbox2');
|
10 |
$ezOptions['kill_home'] = array('name' => __("Home Page", 'easy-ads'),
|
11 |
'help' => __("Suppress ads on your home page? Home Page and Front Page are the same for most blogs.", 'easy-ads'),
|
12 |
+
'value' => 0,
|
13 |
'type' => 'checkbox2');
|
14 |
$ezOptions['kill_front_page'] = array('name' => __("Front Page", 'easy-ads'),
|
15 |
'help' => __("Suppress ads on your front page? Home Page and Front Page are the same for most blogs.", 'easy-ads'),
|
16 |
+
'value' => 0,
|
17 |
'type' => 'checkbox2');
|
18 |
$ezOptions['kill_attachment'] = array('name' => __("Attachment Page", 'easy-ads'),
|
19 |
'help' => __("Suppress ads on pages that show attachments?", 'easy-ads'),
|
21 |
'type' => 'checkbox2');
|
22 |
$ezOptions['kill_category'] = array('name' => __("Category Pages", 'easy-ads'),
|
23 |
'help' => __("Suppress ads on pages that come up when you click on category names?", 'easy-ads'),
|
24 |
+
'value' => 0,
|
25 |
'type' => 'checkbox2');
|
26 |
$ezOptions['kill_search'] = array('name' => __("Search Page", 'easy-ads'),
|
27 |
'help' => __("Suppress ads on pages that show search results?", 'easy-ads'),
|
33 |
'type' => 'checkbox2');
|
34 |
$ezOptions['kill_tag'] = array('name' => __("Tag Pages", 'easy-ads'),
|
35 |
'help' => __("Suppress ads on pages that come up when you click on tag names?", 'easy-ads'),
|
36 |
+
'value' => 0,
|
37 |
'type' => 'checkbox2');
|
38 |
$ezOptions['kill_archive'] = array('name' => __("Archive Pages", 'easy-ads'),
|
39 |
'help' => __("Suppress ads on pages that come up when you click on year/month archives?", 'easy-ads'),
|
40 |
+
'value' => 0,
|
41 |
'type' => 'checkbox2');
|
admin/easy-adsense-intro.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
<p><strong>Easy AdSense (AKA Easy Plugin for AdSense)</strong>: The most popular AdSense plugin for WordPress, Easy AdSense lets you place up to three ads on your posts and pages, with independent ad codes. In addtion, you can add widgets to your side bar with ads, <a href='https://support.google.com/adsense/answer/15817' target='_blank' class='popup'>link units</a> or <a href='https://support.google.com/adsense/answer/160530' target='_blank'class='popup'>search boxes</a>, all generating revenue for you.</p>
|
7 |
|
8 |
<p>
|
9 |
-
<a class="btn btn-primary btn-help" data-content="<p>Easy Plugin for AdSense provides a very easy way to generate revenue from your blog using Google AdSense. With its full set of features, Easy Plugin for AdSense is perhaps the first plugin to give you a complete solution for everything AdSense-related.</p><ol>
|
10 |
<li>Easy Plugin for AdSense enforces the Google AdSense policy of not more than three adsense blocks per page.</li>
|
11 |
<li>Easy Adsense provides Sidebar Widgets:
|
12 |
<ul>
|
@@ -27,9 +27,9 @@
|
|
27 |
<li>Popover help for every option in the plugin.</li>
|
28 |
<li>An interface tour to familiarize yourself with the plugin features and layout.</li>
|
29 |
<li>Ability to spawn the plugin interface as a separate tab/window independent of the WordPress admin interface.</li>
|
30 |
-
</ol>"><i class='glyphicon glyphicon-
|
31 |
|
32 |
-
<a class="btn btn-primary btn-help" data-content="<p>In addition to the fully functional Lite version, there is a <a href='http://buy.thulasidas.com/easy-adsense' title='Get Easy AdSense Pro for $7.95' class='goPro' data-product='easy-adsense'>Pro Version</a> with many more features.</p>
|
33 |
<p>If the following features are important to you, consider buying the <em>Pro</em> version.</p><ol>
|
34 |
<li>Safe Content filter: To ensure that your Google AdSense ads show only on those pages that seem to comply with Google AdSense policies, which can be important since some comments may render your pages inconsistent with those policies.</li>
|
35 |
<li>IP filter: Ability to specify a list of computers where your ads will not be shown, in order to prevent accidental clicks on your own ads -- one of the main reasons AdSense bans you. These features will minimize your chance of getting banned.</li>
|
@@ -44,17 +44,22 @@
|
|
44 |
<li>Ad Serving Statistics: Keep an eye on your ad serving statistics to make sure that Google is not shortchanging you. (Optional paid module)</li>
|
45 |
</ol><div class='center-block'><a class='btn btn-sm btn-danger center-block goPro' href='http://buy.thulasidas.com/easy-adsense' title='Get Easy AdSense Pro for $7.95' data-product='easy-adsense'>Go Pro!</a></div>"><i class='glyphicon glyphicon-plane'></i> Pro Features</a>
|
46 |
|
47 |
-
<a href='easy-adsense-admin.php' class="btn btn-
|
48 |
|
49 |
-
<a href='#' id='suspendAds' class="btn btn-
|
|
|
|
|
|
|
|
|
50 |
|
51 |
-
<a href='#' id='resumeAds' style='display:none' class="btn btn-primary btn-success" data-toggle='tooltip' title="<p>Click to resume ad serving.</p>"><i class='glyphicon glyphicon-play'></i> Resume Ads</a>
|
52 |
</p>
|
53 |
|
54 |
<h3>Credits</h3>
|
55 |
<ul>
|
56 |
<li>Easy AdSense admin interface is based on <a href="http://usman.it/free-responsive-admin-template/">Charisma</a>, a free, responsive admin template built on the twitter bootstrap framework.
|
57 |
</li>
|
|
|
|
|
58 |
</ul>
|
59 |
<script>
|
60 |
$(document).ready(function () {
|
@@ -64,5 +69,19 @@
|
|
64 |
$("#resumeAds").click(function () {
|
65 |
suspendAds('resume');
|
66 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
});
|
68 |
</script>
|
6 |
<p><strong>Easy AdSense (AKA Easy Plugin for AdSense)</strong>: The most popular AdSense plugin for WordPress, Easy AdSense lets you place up to three ads on your posts and pages, with independent ad codes. In addtion, you can add widgets to your side bar with ads, <a href='https://support.google.com/adsense/answer/15817' target='_blank' class='popup'>link units</a> or <a href='https://support.google.com/adsense/answer/160530' target='_blank'class='popup'>search boxes</a>, all generating revenue for you.</p>
|
7 |
|
8 |
<p>
|
9 |
+
<a class="btn btn-primary btn-help" data-toggle='tooltip' title="<p>View plugin features.<br>What can this plugin do?</p>" data-content="<p>Easy Plugin for AdSense provides a very easy way to generate revenue from your blog using Google AdSense. With its full set of features, Easy Plugin for AdSense is perhaps the first plugin to give you a complete solution for everything AdSense-related.</p><ol>
|
10 |
<li>Easy Plugin for AdSense enforces the Google AdSense policy of not more than three adsense blocks per page.</li>
|
11 |
<li>Easy Adsense provides Sidebar Widgets:
|
12 |
<ul>
|
27 |
<li>Popover help for every option in the plugin.</li>
|
28 |
<li>An interface tour to familiarize yourself with the plugin features and layout.</li>
|
29 |
<li>Ability to spawn the plugin interface as a separate tab/window independent of the WordPress admin interface.</li>
|
30 |
+
</ol>"><i class='glyphicon glyphicon-send'></i> Features</a>
|
31 |
|
32 |
+
<a class="btn btn-primary btn-help" data-toggle='tooltip' title="<p>View Pro Features of this Plugin.<br>Why go Pro? You get all the basic features plus these!</p>" data-content="<p>In addition to the fully functional Lite version, there is a <a href='http://buy.thulasidas.com/easy-adsense' title='Get Easy AdSense Pro for $7.95' class='goPro' data-product='easy-adsense'>Pro Version</a> with many more features.</p>
|
33 |
<p>If the following features are important to you, consider buying the <em>Pro</em> version.</p><ol>
|
34 |
<li>Safe Content filter: To ensure that your Google AdSense ads show only on those pages that seem to comply with Google AdSense policies, which can be important since some comments may render your pages inconsistent with those policies.</li>
|
35 |
<li>IP filter: Ability to specify a list of computers where your ads will not be shown, in order to prevent accidental clicks on your own ads -- one of the main reasons AdSense bans you. These features will minimize your chance of getting banned.</li>
|
44 |
<li>Ad Serving Statistics: Keep an eye on your ad serving statistics to make sure that Google is not shortchanging you. (Optional paid module)</li>
|
45 |
</ol><div class='center-block'><a class='btn btn-sm btn-danger center-block goPro' href='http://buy.thulasidas.com/easy-adsense' title='Get Easy AdSense Pro for $7.95' data-product='easy-adsense'>Go Pro!</a></div>"><i class='glyphicon glyphicon-plane'></i> Pro Features</a>
|
46 |
|
47 |
+
<a href='easy-adsense-admin.php' class="btn btn-warning" data-toggle='tooltip' title="<p>Set up the plugin options and enter your AdSense code and details. You can also click on the <strong>Easy AdSense</strong> tab above.</p>"><i class='glyphicon glyphicon-cog'></i> Setup Plugin</a>
|
48 |
|
49 |
+
<a href='#' id='suspendAds' class="btn btn-danger" data-toggle='tooltip' title="<p>Pause ad serving.</p>"><i class='glyphicon glyphicon-pause'></i> Suspend Ads</a>
|
50 |
+
|
51 |
+
<a href='#' id='resumeAds' style='display:none' class="btn btn-success" data-toggle='tooltip' title="<p>Resume ad serving.</p>"><i class='glyphicon glyphicon-play'></i> Resume Ads</a>
|
52 |
+
|
53 |
+
<a href='#' id='migrateOptions' class="btn btn-success" data-toggle='tooltip' title="<p>This version of the plugin uses a new option model. If you used an older version before, your options are automatically imported when you activate the plugin. If you find them missing, please click this button to import them again. Note that your modified options are never overwritten by the migration process; so it is safe to run it again.</p>"><i class='glyphicon glyphicon-import'></i> Import Options</a>
|
54 |
|
|
|
55 |
</p>
|
56 |
|
57 |
<h3>Credits</h3>
|
58 |
<ul>
|
59 |
<li>Easy AdSense admin interface is based on <a href="http://usman.it/free-responsive-admin-template/">Charisma</a>, a free, responsive admin template built on the twitter bootstrap framework.
|
60 |
</li>
|
61 |
+
<li>The Pro version of this plugin uses <a href="http://mobiledetect.net/" target="_blank">Mobile Detect</a>, a lightweight PHP class for detecting mobile devices.
|
62 |
+
</li>
|
63 |
</ul>
|
64 |
<script>
|
65 |
$(document).ready(function () {
|
69 |
$("#resumeAds").click(function () {
|
70 |
suspendAds('resume');
|
71 |
});
|
72 |
+
$("#migrateOptions").click(function (e) {
|
73 |
+
e.preventDefault();
|
74 |
+
var data = {};
|
75 |
+
data.action = 'migrate';
|
76 |
+
$.ajax({url: 'ajax/optionset.php',
|
77 |
+
type: 'POST',
|
78 |
+
data: data,
|
79 |
+
success: function (a) {
|
80 |
+
flashSuccess(a);
|
81 |
+
},
|
82 |
+
error: function (a) {
|
83 |
+
showError(a.responseText);
|
84 |
+
}});
|
85 |
+
});
|
86 |
});
|
87 |
</script>
|
easy-adsense.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Easy Plugin for AdSense
|
5 |
Plugin URI: http://www.thulasidas.com/adsense
|
6 |
Description: <em>Lite Version</em>: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=wp-google-adsense.php">Settings → Easy AdSense Lite</a>.
|
7 |
-
Version: 8.
|
8 |
Author: Manoj Thulasidas
|
9 |
Author URI: http://www.thulasidas.com
|
10 |
*/
|
4 |
Plugin Name: Easy Plugin for AdSense
|
5 |
Plugin URI: http://www.thulasidas.com/adsense
|
6 |
Description: <em>Lite Version</em>: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=wp-google-adsense.php">Settings → Easy AdSense Lite</a>.
|
7 |
+
Version: 8.09
|
8 |
Author: Manoj Thulasidas
|
9 |
Author URI: http://www.thulasidas.com
|
10 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://buy.thulasidas.com/easy-adsense
|
|
4 |
Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 8.
|
8 |
License: GPL2 or later
|
9 |
|
10 |
Easy Plugin for AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
|
@@ -54,7 +54,7 @@ Documentation and usability enhancements.
|
|
54 |
|
55 |
== Screenshots ==
|
56 |
|
57 |
-
1. Easy Plugin for AdSense
|
58 |
2. How to set the plugin options.
|
59 |
3. Advanced configuration of the plugin.
|
60 |
4. Options to support safety, compatibility, mobile devices and category/post control.
|
@@ -140,6 +140,7 @@ A big "Thank You" to all my translators. Easy AdSense V2.6+ sports an *Easy Tran
|
|
140 |
|
141 |
== Change Log ==
|
142 |
|
|
|
143 |
* V8.08: Documentation and usability enhancements. [Mar 11, 2015]
|
144 |
* V8.07: More changes for compatibility with PHP5.30. [Mar 11, 2015]
|
145 |
* V8.06: Various accumulated fixes. [Mar 10, 2015]
|
4 |
Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 8.09
|
8 |
License: GPL2 or later
|
9 |
|
10 |
Easy Plugin for AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
|
54 |
|
55 |
== Screenshots ==
|
56 |
|
57 |
+
1. Easy Plugin for AdSense Dashboard.
|
58 |
2. How to set the plugin options.
|
59 |
3. Advanced configuration of the plugin.
|
60 |
4. Options to support safety, compatibility, mobile devices and category/post control.
|
140 |
|
141 |
== Change Log ==
|
142 |
|
143 |
+
* V8.09: Documentation and usability enhancements. [Mar 13, 2015]
|
144 |
* V8.08: Documentation and usability enhancements. [Mar 11, 2015]
|
145 |
* V8.07: More changes for compatibility with PHP5.30. [Mar 11, 2015]
|
146 |
* V8.06: Various accumulated fixes. [Mar 10, 2015]
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
screenshot-4.png
CHANGED
Binary file
|