<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress 2.0 problems for google adsense users, and a workaround</title>
	<atom:link href="http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm</link>
	<description>Blogging tips and tricks, theme and plugin info, blogging software reviews, and more</description>
	<lastBuildDate>Tue, 07 Feb 2012 07:27:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Mr Blogmeister</title>
		<link>http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm/comment-page-1#comment-1445</link>
		<dc:creator>Mr Blogmeister</dc:creator>
		<pubDate>Tue, 31 Jan 2006 12:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm#comment-1445</guid>
		<description>I don&#039;t believe this is a problem. Question, are there any adsense ads placed on a 404 page. Answer No. I agree that the google bot gets a 404 error, but the bot finds no ads to serve. No ads, no violation. Simple as that

Larry
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t believe this is a problem. Question, are there any adsense ads placed on a 404 page. Answer No. I agree that the google bot gets a 404 error, but the bot finds no ads to serve. No ads, no violation. Simple as that</p>
<p>Larry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucky7Star</title>
		<link>http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm/comment-page-1#comment-1402</link>
		<dc:creator>Lucky7Star</dc:creator>
		<pubDate>Fri, 20 Jan 2006 15:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm#comment-1402</guid>
		<description>Ok, I admit I&#039;ve been into Word Press just about long enough to have broken my share of templates.  Is this a true issue or something like while standing on your head on Tuesday kind of upside down and backwards you might trip the wrong attribute in your MySQL table that reverses the polarity of the universe and causes a 400 page lighting bolt to strike from the skys of the Google editors whom perish your account from this world and the next.  Look, maybe this is a silly assumption but I figure the editors over at Google are aware of this problem and will not banish you from the world of the living on account of some accident of missplaced code... But just in case I&#039;m wrong I&#039;ve install 2.0 on one account and kept 1.5 on the other.  In the event the worse case scenario plays out and one should suddenly find themself banished to the underworld of Yahell, or assimilated by the undead of the Bill Gatius Borg, I&#039;m not going to miss a few Adsense dollars... It might even motivate me into landing a real job... If anyone has a flashlight and a map out of this black hole hotel California:)
