Quote:
Originally Posted by amcd
Code:
if ($vbulletin->userinfo->userid==0)
{
print_no_permission();
}
If this doesn't keep guests out, then I have no answer. Maybe someone more experienced can help.
|
1. it is $vbulletin->userinfo['userid']
2. you can use
[php]
$show['guest'] and $show['member']
PHP Code:
if ($show['guest'])
{
print_no_permission();
}
guests will get the no permission page

hth