Easy Plugin for AdSense - Version 7.30

Version Description

Adding access to Google AdExchange opportunity for the users.

Download this release

Release Info

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

Code changes from version 7.22 to 7.30

300x250-00.jpg ADDED
Binary file
300x250-01.jpg ADDED
Binary file
300x250-02.jpg ADDED
Binary file
300x250-03.jpg ADDED
Binary file
300x250-04.jpg ADDED
Binary file
EzAdmin.php CHANGED
@@ -250,9 +250,11 @@ $moreInfo
250
  $value .= '<b><i> Lite</i></b>';
251
  $s10 = sprintf(__('Thank you for using %s. The "Pro" version gives you more options.', 'easy-common'), $value);
252
  $s11 = __("Consider buying it.", 'easy-common');
 
253
  $plgKey = $this->getPlgKey();
254
  $promoClick = addslashes("onclick=\"popupwindow('http://www.thulasidas.com/promo.php?key=$plgKey','Get Pro', 1024, 768);return false;\"");
255
  $promoTip = htmlspecialchars("$s3. $s9<br /><a style=\"color:red;font-weight:bold\" href=\"http://www.thulasidas.com/promo.php?key=$plgKey\" target=_blank $promoClick>" . __("Limited Time Offer. Get the Pro version for less than a dollar!", 'easy-common') . "</a>");
 
256
  echo "$s10 $filter $s11 <br /><a href='http://buy.thulasidas.com/$slug' title='$s3. $s9' onmouseover=\"Tip('$promoTip', WIDTH, 200, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 5, 5], TITLE, 'Limited Time Offer')\">$s8</a>";
257
  echo "</div>";
258
  }
@@ -262,19 +264,9 @@ $moreInfo
262
  return;
263
  }
264
  $plgURL = $this->plgURL;
265
- $select = rand(0, 2);
266
- switch ($select) {
267
- case 0:
268
- echo "<div style='padding:0px;border:none;text-align:center' id='support' onmouseover=\"TagToTip('maxcdn', WIDTH, 295, TITLE, 'MaxCDN', FIX, [this, 0, 0])\" onmouseout=\"UnTip()\" ><a href='http://tracking.maxcdn.com/c/95082/3964/378' target='_blank'><img src='$plgURL/maxcdn.jpg' border='0' alt='MaxCDN Content Delivery Network' /></a></div>";
269
- break;
270
- case 1:
271
- echo "<div style='padding:0px;border:none;text-align:center' id='support' onmouseover=\"TagToTip('arvixe', WIDTH, 295, TITLE, 'Arvixe', FIX, [this, 0, 0])\" onmouseout=\"UnTip()\" ><a href='http://www.arvixe.com/1933-0-1-357.html' target='_blank'><img border='0' src='$plgURL/arvixe.gif' alt='Advanced Web Hosting for only $4/month'></a></div>";
272
- break;
273
- case 2:
274
- default:
275
- echo "<div style='padding:0px;border:none; width:300px;text-align:center' id='support' onmouseover=\"Tip('<b>ezAffiliates</b>: The most affiliate-centric revenue sharing model on the Web. Finally, you can make some serious returns on your web presence.<br /><b>Generous 50% Commission</b>: perhaps the highest rate of revenue sharing on the web. With just a couple of sales of this plugin, you will have recovered your purchase price!<br /><b>$10 Minimum Payout</b> so that you will not be waiting forever before you qualify for payment.<br /><b>Lifetime Tracking</b>: ezAffiliates uses cookie-less tracking technology to attribute every purchase of your lead to your account. Whatever your leads buy from us, whenever they do, will earn you commission. No cookie expiry!<br /><b>High Quality Products</b> such as this plugin, and other premium plugins and PHP packages.<br /><b>Diverse Markets</b>: Bloggers who blog about plugins, PayPal integration, affiliate marketing, MacOS apps and even eBooks will find ezAffiliates attractive and more effective that their current ad campaigns.', WIDTH, 295, TITLE, 'ezAffiliates', FIX, [this, 0, 0])\" onmouseout=\"UnTip()\" ><a href='http://affiliates.thulasidas.com'><img src='$plgURL/invite.gif' alt='ezAffiliates' onclick=\"popupwindow('http://affiliates.thulasidas.com/','50-50 Revenue Share', 1024, 768);return false;\"/></a></div>";
276
- break;
277
- }
278
  }
279
 
