The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|