The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I show something only to members of one usergroup?
Hi,
I'd like to show some things (links, IM icons) only to members of a certain usergroup. I thought I knew how to do this... Code:
<if condition="is_member_of($vbulletin->userinfo, 14)">restricted content here</if> ~~~~~~~~~~~~~~~ Update! Um. Apparently the results depend on what's inside the 'if'. This, from the postbit template Code:
<if condition="is_member_of($vbulletin->userinfo, 14)"> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </if> But this, from the header template Code:
<if condition="is_member_of($vbulletin->userinfo, 14)"><li style="font-size:100%"><a href="http://www.onlineclarity.co.uk/friends/blog.php">Blogs</a><strong>•</strong></li></if> ~~~~~~~~~~~~~~~ I need help! Thanks... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|