PDA

View Full Version : How to make a button only viewable by guests


Linkz0r
09-01-2009, 12:16 AM
Ok when you visit my forum guests see the register button, but if they sign up it still shows for members so I want to make it a guest viewable only button, how can I do this, thanks.
https://vborg.vbsupport.ru/external/2009/08/1.jpg

toonysnn
09-01-2009, 12:19 AM
<if condition="$show['guest']">
registration button here
</if>

Linkz0r
09-01-2009, 12:26 AM
<if condition="$show['guest']">
registration button here
</if>

Great, thank you very much.

Lynne
09-01-2009, 03:29 AM
You should not have to post a condition around it. If it is showing, it is for another reason. Check vboptions > user reg otpions > allow mult reg per user.