Version Description
Adding a user support link on the admin page.
=
Download this release
Release Info
Developer | manojtd |
Plugin | Easy Plugin for AdSense |
Version | 5.22 |
Comparing to | |
See all releases |
Code changes from version 5.21 to 5.22
- easy-adsense-lite.php +1 -1
- ezsupport.png +0 -0
- readme.txt +5 -8
- support.php +31 -11
easy-adsense-lite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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 → Easy AdSense</a>.
|
6 |
-
Version: 5.
|
7 |
Author: Manoj Thulasidas
|
8 |
Author URI: http://www.thulasidas.com
|
9 |
*/
|
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 → Easy AdSense</a>.
|
6 |
+
Version: 5.22
|
7 |
Author: Manoj Thulasidas
|
8 |
Author URI: http://www.thulasidas.com
|
9 |
*/
|
ezsupport.png
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.4
|
7 |
-
Stable tag: 5.
|
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 |
|
@@ -32,13 +32,13 @@ Easy AdSense is the freely distributed version of a premium plugin. The [Pro ver
|
|
32 |
|
33 |
= New in this Release =
|
34 |
|
35 |
-
|
36 |
|
37 |
== Upgrade Notice ==
|
38 |
|
39 |
-
= 5.
|
40 |
|
41 |
-
|
42 |
|
43 |
== Screenshots ==
|
44 |
|
@@ -120,16 +120,13 @@ If you just created the new Google AdSense code, it may not be active yet. Googl
|
|
120 |
|
121 |
The middle ads are designed to show up only on long posts (of more than 20 paragraphs). Use the option to force the mid-text ads (in v1.82+) to override this length check.
|
122 |
|
123 |
-
= How do I report a bug or ask a question? =
|
124 |
-
|
125 |
-
Easy AdSense now uses a paid support model. Each [support question](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HYZ5AWPYSC8VA "Ask a support question via PayPal") question is now sent along with a payment of $0.95 via a PayPal interface.
|
126 |
-
|
127 |
== Translations ==
|
128 |
|
129 |
A big "Thank You" to all my translators. Easy AdSense V2.6+ sports an *Easy Translator* interface that will make the maintenance of translations a breeze. Please take a look (by following the link on the plugin admin page inviting you to improve the existing translation) and update your translations, when you get a chance. This translation interface works only on WP2.8+; please report any issues you encounter so that I can improve it. Thanks!
|
130 |
|
131 |
== Change Log ==
|
132 |
|
|
|
133 |
* V5.21: Minor bug fix. [Sep 24, 2012]
|
134 |
* V5.20: Admin interface modifications. Updating some translations. [Sep 21, 2012]
|
135 |
* V5.19: Updating zh_CN translation. [Sep 15, 2012]
|
4 |
Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 3.4
|
7 |
+
Stable tag: 5.22
|
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 |
|
32 |
|
33 |
= New in this Release =
|
34 |
|
35 |
+
Adding a user support link on the admin page.
|
36 |
|
37 |
== Upgrade Notice ==
|
38 |
|
39 |
+
= 5.22 =
|
40 |
|
41 |
+
Adding a user support link on the admin page.
|
42 |
|
43 |
== Screenshots ==
|
44 |
|
120 |
|
121 |
The middle ads are designed to show up only on long posts (of more than 20 paragraphs). Use the option to force the mid-text ads (in v1.82+) to override this length check.
|
122 |
|
|
|
|
|
|
|
|
|
123 |
== Translations ==
|
124 |
|
125 |
A big "Thank You" to all my translators. Easy AdSense V2.6+ sports an *Easy Translator* interface that will make the maintenance of translations a breeze. Please take a look (by following the link on the plugin admin page inviting you to improve the existing translation) and update your translations, when you get a chance. This translation interface works only on WP2.8+; please report any issues you encounter so that I can improve it. Thanks!
|
126 |
|
127 |
== Change Log ==
|
128 |
|
129 |
+
* V5.22: Adding a user support link on the admin page. [Oct 5, 2012]
|
130 |
* V5.21: Minor bug fix. [Sep 24, 2012]
|
131 |
* V5.20: Admin interface modifications. Updating some translations. [Sep 21, 2012]
|
132 |
* V5.19: Updating zh_CN translation. [Sep 15, 2012]
|
support.php
CHANGED
@@ -1,21 +1,41 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
function renderSupport($name, $plg) {
|
|
|
4 |
$value = $plg['value'];
|
5 |
$desc = $plg['desc'] ;
|
6 |
$support = $plg['support'] ;
|
7 |
$url = 'http://www.thulasidas.com/plugins/' . $name . '#FAQ' ;
|
8 |
$link = '<a href="' . $url . '" target="_blank">' . $value . '</a>' ;
|
9 |
-
|
10 |
-
|
11 |
-
echo "
|
12 |
-
|
13 |
-
echo "
|
14 |
-
_e(
|
15 |
-
echo "'
|
16 |
-
_e(
|
17 |
-
echo "
|
18 |
-
_e(
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
|
21 |
renderSupport($plgName, $myPlugins[$plgName]) ;
|
1 |
<?php
|
2 |
+
function ezPluginInfo(){
|
3 |
+
$me = basename(dirname(__FILE__)) ;
|
4 |
+
$plugins = get_plugins() ;
|
5 |
+
$ret = array('Version' => '', 'Info' => '') ;
|
6 |
+
$break = '' ;
|
7 |
+
foreach ($plugins as $k => $p) {
|
8 |
+
$baseDir = dirname($k) ;
|
9 |
+
if ($baseDir == $me) {
|
10 |
+
$version = $p['Version'] ;
|
11 |
+
$info = "$break{$p['Title']} V{$p['Version']} (Referer: {$_SERVER['HTTP_REFERER']})" ;
|
12 |
+
$ret[] = array('Version' => $version, 'Info' => $info) ;
|
13 |
+
}
|
14 |
+
}
|
15 |
+
return $ret ;
|
16 |
+
}
|
17 |
function renderSupport($name, $plg) {
|
18 |
+
$plugindir = get_option('siteurl') . '/' . PLUGINDIR . '/' . basename(dirname(__FILE__)) ;
|
19 |
$value = $plg['value'];
|
20 |
$desc = $plg['desc'] ;
|
21 |
$support = $plg['support'] ;
|
22 |
$url = 'http://www.thulasidas.com/plugins/' . $name . '#FAQ' ;
|
23 |
$link = '<a href="' . $url . '" target="_blank">' . $value . '</a>' ;
|
24 |
+
echo " <a href='http://support.thulasidas.com' onclick=\"popupwindow('http://support.thulasidas.com','ezSupport for $value', 1024, 768);return false;\" title='" ;
|
25 |
+
_e('Ask a support question (in English or French only) via ezSupport @ $0.95', 'easy-adsenser') ;
|
26 |
+
echo "'><img src='$plugindir/ezsupport.png' class='alignright' border='0' alt='ezSupport Portal'/></a>" ;
|
27 |
+
printf(__("If you need help with %s, please read the FAQ section on the $link page. It may answer all your questions.", 'easy-adsenser'), $value, $link) ;
|
28 |
+
echo "<br />" ;
|
29 |
+
_e("Or, if you still need help, you can raise a support ticket.", 'easy-adsenser') ;
|
30 |
+
echo " <a href='http://support.thulasidas.com' onclick=\"popupwindow('http://support.thulasidas.com','ezSupport for $value', 1024, 768);return false;\" title='" ;
|
31 |
+
_e('Ask a support question (in English or French only) via ezSupport @ $0.95', 'easy-adsenser') ;
|
32 |
+
echo "'>" ;
|
33 |
+
_e("[Request Paid Support]", 'easy-adsenser') ;
|
34 |
+
echo "</a> <small><em>[" ;
|
35 |
+
_e('Implemented using our ezSupport Ticket System.', 'easy-adsenser') ;
|
36 |
+
echo "]</em></small>" ;
|
37 |
+
$info = ezPluginInfo() ;
|
38 |
+
$_SESSION['ezSupport'] = $info[0]['Info'] ;
|
39 |
}
|
40 |
|
41 |
renderSupport($plgName, $myPlugins[$plgName]) ;
|