永久功能失效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)廣告部分。

It’s a good idea to reward the plugin author for the hardwork and effort, but obviously the option the provided in the plugin itself is not functioning, and it may possibly cost the plug-in users some financial consequences. 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: The page is machine translated and provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.


4 Responses to “Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option”

  1. xbox repair
    May 2nd, 2009 02:25
    4

    Thanks for pointing out!

    @Wayne: Quite a convenient ‘mistake’ to make..

  2. Rapid
    February 21st, 2007 17:33
    3

    awesome thank for this

  3. Wayne
    June 28th, 2006 03:08
    2

    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.

  4. Wayne
    June 28th, 2006 02:09
    1

    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

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

remove adsense php wordpress - how remove addsense in blog wordpress - multiple adsense google_ad_channel - "search rewards client" remove - login to remove ads wordpress plugin - disable wordpress adsense ad - remove ads on wordpress posts - wordpress plugin adsense remove - wordpress feedburner google ads multiple publisher ids - wordpress reward - YPN Partner ID -