Quote:
Originally Posted by 87accordlxi
I am also trying to do the same thing. I want a small line of text to be shown in a forum (actually, a category) description, but only to certain usergroups. The forum will be sponsored by an advertiser, but I only want Unregistered and partially registered usergroups to see the sponsor text.
This is the code I am using:
Code:
<vb:if condition="is_member_of($bbuserinfo, 3,1,35,21,4)">
<b>Sponsored by ADVERTISER X - </b><a href="http://www.ADVERTISER X link.com" target="_blank">ADDITIONAL SPONSOR TEXT</a><img src="http://www.IMAGE.GIF" width="1" height="1" border="0"/>
</vb:if>
The <vb:if> conditional is not working. All usergroups are seeing the text.
|
What do you mean, exactly, by "partially registered" usergroups? Because strictly speaking, you're either registered, unconfirmed or a guest. If you're a member of any one of the Usergroups defined in your if condition, you'll see it. Even if it isn't your primary Usergroup.