PDA

View Full Version : show image with link to visitors only


Talk Hard
08-14-2016, 05:11 PM
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

MarkFL
08-14-2016, 05:26 PM
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:

<vb:if condition="$show['guest']">
<!-- Put your button HTML here within the template conditional -->
</vb:if>

Talk Hard
08-14-2016, 05:28 PM
Thanks, cheers!