![]() |
Quote:
Many thanks ;) |
Very useful, thanks!! :)
|
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*) |
thank u
|
Quote:
|
k thanks for the help just must have over looked it
|
Quote:
Code:
<if condition="$show['member']"> 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'))"> |
Quote:
Quote:
and then use this code: Code:
<if condition="$member['field6']=='show'"> |
Good, i like this... installed.
Also, I added an "else": PHP Code:
|
Just an FYI
I did not want to display signatures or avatars to unregistered users, but there are also three forums that I did not want them to display to members. so I used the following... In case anyone was looking to do the same... PHP Code:
|
All times are GMT. The time now is 08:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|