Quote:
Originally Posted by Lynne
I use a slightly different code. I must have gotten it from vb somewhere, cuz I don't just make these up.
PHP Code:
if (!isset($vbulletin->userinfo['userid']) OR $vbulletin->userinfo['userid'] == 0)
{
print_no_permission();
}
That gives a No Permission Page to the user.
|
The first bit is redundant as if a variable is not set, it will return false or 0 anyway

.