Log in

View Full Version : Simple Usergroup 'If Statements'


youradhere4222
04-15-2008, 10:42 PM
Hello -

I placed an ad at the bottom of my forum using the built-in ad templates. I'd like to only display this ad to one usergroup.

From my understanding, a simple 'if statement' around the ad code will do this. Can anyone supply me with the code?

Thanks.

Boofo
04-15-2008, 10:47 PM
<if condition="is_member_of($vbulletin->userinfo, 5,6,7)">
your code here
</if>