The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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) { $output .= " html here "; } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|