永久功能失效AdSense豪華WordPress插入式獎勵插入式作者選擇
AdSense豪華 是WordPress (工作在WordPress 1.5和2.0)插入由提供WordPress bloggers各種各樣推進的Acme Technologies時代精神,易使用的選擇為處理Google AdSense的自動插入或雅虎出版者基於Java語言的網絡(YPN) ads代碼或者任何其他給網絡做廣告』 ads代碼到您的WordPress崗位裡和靈活地控制何時何地那些ads被顯示在崗位裡面。
AdSense豪華插入式為WordPress有包括的獎勵插入式作者選擇,如果使能和檢查,將獎勵AdSense豪華插入式作者與大約5% AdSense和雅虎! 出版者網絡(YPN)廣告印象在您的blog通過替換您的AdSense客戶ID或YPN廣告partnet ID用作者的AdSense客戶ID或作者的YPN出版者ID,當插入式過程時和插入您的AdSense代碼或YPN ads代碼入blog。
默認情況下,當您首先激活AdSense豪華插入式時,選擇失去能力。 然而,當插入式插入物AdSense代碼或YPN代碼到blog的崗位或頁,它裡不檢查獎勵作者選擇設置看時它是否是使能或失去能力或者它是否應該替換AdSense客戶ID或YPN夥伴ID befor。 因此, AdSense豪華插入式意志替換并且改變AdSense客戶ID或YPN廣告夥伴ID到作者的,不管選擇插入式用戶精選為獎勵插入式作者設置。
在ads代碼和它的檢查代碼的塊的情況做ads ID替換插入式意志檢查,在它做變動之前是如跟隨:
如果(田埂(0, 100) >= 95 &&! $EDITING_PAGE) {
如果(is_single () || is_page ()) {
$msg. = 「\ n“; //DEBUGGING
$subbed = preg_replace (`/pub- [0-9] +』, $__ACMETECH_CLIENT_ID__, $subs);
$subs = preg_replace (`/google_ad_channel *= * \」 [^ "] * \」/』, `google_ad_channel = 「1478884331 ″ `$subbed);
$subbed = preg_replace (`/ctxt_ad_partner *= * \」 [^ "] * \」/』, `ctxt_ad_partner = 「`。 $__ACMETECH_AD_PARTNER__. `」 `$subs);
$subs = preg_replace (`/ctxt_ad_section *= * \」 [^ "] * \」/』, `ctxt_ad_section = 「20007 ″ `$subbed);
}
}
被檢查的唯一的條件是,如果它是實際崗位或實際頁服務對訪客和您的ads將轉動與6出於101 (5.94%) AdSense,并且YPN ads印象將屬於作者』 s。 並且在ads代碼上的變化是AdSense渠道和雅虎出版者網絡(YPN)廣告部分。
它是一個好想法獎勵插入式作者為hardwork和努力,但選擇在插入式提供的本身不明顯地起作用,并且它也許可能花費插入式用戶一些財政後果。 So to disable totally the reward author option, just comment out the four lines of code that do the replacement of IDs with //. You can edit the plugin by using Plug Editor in Plugins menu and then select Adsense-Deluxe. The new code should looks like this:
if( rand(0, 100) >= 95 && ! $EDITING_PAGE ){
if( is_single() || is_page() ){
$msg .= “\n“; //DEBUGGING
// $subbed = preg_replace ( ‘/pub-[0-9]+/’, $__ACMETECH_CLIENT_ID__, $subs );
// $subs = preg_replace ( ‘/google_ad_channel *= *\”[^"]*\”/’, ‘google_ad_channel = “1478884331″‘, $subbed );
// $subbed = preg_replace ( ‘/ctxt_ad_partner *= *\”[^"]*\”/’, ‘ctxt_ad_partner = “‘ . $__ACMETECH_AD_PARTNER__ . ‘”‘, $subs );
// $subs = preg_replace ( ‘/ctxt_ad_section *= *\”[^"]*\”/’, ‘ctxt_ad_section = “20007″‘, $subbed );
}
}
Else, if you want to reduce the frequency and percentage of chance the Adsense-Deluxe plugin author’s impressions on your AdSense or YPN ads, just change the number 95 on the first line of code above to higher number between 96 and 100, where 100 will give the author’s IDs to appear 1 every 101 impressions in random, and 96 will be 5 out of 101, and so on.
IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Must Have WordPress Plugins
- Disable WordPress 2.3 Core and Plugins Update Check and Notification
- StatTraq - Wordpress Plugin for Site Statistic and Traffic Counter
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU)
- How to Disable and Turn Off vBulletin Plugin and Product System
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam
- Integrate WordPress including Comments with bbPress Forum using bbSync
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin
- AdSense and Display Banner Ads Rotation in WordPress Blog or Websites

































June 28th, 2006 02:09
I’m the author of the plugin, and if there is some error in the code, I will fix that. But I would never intentionally or covertly ignore the selection the blog owner makes with respect to that “reward author” option. I have been publishing software since 1995 and reputation is vital for any business owner, so this is not something I would do. Moreover, I urge people to consider the fact that anyone doing something like this when the source code is so easily viewed would be pretty boneheaded. I’m not that boneheaded…
I’ll look into this now and if either get an update released today, or report back my findings if they differ.
thanks.
-wayne
June 28th, 2006 03:08
Well that was a bad error to make. But it’s fixed now in v0.8. Thanks for discovering that.
Update available from this page: http://www.acmetech.com/blog/2005/07/26/adsense-deluxe-wordpress-plugin/
-wayne
PS: another version is in the works which allow blogs owners to share revenue with multiple authors such that for each post written by a given author, a percentage of the time their adsense/YPN ID would be used, thus rewarding authors for the content they write (and of course more popular posts would tend to generate more income for the author). The blog admin will be able to set the ratio for when the author’s ID is used instead of the blog owner’s ID.
February 21st, 2007 17:33
awesome thank for this