The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hide from usergroup
So i started using this pold template edit, and tbh with a little bit of customizing it, its wonderful.
but it is viewable to guests and i know there is some tag i can wrap it in to hide it from guests. any help? Trying to hide this from Guests PHP Code:
|
#2
|
||||
|
||||
You could wrap the unordered list element as follows:
HTML Code:
<vb:if condition="$show['member']"> <ul id="SideBar"> <li> <a href="usercp.php" title="UserCP"><img src="images/usercp_icons/cog.png"></a> </li> <li> <a href="profile.php?do=editavatar" title="Edit Avatar"><img src="images/usercp_icons/picture_edit.png"></a> </li> </ul> </vb:if> |
Благодарность от: | ||
trollshrooms |
#3
|
||||
|
||||
how do i add that to what i already have, is that a completely different sidebar?
|
#4
|
||||
|
||||
Just replace what you have beneath the style element with what I posted...it is the same as what you posted, except it's wrapped within a template conditional, and indented for added readability.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|