The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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
";
}
|
![]() |
|
|