![]() |
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. |
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]"> |
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? |
Yes, unless some skins inherit the postbit template because they are child styles.
|
Thanks. :)
|
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> |
All times are GMT. The time now is 09:28 AM. |
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:
|