280
  function renderSupportText() {
@@ -318,6 +310,10 @@ $moreInfo
318
  <a href="http://www.arvixe.com/1933-27-1-310.html" target="_blank"><b>Arvixe</b></a> is my favorite hosting provider. Friendly service, extremely competitive rates, and of course a great affiliate program. My own WordPress blog and a dozen websites are hosted on their VPS. If you are looking for a new hosting provider, do check them out!
319
  </div>
320
 
 
 
 
 
321
  <span id="maxcdn" style='display:none;'>
322
  <a href='http://tracking.maxcdn.com/c/95082/3964/378' target='_blank'><b>MaxCDN</b></a> is a professional content delivery network. Easiest and most effective way to optimize your blog performance. Compatible with caching plugins, 24x7 professional support. Faster than most CDN providers in the continental US. Cheaper and better than most. Check it out now!
323
  </span>
250
  $value .= '<b><i> Lite</i></b>';
251
  $s10 = sprintf(__('Thank you for using %s. The "Pro" version gives you more options.', 'easy-common'), $value);
252
  $s11 = __("Consider buying it.", 'easy-common');
253
+
254
  $plgKey = $this->getPlgKey();
255
  $promoClick = addslashes("onclick=\"popupwindow('http://www.thulasidas.com/promo.php?key=$plgKey','Get Pro', 1024, 768);return false;\"");
256
  $promoTip = htmlspecialchars("$s3. $s9<br /><a style=\"color:red;font-weight:bold\" href=\"http://www.thulasidas.com/promo.php?key=$plgKey\" target=_blank $promoClick>" . __("Limited Time Offer. Get the Pro version for less than a dollar!", 'easy-common') . "</a>");
257
+
258
  echo "$s10 $filter $s11 <br /><a href='http://buy.thulasidas.com/$slug' title='$s3. $s9' onmouseover=\"Tip('$promoTip', WIDTH, 200, CLOSEBTN, true, CLICKCLOSE, true, FIX, [this, 5, 5], TITLE, 'Limited Time Offer')\">$s8</a>";
259
  echo "</div>";
260
  }
264
  return;
265
  }
266
  $plgURL = $this->plgURL;
267
+
268
+ $select = rand(1,4);
269
+ echo "<div style='padding:0px;border:none;text-align:center' id='support' onmouseover=\"TagToTip('superlinks', WIDTH, 295, TITLE, 'Superlinks', FIX, [this, 25, 0])\" onmouseout=\"UnTip()\" ><a href='http://superlinks.com/ezad.php' target='_blank'><img src='$plgURL/300x250-0$select.jpg' border='0' alt='Superlinks Advertising to access Google AdX' /></a></div>";
 
 
 
 
 
 
 
 
 
 
270
  }
271
 
272
  function renderSupportText() {
310
  <a href="http://www.arvixe.com/1933-27-1-310.html" target="_blank"><b>Arvixe</b></a> is my favorite hosting provider. Friendly service, extremely competitive rates, and of course a great affiliate program. My own WordPress blog and a dozen websites are hosted on their VPS. If you are looking for a new hosting provider, do check them out!
311
  </div>
312
 
313
+ <span id="superlinks" style='display:none;'>
314
+ <a href='http://superlinks.com' target='_blank'><b>Superlinks</b></a> is an advertising network that can give AdSense a run for its money. It gives you access to Google AdExchange program, normally reserved for very high volume publishers. I have partnered with Superlinks to give you access to their offerings. If your site qualifies for Google AdX, you stand to make significantly higher returns than AdSense. Give it a shot!
315
+ </span>
316
+
317
  <span id="maxcdn" style='display:none;'>
318
  <a href='http://tracking.maxcdn.com/c/95082/3964/378' target='_blank'><b>MaxCDN</b></a> is a professional content delivery network. Easiest and most effective way to optimize your blog performance. Compatible with caching plugins, 24x7 professional support. Faster than most CDN providers in the continental US. Cheaper and better than most. Check it out now!
319
  </span>
easy-adsense-lite.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Easy AdSense
5
  Plugin URI: http://www.thulasidas.com/adsense
6
  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>.
7
- Version: 7.22
8
  Author: Manoj Thulasidas
9
  Author URI: http://www.thulasidas.com
10
  */
@@ -440,11 +440,20 @@ if (!class_exists("EzAdSense")) {
440
  }
441
 
442
  function migrateOptions() {
443
- $update = false;
444
  $lookup = array('info' => '',
445
  'limit_lu' => '',
446
  'allow_exitjunction' => '',
447
  'policy' => '',
 
 
 
 
 
 
 
 
 
 
448
  'kill_pages' => 'kill_page',
449
  'kill_attach' => 'kill_attachment',
450
  'kill_front' => 'kill_front_page',
@@ -455,12 +464,10 @@ if (!class_exists("EzAdSense")) {
455
  $this->options[$v] = $this->options[$k];
456
  }
457
  unset($this->options[$k]);
458
- $update = true;
459
  }
460
  }
461
- if ($update) {
462
- update_option($this->optionName, $this->options);
463
- }
464
  }
465
 
