![]() |
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) |
In your template, use this conditional:
HTML Code:
<if condition="$show['guest']"> |
Thanks !! :)
|
All times are GMT. The time now is 06:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|