We have several sponsor forums that we don't want our Adsense ads to show up in forumdisplay in the right column.
To make ads show in a sponsor forums forumdisplay, we use the following:
Where 'xxx' is the forum id of the sponsor.
You can see an example here in this sponsor's forum... Adsense to the right... http://www.hometheatershack.com/forums/gr-research/
However, in that same forum we have Adsense ads that show up on all of the forumdisplay pages.
I am guessing we need the <if condition> code so that we can wrap it around the Adsense code and exclude the Adsense ads from all of our sponsor forums. In their forums we will show strictly their ads.
Thanks!
To make ads show in a sponsor forums forumdisplay, we use the following:
Code:
<if condition="$foruminfo[forumid] == xxx"> <a href="http://www.sponsor.com" target="_blank"><img src="http://www.hometheatershack.com/images/300x250_sponsor.jpg" alt="Sponsor" width="300" height="250" border="0" /></a> </if>
You can see an example here in this sponsor's forum... Adsense to the right... http://www.hometheatershack.com/forums/gr-research/
However, in that same forum we have Adsense ads that show up on all of the forumdisplay pages.
I am guessing we need the <if condition> code so that we can wrap it around the Adsense code and exclude the Adsense ads from all of our sponsor forums. In their forums we will show strictly their ads.
Thanks!
Comment