The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have so many unregistered visitor so I made a nice "sign up/registration" button. How do I show that to visitors only, or members don't see it.
Thanks |
|
#2
|
||||
|
||||
|
The value "$show['guest']" will be true for visitors and false for registered users, so if you have put your new button in a template, you could wrap it with the template conditional:
HTML Code:
<vb:if condition="$show['guest']"> <!-- Put your button HTML here within the template conditional --> </vb:if> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|