PDA

View Full Version : Need Adsense Help Please


Booyakan
05-15-2007, 12:52 PM
Hi,
I am showing adsense in my header, left side and posts. This brings me to my total of 3 ads. However, on the front page of my forum and other pages where there are no posts I use only 2 of the ads and could place adsense in my footer. Can someone please give me a code so that when I am on the posts page it wont show the footer adsense?

Guest210212002
05-15-2007, 01:23 PM
I believe what you're looking for is this:


<if condition="THIS_SCRIPT != 'showthread'">

Booyakan
05-15-2007, 02:47 PM
correct?

<if condition="THIS_SCRIPT != 'showthread'">ADSENSE CODE</if>

And if i wanted to not show this adsense on more pages it would be like this?

<if condition="THIS_SCRIPT != 'showthread' AND THIS_SCRIPT !='newreply' AND THIS_SCRIPT != 'editpost' AND THIS_SCRIPT != 'login'">ADSENSE CODE</if>

I am using vB Ad management and I put this statement in my code but the ads didn't disappear, so I please need a little help, thanks.