![]() |
detect guest vs. registered member on vbulletin archive
In templates, we can use
<if condition="$show['guest']"> some content for guests only </if> to show a block of text to un-registered / un-logged-in users only. Is there a way to use something similar in the /archive/index.php archive to show a block of text to guests but not to logged-in users? --------------- Added [DATE]1203058542[/DATE] at [TIME]1203058542[/TIME] --------------- Sorry - figured it out. Code:
if ($vbulletin->userinfo['userid'] == 0) |
All times are GMT. The time now is 03:19 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:
|