Easy Plugin for AdSense - Version 5.11

Version Description

Renaming the plugin -- dropping the word Lite, and other minor documentation changes.

=

Download this release

Release Info

Developer manojtd
Plugin Icon 128x128 Easy Plugin for AdSense
Version 5.11
Comparing to
See all releases

Code changes from version 5.10 to 5.11

Files changed (4) hide show
  1. admin.php +4 -4
  2. easy-adsense-lite.php +23 -23
  3. myPlugins.php +1 -1
  4. readme.txt +20 -19
admin.php CHANGED
@@ -33,7 +33,7 @@ else {
33
  ?>
34
 
35
  <div class="wrap" id="wrapper" style="width:900px">
36
- <h2 title="<?php echo $this->info(false) ?>">Easy AdSense Lite Setup
37
  </h2>
38
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
39
  <?php
@@ -48,7 +48,7 @@ else {
48
  <li>
49
  <a href="#" title="<?php _e('Click for help', 'easy-adsenser') ; ?>" onclick="TagToTip('help0',WIDTH, 300, TITLE, '<?php _e('How to Set it up', 'easy-adsenser') ; ?>', STICKY, 1, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 15, 5])">
50
  <?php
51
- printf(__('A few easy steps to setup %s', 'easy-adsenser'),'<em>Easy AdSense Lite</em>') ;
52
  ?></a><br />
53
  </li>
54
  <li>
@@ -446,7 +446,7 @@ no', 'easy-adsenser') ;?>
446
  <b><?php _e('Discard all your changes and load defaults. (Are you quite sure?)', 'easy-adsenser') ?></b></span>
447
 
448
  <span id="help5">
449
- <font color="red"><?php printf(__('The <b>Uninstall</b> button really kills %s after cleaning up all the options it wrote in your database. This is your only warning! Please be careful with all database operations -- keep a backup.', 'easy-adsenser'), '<em>Easy AdSense Lite</em>') ; ?></font><br />
450
  <b><?php _e('Kill this plugin. (Are you quite sure?)', 'easy-adsenser') ?></b></span>
451
 
452
  <?php
@@ -468,7 +468,7 @@ if (!$ezAdOptions['kill_invites']) {
468
  <tr><td>
469
  <ul style="padding-left:10px;list-style-type:circle; list-style-position:inside;" >
470
  <li>
471
- <?php printf(__('%s uses the excellent Javascript/DHTML tooltips by %s', 'easy-adsenser'), '<b>Easy Adsense Lite</b>', '<a href="http://www.walterzorn.com" target="_blank" title="Javascript, DTML Tooltips"> Walter Zorn</a>.') ;
472
  ?>
473
  </li>
474
  </ul>
33
  ?>
34
 
35
  <div class="wrap" id="wrapper" style="width:900px">
36
+ <h2 title="<?php echo $this->info(false) ?>">Easy AdSense Setup
37
  </h2>
38
  <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
39
  <?php
48
  <li>
49
  <a href="#" title="<?php _e('Click for help', 'easy-adsenser') ; ?>" onclick="TagToTip('help0',WIDTH, 300, TITLE, '<?php _e('How to Set it up', 'easy-adsenser') ; ?>', STICKY, 1, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 15, 5])">
50
  <?php
51
+ printf(__('A few easy steps to setup %s', 'easy-adsenser'),'<em>Easy AdSense</em>') ;
52
  ?></a><br />
53
  </li>
54
  <li>
446
  <b><?php _e('Discard all your changes and load defaults. (Are you quite sure?)', 'easy-adsenser') ?></b></span>
447
 
448
  <span id="help5">
449
+ <font color="red"><?php printf(__('The <b>Uninstall</b> button really kills %s after cleaning up all the options it wrote in your database. This is your only warning! Please be careful with all database operations -- keep a backup.', 'easy-adsenser'), '<em>Easy AdSense</em>') ; ?></font><br />
450
  <b><?php _e('Kill this plugin. (Are you quite sure?)', 'easy-adsenser') ?></b></span>
451
 
452
  <?php
468
  <tr><td>
469
  <ul style="padding-left:10px;list-style-type:circle; list-style-position:inside;" >
470
  <li>
471
+ <?php printf(__('%s uses the excellent Javascript/DHTML tooltips by %s', 'easy-adsenser'), '<b>Easy Adsense</b>', '<a href="http://www.walterzorn.com" target="_blank" title="Javascript, DTML Tooltips"> Walter Zorn</a>.') ;
472
  ?>
473
  </li>
474
  </ul>
easy-adsense-lite.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
- Plugin Name: Easy AdSense Lite
4
  Plugin URI: http://www.thulasidas.com/adsense
5
- Description: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=easy-adsense-lite.php">Settings &rarr; Easy AdSense Lite</a>.
6
- Version: 5.10
7
  Author: Manoj Thulasidas
8
  Author URI: http://www.thulasidas.com
9
  */
@@ -35,7 +35,7 @@ if (!class_exists("ezAdSense")) {
35
  $this->defaults = $defaults ;
36
  }
37
  if (empty($this->defaults)) {
38
- add_action('admin_notices', create_function('', 'if (substr( $_SERVER["PHP_SELF"], -11 ) == "plugins.php"|| $_GET["page"] == "easy-adsense-lite.php") echo \'<div class="error"><p><b><em>Easy AdSense Lite</em></b>: Error locating or loading the defaults! Ensure <code>defaults.php</code> exists, or reinstall the plugin.</p></div>\';')) ;
39
  }
40
  if ((isset($_POST['ezAds-translate']) && strlen($_POST['ezAds-translate']) > 0) ||
41
  (isset($_POST['ezAds-make']) && strlen($_POST['ezAds-make']) > 0) ||
@@ -62,8 +62,8 @@ if (!class_exists("ezAdSense")) {
62
  $name = 'easy-adsenser' ;
63
 
64
  if(!empty($this->locale) && $this->locale != 'en_US') {
65
- $this->invite = '<hr /><font color="red"> Would you like to improve this translation of <b>Easy Adsense Lite</b> in your langugage (<b>' . $locale .
66
- "</b>)?&nbsp; <input type='submit' name='ezAds-translate' onmouseover=\"Tip('If you would like to improve this translation, please use the translation interface. It picks up the translatable strings in &lt;b&gt;Easy AdSense Lite&lt;/b&gt; and presents them and their existing translations in &lt;b&gt;" . $locale .
67
  "&lt;/b&gt; in an easy-to-edit form. You can then generate a translation file and email it to the author all from the same form. Slick, isn\'t it? I will include your translation in the next release.', WIDTH, 350, TITLE, 'How to Translate?', STICKY, 1, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 0, 5])\" onmouseout=\"UnTip()\" value='Improve " . $locale . " translation' /></font>" ;
68
 
69
  $moFile = dirname(__FILE__) . '/lang/' . $this->locale . '/' . $name . '.mo';
@@ -79,8 +79,8 @@ if (!class_exists("ezAdSense")) {
79
  $this->locale = basename(dirname($moFile)) ;
80
  }
81
  $this->invite = '<hr /><font color="red"> Would you like to see ' .
82
- '<b>Easy Adsense Lite</b> in your langugage (<b>' . $locale .
83
- "</b>)?&nbsp; <input type='submit' name='ezAds-translate' onmouseover=\"Tip('It is easy to have &lt;b&gt;Easy AdSense Lite&lt;/b&gt; in your language. All you have to do is to translate some strings, and email the file to the author.&lt;br /&gt;&lt;br /&gt;If you would like to help, please use the translation interface. It picks up the translatable strings in &lt;b&gt;Easy AdSense Lite&lt;/b&gt; and presents them (and their existing translations in &lt;b&gt;" . $this->locale .
84
  "&lt;/b&gt;, if any) in an easy-to-edit form. You can then generate a translation file and email it to the author all from the same form. Slick, isn\'t it? I will include your translation in the next release.', WIDTH, 350, TITLE, 'How to Translate?', STICKY, 1, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 0, 5])\" onmouseout=\"UnTip()\" value ='Please help translate ' /></font>" ;
85
  }
86
  }
@@ -170,7 +170,7 @@ if (!class_exists("ezAdSense")) {
170
  $w = substr($key, 0, $x);
171
  $h = substr($key, $x+1);
172
  $p = (int)(min($w,$h)/6) ;
173
- $ret = '<div style="width:'.$w.'px;height:'.$h.'px;border:1px solid red;"><div style="padding:'.$p.'px;text-align:center;font-family:arial;font-size:8pt;"><p>Your ads will be inserted here by</p><p><b>Easy AdSense Lite</b>.</p><p>Please go to the plugin admin page to paste your ad code.</p></div></div>' ;
174
  }
175
  return $ret ;
176
  }
@@ -475,7 +475,7 @@ if (!class_exists("ezAdSense")) {
475
  $unreal = '<div align="center"><font size="-3">' .
476
  '<a href="http://www.thulasidas.com/adsense/" ' .
477
  'target="_blank" title="The simplest way to put AdSense to work for you!"> ' .
478
- 'Easy AdSense Lite</a> by <a href="http://www.Thulasidas.com/" ' .
479
  'target="_blank" title="Unreal Blog proudly brings you Easy AdSense Pro">' .
480
  'Unreal</a></font></div>';
481
 
@@ -583,8 +583,8 @@ if (!class_exists("ezAdSense")) {
583
  $unreal = '<div align="center"><font size="-3">' .
584
  '<a href="http://thulasidas.com/adsense" ' .
585
  'target="_blank" title="The simplest way to put AdSense to work for you!"> ' .
586
- 'Easy AdSense Lite</a> by <a href="http://www.Thulasidas.com/" ' .
587
- 'target="_blank" title="Unreal Blog proudly brings you Easy AdSense Lite">' .
588
  'Unreal</a></font></div>';
589
  echo $unreal ;
590
  }
@@ -665,8 +665,8 @@ if (!class_exists("ezAdSense")) {
665
  $unreal = '<div align="center"><font size="-3">' .
666
  '<a href="http://thulasidas.com/adsense" ' .
667
  'target="_blank" title="The simplest way to put AdSense to work for you!"> ' .
668
- 'Easy AdSense Lite</a> by <a href="http://www.Thulasidas.com/" ' .
669
- 'target="_blank" title="Unreal Blog proudly brings you Easy AdSense Lite">' .
670
  'Unreal</a></font></div>';
671
  echo $before_widget;
672
  if (!$ezAdOptions['kill_widget_title'])
@@ -756,14 +756,14 @@ if (!class_exists("ezAdSense")) {
756
  function widget_ezAd_control() {
757
  echo '<p>Configure it at <br />' ;
758
  echo '<a href="options-general.php?page=easy-adsense-lite.php"> ';
759
- echo 'Settings &rarr; Easy AdSense Lite</a>' ;
760
  echo '</p>' ;
761
  }
762
 
763
  function widget_ezAd_lu_control($widget_args = 1) {
764
  echo '<p>Configure it at <br />' ;
765
  echo '<a href="options-general.php?page=easy-adsense-lite.php"> ';
766
- echo 'Settings &rarr; Easy AdSense Lite</a>' ;
767
  echo '</p>' ;
768
  }
769
 
@@ -771,14 +771,14 @@ if (!class_exists("ezAdSense")) {
771
  if (function_exists('wp_register_sidebar_widget')) {
772
  $widget_ops =
773
  array('classname' => 'widget_ezAd_ads', 'description' =>
774
- 'Easy AdSense Lite: ' .
775
  __('Show a Google AdSense block in your sidebar as a widget',
776
  'easy-adsenser'));
777
  wp_register_sidebar_widget('ezAd_ads', 'Google Ads',
778
  array(&$this, 'widget_ezAd_ads'), $widget_ops);
779
  $widget_ops =
780
  array('classname' => 'widget_ezAd_search', 'description' =>
781
- 'Easy AdSense Lite: ' .
782
  __('Show a Google Search Box in your sidebar as a widget',
783
  'easy-adsenser'));
784
  wp_register_sidebar_widget('ezAd_search', 'Google Search',
@@ -797,7 +797,7 @@ if (!class_exists("ezAdSense")) {
797
  $jd = $id + 1;
798
  $widget_ops =
799
  array('classname' => 'widget_ezAd_lu', 'description' =>
800
- 'Easy AdSense Lite: ' .
801
  __('Show a Google Links Unit in your sidebar as a widget',
802
  'easy-adsenser') . " ($jd)");
803
  wp_register_sidebar_widget($reg_wid, 'Google Link Units' . " ($jd)",
@@ -830,7 +830,7 @@ if (class_exists("ezAdSense")) {
830
  function ezAdSense_ap() {
831
  global $ez_ad ;
832
  if (function_exists('add_options_page')) {
833
- add_options_page('Easy AdSense Lite', 'Easy AdSense Lite', 9,
834
  basename(__FILE__), array(&$ez_ad, 'printAdminPage'));
835
  }
836
  }
@@ -846,7 +846,7 @@ if (class_exists("ezAdSense")) {
846
  'description' =>
847
  __('Show a Google AdSense block in your sidebar as a widget',
848
  'easy-adsenser') );
849
- $this->WP_Widget('ezAdsWidget', 'Easy AdSense Lite: Google Ads',
850
  $widget_ops);
851
  }
852
  function widget($args, $instance) {
@@ -877,7 +877,7 @@ if (class_exists("ezAdSense")) {
877
  'description' =>
878
  __('Show a Google Search Box in your sidebar as a widget',
879
  'easy-adsenser') );
880
- $this->WP_Widget('ezAdsSearch', 'Easy AdSense Lite: Google Search',
881
  $widget_ops);
882
  }
883
  function widget($args, $instance) {
@@ -908,7 +908,7 @@ if (class_exists("ezAdSense")) {
908
  'description' =>
909
  __('Show a Google Links Unit in your sidebar as a widget',
910
  'easy-adsenser') );
911
- $this->WP_Widget('ezAdsLU', 'Easy AdSense Lite: Google Link Unit',
912
  $widget_ops);
913
  }
914
  function widget($args, $instance) {
1
  <?php
2
  /*
3
+ Plugin Name: Easy AdSense
4
  Plugin URI: http://www.thulasidas.com/adsense
5
+ Description: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=easy-adsense-lite.php">Settings &rarr; Easy AdSense</a>.
6
+ Version: 5.11
7
  Author: Manoj Thulasidas
8
  Author URI: http://www.thulasidas.com
9
  */
35
  $this->defaults = $defaults ;
36
  }
37
  if (empty($this->defaults)) {
38
+ add_action('admin_notices', create_function('', 'if (substr( $_SERVER["PHP_SELF"], -11 ) == "plugins.php"|| $_GET["page"] == "easy-adsense-lite.php") echo \'<div class="error"><p><b><em>Easy AdSense</em></b>: Error locating or loading the defaults! Ensure <code>defaults.php</code> exists, or reinstall the plugin.</p></div>\';')) ;
39
  }
40
  if ((isset($_POST['ezAds-translate']) && strlen($_POST['ezAds-translate']) > 0) ||
41
  (isset($_POST['ezAds-make']) && strlen($_POST['ezAds-make']) > 0) ||
62
  $name = 'easy-adsenser' ;
63
 
64
  if(!empty($this->locale) && $this->locale != 'en_US') {
65
+ $this->invite = '<hr /><font color="red"> Would you like to improve this translation of <b>Easy Adsense</b> in your langugage (<b>' . $locale .
66
+ "</b>)?&nbsp; <input type='submit' name='ezAds-translate' onmouseover=\"Tip('If you would like to improve this translation, please use the translation interface. It picks up the translatable strings in &lt;b&gt;Easy AdSense&lt;/b&gt; and presents them and their existing translations in &lt;b&gt;" . $locale .
67
  "&lt;/b&gt; in an easy-to-edit form. You can then generate a translation file and email it to the author all from the same form. Slick, isn\'t it? I will include your translation in the next release.', WIDTH, 350, TITLE, 'How to Translate?', STICKY, 1, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 0, 5])\" onmouseout=\"UnTip()\" value='Improve " . $locale . " translation' /></font>" ;
68
 
69
  $moFile = dirname(__FILE__) . '/lang/' . $this->locale . '/' . $name . '.mo';
79
  $this->locale = basename(dirname($moFile)) ;
80
  }
81
  $this->invite = '<hr /><font color="red"> Would you like to see ' .
82
+ '<b>Easy Adsense</b> in your langugage (<b>' . $locale .
83
+ "</b>)?&nbsp; <input type='submit' name='ezAds-translate' onmouseover=\"Tip('It is easy to have &lt;b&gt;Easy AdSense&lt;/b&gt; in your language. All you have to do is to translate some strings, and email the file to the author.&lt;br /&gt;&lt;br /&gt;If you would like to help, please use the translation interface. It picks up the translatable strings in &lt;b&gt;Easy AdSense&lt;/b&gt; and presents them (and their existing translations in &lt;b&gt;" . $this->locale .
84
  "&lt;/b&gt;, if any) in an easy-to-edit form. You can then generate a translation file and email it to the author all from the same form. Slick, isn\'t it? I will include your translation in the next release.', WIDTH, 350, TITLE, 'How to Translate?', STICKY, 1, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 0, 5])\" onmouseout=\"UnTip()\" value ='Please help translate ' /></font>" ;
85
  }
86
  }
170
  $w = substr($key, 0, $x);
171
  $h = substr($key, $x+1);
172
  $p = (int)(min($w,$h)/6) ;
173
+ $ret = '<div style="width:'.$w.'px;height:'.$h.'px;border:1px solid red;"><div style="padding:'.$p.'px;text-align:center;font-family:arial;font-size:8pt;"><p>Your ads will be inserted here by</p><p><b>Easy AdSense</b>.</p><p>Please go to the plugin admin page to paste your ad code.</p></div></div>' ;
174
  }
175
  return $ret ;
176
  }
475
  $unreal = '<div align="center"><font size="-3">' .
476
  '<a href="http://www.thulasidas.com/adsense/" ' .
477
  'target="_blank" title="The simplest way to put AdSense to work for you!"> ' .
478
+ 'Easy AdSense</a> by <a href="http://www.Thulasidas.com/" ' .
479
  'target="_blank" title="Unreal Blog proudly brings you Easy AdSense Pro">' .
480
  'Unreal</a></font></div>';
481
 
583
  $unreal = '<div align="center"><font size="-3">' .
584
  '<a href="http://thulasidas.com/adsense" ' .
585
  'target="_blank" title="The simplest way to put AdSense to work for you!"> ' .
586
+ 'Easy AdSense</a> by <a href="http://www.Thulasidas.com/" ' .
587
+ 'target="_blank" title="Unreal Blog proudly brings you Easy AdSense">' .
588
  'Unreal</a></font></div>';
589
  echo $unreal ;
590
  }
665
  $unreal = '<div align="center"><font size="-3">' .
666
  '<a href="http://thulasidas.com/adsense" ' .
667
  'target="_blank" title="The simplest way to put AdSense to work for you!"> ' .
668
+ 'Easy AdSense</a> by <a href="http://www.Thulasidas.com/" ' .
669
+ 'target="_blank" title="Unreal Blog proudly brings you Easy AdSense">' .
670
  'Unreal</a></font></div>';
671
  echo $before_widget;
672
  if (!$ezAdOptions['kill_widget_title'])
756
  function widget_ezAd_control() {
757
  echo '<p>Configure it at <br />' ;
758
  echo '<a href="options-general.php?page=easy-adsense-lite.php"> ';
759
+ echo 'Settings &rarr; Easy AdSense</a>' ;
760
  echo '</p>' ;
761
  }
762
 
763
  function widget_ezAd_lu_control($widget_args = 1) {
764
  echo '<p>Configure it at <br />' ;
765
  echo '<a href="options-general.php?page=easy-adsense-lite.php"> ';
766
+ echo 'Settings &rarr; Easy AdSense</a>' ;
767
  echo '</p>' ;
768
  }
769
 
771
  if (function_exists('wp_register_sidebar_widget')) {
772
  $widget_ops =
773
  array('classname' => 'widget_ezAd_ads', 'description' =>
774
+ 'Easy AdSense: ' .
775
  __('Show a Google AdSense block in your sidebar as a widget',
776
  'easy-adsenser'));
777
  wp_register_sidebar_widget('ezAd_ads', 'Google Ads',
778
  array(&$this, 'widget_ezAd_ads'), $widget_ops);
779
  $widget_ops =
780
  array('classname' => 'widget_ezAd_search', 'description' =>
781
+ 'Easy AdSense: ' .
782
  __('Show a Google Search Box in your sidebar as a widget',
783
  'easy-adsenser'));
784
  wp_register_sidebar_widget('ezAd_search', 'Google Search',
797
  $jd = $id + 1;
798
  $widget_ops =
799
  array('classname' => 'widget_ezAd_lu', 'description' =>
800
+ 'Easy AdSense: ' .
801
  __('Show a Google Links Unit in your sidebar as a widget',
802
  'easy-adsenser') . " ($jd)");
803
  wp_register_sidebar_widget($reg_wid, 'Google Link Units' . " ($jd)",
830
  function ezAdSense_ap() {
831
  global $ez_ad ;
832
  if (function_exists('add_options_page')) {
833
+ add_options_page('Easy AdSense', 'Easy AdSense', 9,
834
  basename(__FILE__), array(&$ez_ad, 'printAdminPage'));
835
  }
836
  }
846
  'description' =>
847
  __('Show a Google AdSense block in your sidebar as a widget',
848
  'easy-adsenser') );
849
+ $this->WP_Widget('ezAdsWidget', 'Easy AdSense: Google Ads',
850
  $widget_ops);
851
  }
852
  function widget($args, $instance) {
877
  'description' =>
878
  __('Show a Google Search Box in your sidebar as a widget',
879
  'easy-adsenser') );
880
+ $this->WP_Widget('ezAdsSearch', 'Easy AdSense: Google Search',
881
  $widget_ops);
882
  }
883
  function widget($args, $instance) {
908
  'description' =>
909
  __('Show a Google Links Unit in your sidebar as a widget',
910
  'easy-adsenser') );
911
+ $this->WP_Widget('ezAdsLU', 'Easy AdSense: Google Link Unit',
912
  $widget_ops);
913
  }
914
  function widget($args, $instance) {
myPlugins.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  $myPlugins = array() ;
4
 
5
- $needPHP53 = ' <p> <font color="#c00">Note that this plugin requires PHPv5.3+. Please use the Lite version first to ensure that it works before buying the Pro version. If it does not work on your web host, consider the amazing <a href="http://buy.thulasidas.com/easy-adsense/" title="The most popular plugin to insert AdSense on your blog"><em><strong>Easy AdSense Pro</strong></em></a> for all your advertising needs. It can insert non-AdSense blocks as well.</font></p>' ;
6
 
7
  $myPlugins['easy-adsense'] =
8
  array('value' => 'Easy AdSense',
2
 
3
  $myPlugins = array() ;
4
 
5
+ $needPHP53 = ' <p> <font color="#c00">Note that this plugin requires PHPv5.0+. Please use the Lite version first to ensure that it works before buying the Pro version. If it does not work on your web host, consider the amazing <a href="http://buy.thulasidas.com/easy-adsense/" title="The most popular plugin to insert AdSense on your blog"><em><strong>Easy AdSense Pro</strong></em></a> for all your advertising needs. It can insert non-AdSense blocks as well.</font></p>' ;
6
 
7
  $myPlugins['easy-adsense'] =
8
  array('value' => 'Easy AdSense',
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Easy AdSense Lite ===
2
  Contributors: manojtd
3
  Donate link: http://buy.thulasidas.com/easy-adsense
4
  Tags: adsense, ad, ads, advertising, easy adsense, google, adsense plugin
5
  Requires at least: 2.6
6
  Tested up to: 3.3
7
- Stable tag: 5.10
8
 
9
  Easy AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
10
 
@@ -14,31 +14,31 @@ Easy AdSense provides a very easy way to generate revenue from your blog using G
14
 
15
  = Features =
16
 
17
- 1. Enforces the Google policy of not more than three ad blocks per page.
18
  2. Sidebar Widgets:
19
  - For AdSense for content with custom title.
20
  - For search with customizable text or image title.
21
  - For Link Units.
22
  3. Rich set of Options:
23
- - Put Link Units or Ad Blocks in header or footer.
24
  - Suppress ads on all pages (as opposed to posts), or on the front/home page.
25
  - Add a customizable mouse-over border decoration on ad blocks.
26
- - Display ad blocks based on the post length.
27
  4. Control over the positioning and display of AdSense blocks in each post or page.
28
  5. Simplest possible configuration interface -- nothing more than cutting and pasting AdSense code, and with sensible defaults for the few options present, all with clear instructions.
29
  6. Internationalized (multiple languages supported).
30
 
31
- Easy AdSense Lite is the freely distributed version of a premium plugin. The [Pro version](http://buy.ads-ez.com/easy-adsense/ "Pro version of the Easy AdSense plugin") gives you more benefits. It gives you filter to ensure that your 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. It also lets you 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. Also in the works for the Pro version is a compatibility mode, which solves the issue of the ad insertion messing up your page appearances when using some themes.
32
 
33
  = New in this Release =
34
 
35
- Updating a few translations.
36
 
37
  == Upgrade Notice ==
38
 
39
- = 5.10 =
40
 
41
- Updating a few translations.
42
 
43
  == Screenshots ==
44
 
@@ -64,11 +64,11 @@ This seems to be a problem with some WordPress installations. I have never been
64
 
65
  = What are the different versions of the plugin? =
66
 
67
- Easy AdSense Lite is the freely distributed version of a premium plugin. The [Pro version](https://buy.ads-ez.com/easy-adsense/ "Pro version of the Easy AdSense plugin") gives you more benefits -- lets you activate a filter to ensure that your ads show only on those pages that seem to comply with Google AdSense policies. It also lets you 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. The Pro version costs $4.95, and is appropriate if you expect to make more than $100 of ad revenue from your site.
68
 
69
  Note that support is *not* included. Each [support question](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HYZ5AWPYSC8VA "Ask a support question via PayPal") (for both the Lite and Pro versions) will be charged at $0.95. The same charges will apply for follow-up questions as well. In other words, support pricing is on a per-question basis, not a per-issue basis.
70
 
71
- = The new placement option for lead-in ad block in the header doesn't work the way I like. Can you fix it? =
72
 
73
  Short answer: No, I couldn't figure out how to do it better.
74
 
@@ -90,9 +90,9 @@ One of my motivations in writing Easy AdSense was the fact that every time I swi
90
 
91
  But this unfortunately means that you do have to set the code *once* whenever you switch to a new theme. I suppose I could have checked your database for some other AdSense code and presented it as defaults, but such complex logic usually results in less robust programs, and pain and suffering down the road.
92
 
93
- = Can I control how the ad blocks are formatted in each page? =
94
 
95
- Yes! Now, in V2.1+, you more options [through **custom fields**] to control ad blocks in individual posts/pages. Add custom fields with keys like **adsense-top, adsense-middle, adsense-bottom, adsense-widget, adsense-search** and with values like **left, right, center** or **no** to have control how the ad blocks show up in each post or page. The value "**no**" suppresses all AdSense ad blocks in the post or page.
96
 
97
  = I find this *easy* plugin too complex with too many options. Any alternatives? =
98
 
@@ -122,9 +122,10 @@ A big "Thank You" to all my translators. Easy AdSense V2.6+ sports an *Easy Tran
122
 
123
  == Change Log ==
124
 
 
125
  * V5.10: Updating a few translations (only change). [Apr 18, 2012]
126
  * V5.09: Updating a few translations, consolidating image resources and trimming auxiliary files. New option to suppress invitations to upgrade the plugin. [Mar 20, 2012]
127
- * V5.08: Fixing a bug in enforcing the limit on the number of ad blocks. Updating translations. [Jan 8, 2012]
128
  * V5.07: Minor fixes. [Nov 16, 2011]
129
  * V5.06: Code clean up -- removing unused functions, indenting the code. [Nov 15, 2011]
130
  * V5.05: Minor bug fixes. [Nov 15, 2011]
@@ -158,21 +159,21 @@ A big "Thank You" to all my translators. Easy AdSense V2.6+ sports an *Easy Tran
158
  * V2.91: Updated some translations and added a new reminder on Google policy. [May 20, 2010]
159
  * V2.90: Updated the Russian translation. [Apr 10, 2010]
160
  * V2.89: Updated translations (`da_DK`,`pt_PT` and `es_ES`). [Mar 20, 2010]
161
- * V2.88: A minor fix on the number of ad blocks on a page. [Mar 6, 2010]
162
  * V2.87: Disabling ads in feeds if header placements are chosen (bug fix). Adding warning on potential incompatibility between some header/footer position options and other WordPress widgets/plugins. [Feb 9, 2010]
163
  * V2.86: Re-enabling header options: Above/below header options stopped working in WP2.91. Here is a fix.[Jan 30, 2010]
164
  * V2.85: Minor bug fixes: some margin settings (on widget and link-unit) were not updating. [Jan 27, 2010]
165
- * V2.84: New feature: Display ad blocks based on the post length. Possible bug fix: suppress RSS feeds filtering. [Jan 22, 2010]
166
  * V2.83: Bug fix (ads on admin pages). New translation (Danish `da_DK`). Updating several translations. [Dec 10, 2009]
167
- * V2.82: Option to suppress in-line style statements so that you can use your style.css to control the ad blocks. Updating a few translations (`tr_TR`, `de_DE`). [Oct 25, 2009]
168
- * V2.81: New text wrapping options around ad blocks. Updating a few translations (`es_ES`, `zh_CN`), and releasing Norwegian (`nb_NO`), and Thai (`th_TH`). [Oct 14, 2009]
169
  * V2.80: Code clean up, updated Italian and new Ukrainian (`uk_UA`) translations. [Sept 24, 2009]
170
  * V2.79: Updating some translations (`es_ES`, `pt_BR`, `de_DE`). [Sept 7, 2009]
171
  * V2.78: More translations. Minor bug fixes (to silence `WP_DEBUG` warnings). [Sept 1, 2009]
172
  * V2.77: French Translation, finally! [August 22, 2009]
173
  * V2.76: Releasing new Arabic, and updated German and Indonesian translations. [Aug 19, 2009]
174
  * V2.75: Improvements on the header and footer options. Partially switching to ClickBank for the donated ad slots. Releasing more translations. [August 10, 2009]
175
- * V2.73: A long overdue option for putting ad blocks near the header and footer. Preparation to use other ad providers (ClickBank for now) in the donated ad slots. [August 2, 2009]
176
  * V2.72: A bug fix related to suppressing the search box and link units titles. [July 30, 2009]
177
  * V2.71: Option to tweak the margins on ad-blocks, as requested by some users. [July 29, 2009]
178
  * V2.70: New option to suppress widget titles. [July 25, 2009]
1
+ === Easy AdSense ===
2
  Contributors: manojtd
3
  Donate link: http://buy.thulasidas.com/easy-adsense
4
  Tags: adsense, ad, ads, advertising, easy adsense, google, adsense plugin
5
  Requires at least: 2.6
6
  Tested up to: 3.3
7
+ Stable tag: 5.11
8
 
9
  Easy AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
10
 
14
 
15
  = Features =
16
 
17
+ 1. Enforces the Google AdSense policy of not more than three adsense blocks per page.
18
  2. Sidebar Widgets:
19
  - For AdSense for content with custom title.
20
  - For search with customizable text or image title.
21
  - For Link Units.
22
  3. Rich set of Options:
23
+ - Put Link Units or AdSense Blocks in header or footer.
24
  - Suppress ads on all pages (as opposed to posts), or on the front/home page.
25
  - Add a customizable mouse-over border decoration on ad blocks.
26
+ - Display adsense blocks based on the post length.
27
  4. Control over the positioning and display of AdSense blocks in each post or page.
28
  5. Simplest possible configuration interface -- nothing more than cutting and pasting AdSense code, and with sensible defaults for the few options present, all with clear instructions.
29
  6. Internationalized (multiple languages supported).
30
 
31
+ Easy AdSense is the freely distributed version of a premium plugin. The [Pro version](http://buy.ads-ez.com/easy-adsense/ "Pro version of the Easy AdSense plugin") gives you more benefits. It gives you 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. It also lets you 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. Also in the works for the Pro version is a compatibility mode, which solves the issue of the ad insertion messing up your page appearances when using some themes.
32
 
33
  = New in this Release =
34
 
35
+ Renaming the plugin -- dropping the word Lite, and other minor documentation changes.
36
 
37
  == Upgrade Notice ==
38
 
39
+ = 5.11 =
40
 
41
+ Renaming the plugin -- dropping the word Lite, and other minor documentation changes.
42
 
43
  == Screenshots ==
44
 
64
 
65
  = What are the different versions of the plugin? =
66
 
67
+ Easy AdSense is the freely distributed version of a premium plugin. The [Pro version](https://buy.ads-ez.com/easy-adsense/ "Pro version of the Easy AdSense plugin") gives you more benefits -- lets you activate a filter to ensure that your ads show only on those pages that seem to comply with Google AdSense policies. It also lets you 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. The Pro version costs $4.95, and is appropriate if you expect to make more than $100 of ad revenue from your site.
68
 
69
  Note that support is *not* included. Each [support question](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HYZ5AWPYSC8VA "Ask a support question via PayPal") (for both the Lite and Pro versions) will be charged at $0.95. The same charges will apply for follow-up questions as well. In other words, support pricing is on a per-question basis, not a per-issue basis.
70
 
71
+ = The new placement option for lead-in adsense block in the header doesn't work the way I like. Can you fix it? =
72
 
73
  Short answer: No, I couldn't figure out how to do it better.
74
 
90
 
91
  But this unfortunately means that you do have to set the code *once* whenever you switch to a new theme. I suppose I could have checked your database for some other AdSense code and presented it as defaults, but such complex logic usually results in less robust programs, and pain and suffering down the road.
92
 
93
+ = Can I control how the adsense blocks are formatted in each page? =
94
 
95
+ Yes! Now, in V2.1+, you more options [through **custom fields**] to control adsense blocks in individual posts/pages. Add custom fields with keys like **adsense-top, adsense-middle, adsense-bottom, adsense-widget, adsense-search** and with values like **left, right, center** or **no** to have control how the Google adsense blocks show up in each post or page. The value "**no**" suppresses all AdSense ad blocks in the post or page.
96
 
97
  = I find this *easy* plugin too complex with too many options. Any alternatives? =
98
 
122
 
123
  == Change Log ==
124
 
125
+ * V5.11: Renaming the plugin -- dropping the word Lite, and other minor documentation changes. [May 7, 2012]
126
  * V5.10: Updating a few translations (only change). [Apr 18, 2012]
127
  * V5.09: Updating a few translations, consolidating image resources and trimming auxiliary files. New option to suppress invitations to upgrade the plugin. [Mar 20, 2012]
128
+ * V5.08: Fixing a bug in enforcing the limit on the number of adsense blocks. Updating translations. [Jan 8, 2012]
129
  * V5.07: Minor fixes. [Nov 16, 2011]
130
  * V5.06: Code clean up -- removing unused functions, indenting the code. [Nov 15, 2011]
131
  * V5.05: Minor bug fixes. [Nov 15, 2011]
159
  * V2.91: Updated some translations and added a new reminder on Google policy. [May 20, 2010]
160
  * V2.90: Updated the Russian translation. [Apr 10, 2010]
161
  * V2.89: Updated translations (`da_DK`,`pt_PT` and `es_ES`). [Mar 20, 2010]
162
+ * V2.88: A minor fix on the number of adsense blocks on a page. [Mar 6, 2010]
163
  * V2.87: Disabling ads in feeds if header placements are chosen (bug fix). Adding warning on potential incompatibility between some header/footer position options and other WordPress widgets/plugins. [Feb 9, 2010]
164
  * V2.86: Re-enabling header options: Above/below header options stopped working in WP2.91. Here is a fix.[Jan 30, 2010]
165
  * V2.85: Minor bug fixes: some margin settings (on widget and link-unit) were not updating. [Jan 27, 2010]
166
+ * V2.84: New feature: Display adsense blocks based on the post length. Possible bug fix: suppress RSS feeds filtering. [Jan 22, 2010]
167
  * V2.83: Bug fix (ads on admin pages). New translation (Danish `da_DK`). Updating several translations. [Dec 10, 2009]
168
+ * V2.82: Option to suppress in-line style statements so that you can use your style.css to control the adsense blocks. Updating a few translations (`tr_TR`, `de_DE`). [Oct 25, 2009]
169
+ * V2.81: New text wrapping options around adsense blocks. Updating a few translations (`es_ES`, `zh_CN`), and releasing Norwegian (`nb_NO`), and Thai (`th_TH`). [Oct 14, 2009]
170
  * V2.80: Code clean up, updated Italian and new Ukrainian (`uk_UA`) translations. [Sept 24, 2009]
171
  * V2.79: Updating some translations (`es_ES`, `pt_BR`, `de_DE`). [Sept 7, 2009]
172
  * V2.78: More translations. Minor bug fixes (to silence `WP_DEBUG` warnings). [Sept 1, 2009]
173
  * V2.77: French Translation, finally! [August 22, 2009]
174
  * V2.76: Releasing new Arabic, and updated German and Indonesian translations. [Aug 19, 2009]
175
  * V2.75: Improvements on the header and footer options. Partially switching to ClickBank for the donated ad slots. Releasing more translations. [August 10, 2009]
176
+ * V2.73: A long overdue option for putting adsense blocks near the header and footer. Preparation to use other ad providers (ClickBank for now) in the donated ad slots. [August 2, 2009]
177
  * V2.72: A bug fix related to suppressing the search box and link units titles. [July 30, 2009]
178
  * V2.71: Option to tweak the margins on ad-blocks, as requested by some users. [July 29, 2009]
179
  * V2.70: New option to suppress widget titles. [July 25, 2009]