466
  function mkDefaultOptions() { // TODO: Merge this with mkEzOptions
@@ -735,9 +742,7 @@ if (!class_exists("EzAdSense")) {
735
 
736
  $show_leadin = $metaOptions['show_leadin'];
737
  $leadin = '';
738
- if ($show_leadin != 'no'
739
- && empty($this->options['header_leadin'])
740
- && $wc > $this->options['wc_leadin']) {
741
  if ($this->ezCount < $this->ezMax) {
742
  $leadin = $this->mkAdBlock("leadin");
743
  }
4
  Plugin Name: Easy AdSense
5
  Plugin URI: http://www.thulasidas.com/adsense
6
  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>.
7
+ Version: 7.30
8
  Author: Manoj Thulasidas
9
  Author URI: http://www.thulasidas.com
10
  */
440
  }
441
 
442
  function migrateOptions() {
 
443
  $lookup = array('info' => '',
444
  'limit_lu' => '',
445
  'allow_exitjunction' => '',
446
  'policy' => '',
447
+ 'mc' => '',
448
+ 'allow_feeds' => '',
449
+ 'suspend_ads' => '',
450
+ 'gFilter' => '',
451
+ 'kill_mobile' => '',
452
+ 'filterValue' => '',
453
+ 'bannedIPs' => '',
454
+ 'compatMode' => '',
455
+ 'excerptNumber' => '',
456
+ 'shortCodeMode' => '',
457
  'kill_pages' => 'kill_page',
458
  'kill_attach' => 'kill_attachment',
459
  'kill_front' => 'kill_front_page',
464
  $this->options[$v] = $this->options[$k];
465
  }
466
  unset($this->options[$k]);
 
467
  }
468
  }
469
+ $this->options['kill_author'] = false;
470
+ update_option($this->optionName, $this->options);
 
471
  }
472
 
473
  function mkDefaultOptions() { // TODO: Merge this with mkEzOptions
742
 
743
  $show_leadin = $metaOptions['show_leadin'];
744
  $leadin = '';
745
+ if ($show_leadin != 'no' && empty($this->options['header_leadin']) && $wc > $this->options['wc_leadin']) {
 
 
746
  if ($this->ezCount < $this->ezMax) {
747
  $leadin = $this->mkAdBlock("leadin");
748
  }
head-text.php CHANGED
@@ -17,22 +17,14 @@
17
  along with this program. If not, see <http://www.gnu.org/licenses/>.
18
  */
19
 
20
- echo '<td style="width:30%">';
21
 
22
- if (rand(0, 2) % 2
23
- || $ez->slug == "easy-ads"
24
- || $ez->slug == "easy-chitika"
25
- || $ez->slug == "google-adsense") {
26
- $ez->renderSupportText();
27
- }
28
- else {
29
- $ez->renderAffiliate();
30
- }
31
- $ez->renderTipDivs();
32
 
33
  echo '</td>';
34
  echo '<td style="width:30%">';
35
 
36
- $ez->renderProText();
 
37
 
38
  echo '</td>';
17
  along with this program. If not, see <http://www.gnu.org/licenses/>.
18
  */
19
 
20
+ echo '<td style="width:15%">';
21
 
22
+ $ez->renderProText();
 
 
 
 
 
 
 
 
 
23
 
24
  echo '</td>';
25
  echo '<td style="width:30%">';
26
 
27
+ $ez->renderAffiliate();
28
+ $ez->renderTipDivs();
29
 
30
  echo '</td>';
lang/de_DE_easy-common.mo CHANGED
Binary file
lang/el_GR_easy-common.mo ADDED
Binary file
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: 3.9
7
- Stable tag: 7.22
8
  License: GPL2 or later
9
 
10
  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!
@@ -42,7 +42,7 @@ Easy AdSense is the freely distributed version of a premium plugin. The [Pro ver
42
 
43
  == Upgrade Notice ==
44
 
45
- Fixing some bugs related to the lead-in ad placements.
46
 
47
  == Screenshots ==
48
 
@@ -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
  * V7.22: Fixing some bugs related to the lead-in ad placements. [May 30, 2014]
144
  * V7.21: Further refactoring and internationalization changes. [May 6, 2014]
145
  * V7.20: Some refactoring changes. [Apr 18, 2014]
4
  Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
5
  Requires at least: 2.6
6
  Tested up to: 3.9
7
+ Stable tag: 7.30
8
  License: GPL2 or later
9
 
10
  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!
42
 
43
  == Upgrade Notice ==
44
 
45
+ Adding access to Google AdExchange opportunity for the users.
46
 
47
  == Screenshots ==
48
 
140
 
141
  == Change Log ==
142
 
143
+ * V7.30: Adding access to Google AdExchange opportunity for the users. [Aug 14, 2013]
144
  * V7.22: Fixing some bugs related to the lead-in ad placements. [May 30, 2014]
145
  * V7.21: Further refactoring and internationalization changes. [May 6, 2014]
146
  * V7.20: Some refactoring changes. [Apr 18, 2014]