PDA

View Full Version : Disabling the Below Navbar ad location for specific forums


MrEyes
08-15-2012, 07:56 PM
On my site I use the standard Below Navbar ad location to display an Adsense banner advert. This works fine, however I need the banner to be disabled on a couple of forums and the threads/posts these contain.

Does anybody know of a way to do this?

I am guessing some sort of conditional statement in the Ad code, however I am not sure what this should be. As the same ad location is used on non forum pages as well.

Cheers

ps. If anybody fancies helping me with the conditional the forum ids are : 30, 58, 59, 133 and 32

Simon Lloyd
08-15-2012, 10:14 PM
Yep you do want a conditional to surround the code in the ad template, look here https://vborg.vbsupport.ru/showthread.php?t=231525