The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I check if user is logged in inside a template
If I want to check if a user is logged in or not in a particular template, how can I achieve this?
I need to check if they are logged in, if not, forward them to login or register page. Please guide. (I am making a custom template) |
#2
|
||||
|
||||
In your template, use this conditional:
HTML Code:
<if condition="$show['guest']"> Stuff to only show unregistered users </if> |
#3
|
|||
|
|||
Thanks !!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|