Quote:
Originally Posted by Lynne
Where are you using that code - is it in a template or is it part of the php (don't use $vbulletin->userinfo in a template, use $bbuserinfo)? Are you trying to get the userid of the person viewing the page or ?? Did you include global.php in your page? You can't get the userid if you didn't.
|
Its a none template page, its part of the php, global.php is included yes,
I'm trying to get the userid if the person viewing the page.