Quote:
Originally Posted by Blaine0002
its checking to see if the user is logged in / registered :P
|
No im afraid its not. Becuase we already have that info without a query. its called $vbulletin->userinfo['userid'] if that is set to 0 they are not a registered member.
So we could use
Code:
if(!$vbulletin->userinfo['userid'])
{
//run some error crap here about not being registered or logged in
}