Can anyone point me to a thread/article that shows you how to disable Adsense ads on VB forum pages that doesn't have content, i.e. log-in, CP, etc? ATTN MOD: Please move this to the appropriate category if it doesn't belong here. TIA.
Try the following code surronding your adsense code. <if condition="THIS_SCRIPT == 'showthread' or THIS_SCRIPT == 'index' or THIS_SCRIPT == 'forumdisplay' or THIS_SCRIPT == 'search'"> <!-- Google Adsense Code --> </if> Code (markup): This works for VB 3.5 and I believe 3.0. Let me know if you have any questions.
Hi nice thats what basicaly i was looking for. But is there any way that adsesne can be hided from certain forums? I mean I dont want adsense to apear in forum A and B(coz it has mature material) but want to display adsense in forum C , d and its subforums? And Can we hide it from guest or unregistered users?