View Full Version : hide phpads
kadafi_alive
11-05-2005, 09:37 PM
Hi,
Is there a way to hide certain phpads banners for certain usergroups?
I have tried adding the if conditional in phpads, but it doesn't work
Thanks in advance
Regards
Andreas
11-05-2005, 09:49 PM
In the Template:
<if condition="!is_member_of($bbuserinfo, X)">
Ad-Code here
</if>
Where X is your "Ads-free" usergroup
kadafi_alive
11-05-2005, 09:59 PM
hi
thanks for the reply
the thing is, that i want to display adsense for guests but other banners for everybody. I have tried adding the adsense code with conditional (the one you supplied) via the phpads main menu but it doesnt work and displays for every usergroup
regards
Andreas
11-05-2005, 10:58 PM
You must use the conditionals in vBulletin Templates - they don't work anywhere else.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.