</description>
		<content:encoded><![CDATA[<p>Ok, I admit I&#8217;ve been into Word Press just about long enough to have broken my share of templates.  Is this a true issue or something like while standing on your head on Tuesday kind of upside down and backwards you might trip the wrong attribute in your MySQL table that reverses the polarity of the universe and causes a 400 page lighting bolt to strike from the skys of the Google editors whom perish your account from this world and the next.  Look, maybe this is a silly assumption but I figure the editors over at Google are aware of this problem and will not banish you from the world of the living on account of some accident of missplaced code&#8230; But just in case I&#8217;m wrong I&#8217;ve install 2.0 on one account and kept 1.5 on the other.  In the event the worse case scenario plays out and one should suddenly find themself banished to the underworld of Yahell, or assimilated by the undead of the Bill Gatius Borg, I&#8217;m not going to miss a few Adsense dollars&#8230; It might even motivate me into landing a real job&#8230; If anyone has a flashlight and a map out of this black hole hotel California:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcia</title>
		<link>http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm/comment-page-1#comment-1401</link>
		<dc:creator>Marcia</dc:creator>
		<pubDate>Fri, 20 Jan 2006 01:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm#comment-1401</guid>
		<description>Thanks, this is gret information for those of us who are using Wordpress 2.0.  Do you mind telling me exactly WHERE in the template I would need to paste the above code that checks if the user is the author?

Thans=ks again!</description>
		<content:encoded><![CDATA[<p>Thanks, this is gret information for those of us who are using WordPress 2.0.  Do you mind telling me exactly WHERE in the template I would need to paste the above code that checks if the user is the author?</p>
<p>Thans=ks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Read</title>
		<link>http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm/comment-page-1#comment-1400</link>
		<dc:creator>Matt Read</dc:creator>
		<pubDate>Thu, 12 Jan 2006 01:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm#comment-1400</guid>
		<description>here are some ways to overcome the is_preview flackyness:

Check the post status:


global $posts;
if ($posts[0]-&gt;post_status != &quot;draft&quot;) {
 ... do ads here ...
}


Or, similar to what Matt said, check if the user is author. (You don&#039;t need to see your own ads anyway).


global $posts, $current_user;
if ($posts[0]-&gt;post_author != $current_user-&gt;ID) {
 ... do ads here ...
}</description>
		<content:encoded><![CDATA[<p>here are some ways to overcome the is_preview flackyness:</p>
<p>Check the post status:</p>
<p>global $posts;<br />
if ($posts[0]->post_status != &#8220;draft&#8221;) {<br />
 &#8230; do ads here &#8230;<br />
}</p>
<p>Or, similar to what Matt said, check if the user is author. (You don&#8217;t need to see your own ads anyway).</p>
<p>global $posts, $current_user;<br />
if ($posts[0]->post_author != $current_user->ID) {<br />
 &#8230; do ads here &#8230;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emily from How to Blog</title>
		<link>http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm/comment-page-1#comment-1399</link>
		<dc:creator>Emily from How to Blog</dc:creator>
		<pubDate>Wed, 11 Jan 2006 15:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm#comment-1399</guid>
		<description>Hi Matt,

Thanks so much for responding to my post (I&#039;m genuinely honored that you&#039;re even reading any part of my blog :)

I&#039;m thrilled to hear that there is another workaround for the adsense/live preview issue.  Since Michael didn&#039;t post it, and for those of us who aren&#039;t as familiar with the code behind the scenes, could you kindly provide an exact codeblock for how one would encorporate the workaround that checks if the current user is the admin in which case the ad would not be shown?  This way I can not only encorporate it on my own WP 2.0 blogs and report back on the experience, but I can also show my blog readers how to apply the workaround, as well.  If the code differs dependant upon whether it is in the loop or not, can you provide both code examples?  I would greatly appreciate it.

Thrilled to hear your earnings have only gone up -- that&#039;s great news!  I hope the same holds true for me once I start doing more WP 2.0 blogging.

And to address the making a stink about the issue prior to knowing anyone whose account actually was deactivated - I think it is somewhat warranted in that some people rely on their adsense revenue to get by (if not as a sole source of income for them) and once your account is revoked, there&#039;s no going back -- so to wait until Google notices that you&#039;re breaking their TOS and deactivates your account is a scary proposition.  I hope you can see where I&#039;m coming from on that.  

Looking forward to hearing back from you.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Thanks so much for responding to my post (I&#8217;m genuinely honored that you&#8217;re even reading any part of my blog <img src='http://www.emilyrobbins.com/how-to-blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m thrilled to hear that there is another workaround for the adsense/live preview issue.  Since Michael didn&#8217;t post it, and for those of us who aren&#8217;t as familiar with the code behind the scenes, could you kindly provide an exact codeblock for how one would encorporate the workaround that checks if the current user is the admin in which case the ad would not be shown?  This way I can not only encorporate it on my own WP 2.0 blogs and report back on the experience, but I can also show my blog readers how to apply the workaround, as well.  If the code differs dependant upon whether it is in the loop or not, can you provide both code examples?  I would greatly appreciate it.</p>
<p>Thrilled to hear your earnings have only gone up &#8212; that&#8217;s great news!  I hope the same holds true for me once I start doing more WP 2.0 blogging.</p>
<p>And to address the making a stink about the issue prior to knowing anyone whose account actually was deactivated &#8211; I think it is somewhat warranted in that some people rely on their adsense revenue to get by (if not as a sole source of income for them) and once your account is revoked, there&#8217;s no going back &#8212; so to wait until Google notices that you&#8217;re breaking their TOS and deactivates your account is a scary proposition.  I hope you can see where I&#8217;m coming from on that.  </p>
<p>Looking forward to hearing back from you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm/comment-page-1#comment-1398</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 11 Jan 2006 02:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://emilyrobbins.com/how-to-blog/wordpress-20-problems-for-google-adsense-users-and-a-workaround-314.htm#comment-1398</guid>
		<description>I&#039;ve been using live preview on my account for around 6 months (I think) and my adsense or YPN hasn&#039;t been deactivated. My earnings have only gone up too. I don&#039;t think it&#039;s worth getting so excited over a theoretical problem. If someone actually affected, then make an issue of it.

Also, as I told Michael on IRC, another easy workaround for this is to check if the current user is the admin, and not show the ad then.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using live preview on my account for around 6 months (I think) and my adsense or YPN hasn&#8217;t been deactivated. My earnings have only gone up too. I don&#8217;t think it&#8217;s worth getting so excited over a theoretical problem. If someone actually affected, then make an issue of it.</p>
<p>Also, as I told Michael on IRC, another easy workaround for this is to check if the current user is the admin, and not show the ad then.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

