Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option永久禁用的AdSense豪华wordpress插件奖励插件作者的选择
AdSense-Deluxe AdSense的豪华 is a WordPress (works in WordPress 1.5 and 2.0) plug-in by Acme Technologies Zeitgeist which offers WordPress bloggers various advanced yet easy to use options for managing the automatic insertion of Google AdSense or Yahoo Publisher Network (YPN) ads code or any other JavaScript-based advertising networks’ ads code into your WordPress posts, and flexibly control when and where those ads are displayed inside the posts.是一个在WordPress (工程在WordPress 1.5和2.0 )插入式的尖端技术的时代精神,提供的WordPress博客的各种先进但简单易用的选项管理自动插入的Google AdSense或Yahoo出版商网络( ypn )的广告代码或任何其他JavaScript基于广告网络的广告程式码到您的WordPress的职位,并灵活地控制何时及何地,这些广告是车厢内所展示的职位。
The AdSense-Deluxe plugin for WordPress has include a Reward Plugin Author option which if enabled and checked, will reward the AdSense-Deluxe plug-in author with approximately 5% of the AdSense and Yahoo! AdSense的豪华插件的WordPress已包括悬赏插件作者的选择,如果启用,并检查,将奖励的AdSense豪华外挂程式作者与大约5 %的AdSense和雅虎! Publisher Network (YPN) ad impressions on your blog by replacing your AdSense client-ID or YPN ad partnet ID with author’s AdSense client-ID or author’s YPN publisher ID when the plugin process and insert your AdSense code or YPN ads code into the blog.出版商网络( ypn )的广告展示在您的博客上取代您的AdSense客户ID或ypn广告partnet ID与作者的AdSense客户ID或作者的ypn发布者ID时,插件的过程中,并插入您的AdSense代码或ypn广告代码进入博客。
The option is disabled by default when you first activate the AdSense-Deluxe plugin.该选项是禁用的默认情况下,当您第一次启动的AdSense豪华插件。 However, when the plugin insert the AdSense code or YPN code into the blog’s post or page, it doesn’t check for the Reward Author option setting to see if it’s enable or disable or whether it should replace the AdSense client-ID or YPN partner-ID befor.然而,当插件插入AdSense代码或ypn程式码贴到博客的邮政或网页,它不检查,为奖励作者选项设定,看看是否能的启用或禁用或是否应取代的AdSense客户端- ID或ypn合作伙伴-编号前。 Thus, AdSense-Deluxe plugin will replace and change the AdSense client-ID or YPN ad partner-ID to author’s no matter what option the plugin users select for Reward Plugin Author setting.因此, AdSense的豪华插件将取代和改变的AdSense客户ID或ypn广告合作伙伴-编号,以作者的无论什么选择插件用户选择为奖励插件作者的设置。
The block of code that does the replacement of ads ID on the ads code and its conditions of checking that the plugin will check before it does the change is as following:该代码块表示,是否更换广告编号上的广告代码和其条件的检查,该插件将检查之前,它的变化是由于以下内容:
if( rand(0, 100) >= 95 && ! $EDITING_PAGE ){ 如果(兰德( 0 , 100 ) > = 95 & & !美元editing_page ) (
if( is_single() || is_page() ){ 如果( is_single ( ) | | is_page ( ) ) (
$msg .= “\n 美元味精.= “ \ n “; //DEBUGGING “ ; / /调试
$subbed = preg_replace ( ‘/pub-[0-9]+/’, $__ACMETECH_CLIENT_ID__, $subs ); 元subbed = preg_replace ( ' /酒吧- [ 0-9 ]+/',元__acmetech_client_id__元,潜艇) ;
$subs = preg_replace ( ‘/google_ad_channel *= *\”[^"]*\”/’, ‘google_ad_channel = “1478884331″‘, $subbed ); 美元潜艇= preg_replace ( ' / google_ad_channel *= * \ "[^"]* \ “ / ' , ' google_ad_channel = ” 1478884331 “元, subbed ) ;
$subbed = preg_replace ( ‘/ctxt_ad_partner *= *\”[^"]*\”/’, ‘ctxt_ad_partner = “‘ . $__ACMETECH_AD_PARTNER__ . ‘”‘, $subs ); 元subbed = preg_replace ( ' / ctxt_ad_partner *= * \ "[^"]* \ “ / ' , ' ctxt_ad_partner = ” ' 。元__acmetech_ad_partner__ 。 ' “ '元,潜艇) ;
$subs = preg_replace ( ‘/ctxt_ad_section *= *\”[^"]*\”/’, ‘ctxt_ad_section = “20007″‘, $subbed ); 美元潜艇= preg_replace ( ' / ctxt_ad_section *= * \ "[^"]* \ “ / ' , ' ctxt_ad_section = ” 20007 “元, subbed ) ;
} )
} )
The only conditions checked are if it’s actual posts or actual pages served to visitors and your ads will rotate with 6 out of 101 (5.94%) of the AdSense and YPN ads impressions will belong to author’s.唯一的条件是检查,如果它的实际职位或实际网页的服务,以旅客和您的广告将轮流与6 101 ( 5.94 % )的AdSense和ypn广告的展示将属于作者的。 Also change in the ads code are AdSense channel and Yahoo Publisher Network (YPN) ad section.也变化,在广告代码的AdSense渠道和雅虎出版商网络( ypn )广告节。
It’sa 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.您可以编辑插件使用外挂程式编辑器中的插件菜单,然后选择AdSense豪华。 The new code should looks like this:新的代码应该看起来像这样:
if( rand(0, 100) >= 95 && ! $EDITING_PAGE ){ 如果(兰德( 0 , 100 ) > = 95 & & !美元editing_page ) (
if( is_single() || is_page() ){ 如果( is_single ( ) | | is_page ( ) ) (
$msg .= “\n 美元味精.= “ \ n “; //DEBUGGING “ ; / /调试
// $subbed = preg_replace ( ‘/pub-[0-9]+/’, $__ACMETECH_CLIENT_ID__, $subs ); / /美元subbed = preg_replace ( ' /酒吧- [ 0-9 ]+/',元__acmetech_client_id__元,潜艇) ;
// $subs = preg_replace ( ‘/google_ad_channel *= *\”[^"]*\”/’, ‘google_ad_channel = “1478884331″‘, $subbed ); / / $潜艇= preg_replace ( ' / google_ad_channel *= * \ "[^"]* \ “ / ' , ' google_ad_channel = ” 1478884331 “元, subbed ) ;
// $subbed = preg_replace ( ‘/ctxt_ad_partner *= *\”[^"]*\”/’, ‘ctxt_ad_partner = “‘ . $__ACMETECH_AD_PARTNER__ . ‘”‘, $subs ); / /美元subbed = preg_replace ( ' / ctxt_ad_partner *= * \ "[^"]* \ “ / ' , ' ctxt_ad_partner = ” ' 。元__acmetech_ad_partner__ 。 ' “ '元,潜艇 ) ;
// $subs = preg_replace ( ‘/ctxt_ad_section *= *\”[^"]*\”/’, ‘ctxt_ad_section = “20007″‘, $subbed ); / / $潜艇= 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.否则,如果你想要减少的频率和百分比的机会将AdSense豪华插件作者的展示,您的AdSense或ypn广告,只是改变人数95对第一线,上面的代码,以更高的数目之间的96和100 , 100将给予作者的ID的出现一,每101展示在随机的,和96将有5 101名,等等。
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必须有wordpress插件
- Disable WordPress 2.3 Core and Plugins Update Check and Notification禁用的WordPress 2.3的核心和插件更新检查和通知
- StatTraq - Wordpress Plugin for Site Statistic and Traffic Counter stattraq -w ordpress插件网站统计和交通柜
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin三栏放宽的WordPress主题的评论- paged.php为分页-评论wordpress插件
- How to Disable and Turn Off vBulletin Plugin and Product System如何禁用和关闭vbulletin插件和产品系统
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU)自动更新的WordPress到最新版本,与自动升级插件( wpau )
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam免费下载: akismet为wordpress插件2.0停止评论,跟踪和pingback垃圾邮件
- Integrate WordPress including Comments with bbPress Forum using bbSync整合WordPress所包括的评论与bbpress论坛使用bbsync
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin wordpress插件:显示Google的分析和feedburner的报告统计,从网站管理员
- AdSense and Display Banner Ads Rotation in WordPress Blog or Websites AdSense和展示横幅广告轮流在WordPress的博客或网站

































June 28th, 2006 02:09 2006年6月28日2时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.我一直在出版软件自1995年以来,和声誉是至关重要的,任何企业的所有者,因此,这是不是我会做的。 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.此外,我呼吁市民要考虑的事实,任何人做一些像这样当的源代码是这么容易看会相当boneheaded 。 I’m not that boneheaded…我不认为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 2006年6月28日3时08分
Well that was a bad error to make.以及,这是一个坏的错误作出。 But it’s fixed now in v0.8.但它的固定,现在在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). PS :如果另一个版本是在工程,让博客业主分享收入与多位作者的,例如,对于每一个职位的书面某一作者,一定比例的时间,他们的AdSense / ypn编号将用于,因此,奖励作者为内容,他们收件(当然更受欢迎的职位,往往会产生更多的收入为作者) 。 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.该博客admin将能够设置比例时,作者的ID是用而不是博客的所有者的ID 。
February 21st, 2007 17:33 2007年2月21日17时33分
awesome thank for this可怕感谢这