The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need No View Sigs and Avatars Hack
Hello.
Is there a hack or mod that will allow me to disable views for signatures and avatars for those users who are not logged into my forum? Thanks, in advance, for your help. |
#2
|
||||
|
||||
In your postbit template, you can wrap the sig and avatar code with a conditional to ensure the person is logged in.
Code:
<if condition="$vbulletin->userinfo[userid]"> </if> |
#3
|
|||
|
|||
Thank you for responding.
This means that I'd have to do this in every single skin we have on our forum, doesn't it? |
#4
|
||||
|
||||
Yes, unless some skins inherit the postbit template because they are child styles.
|
#5
|
|||
|
|||
Thanks.
|
#6
|
|||
|
|||
HTML Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> HTML Code:
<if condition="$vbulletin->userinfo[userid]"></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|