View Full Version : Block ads for certain user groups
seaweed
05-30-2009, 03:23 PM
I would like to block adds from being seen by certain user groups or subscribers. I am using openx to creat adds. Any info appreciated.
Thanks
Seaweed
UKBusinessLive
05-30-2009, 04:13 PM
You can do this with conditionals
Just add a conditional to the begining of your ad code like this
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
with the x y z the user group ID of the usergroups that you want to show the ads too, all other usergroups won't see them.
Don't forget to end it with
</if>
:D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.