Quote:
Originally Posted by Bolthaven
How would I hide this for unregistered users? What I want to do is hide avatar, signature, and membernames from unregistered users while still letting them view some thread content.
My guess is that I would replace the condition !in_array($thread['forumid'],array(2,47)) with in_array(*whatever variable for group membership*)
|
If you want to show something only to members, use this code:
Code:
<if condition="$show['member']">
Some thing you want to hide from guests
</if>
and if you have many user groups that you want to hide from them, use this one:
Code:
<if condition="!is_member_of($vbulletin->userinfo, array('1','2','3'))">
Some thing you want to hide from some groups
</if>
Note: Replace 1,2,3 with the groups you want to hide a content from them