Log in

View Full Version : How to disable advertisement for premium users?


cloferba
07-28-2009, 06:10 PM
Is there any mod for vbulletin to enable advertisements for a select usergroup?

BlueNinjaGo
07-28-2009, 06:23 PM
Put a conditional around the ad code in the template.

<if condition="$bbuserinfo['usergroupid'] != #"> </if>

# being the usergroup ID of premium members.

cloferba
07-28-2009, 06:31 PM
thank you!

and if i want to disable banners?
Example: usergroup8..show banners..
if usergroup22...dont show banners..show an image

how can i do this??