The signed in user info can be accessed by using
within a template.
The signed in user info can be accessed in the php file by
PHP Code:
$vbulletin->userinfo[]
view all the user info with
PHP Code:
print_r($vbulletin->userinfo);
in your php file. All the keys with that object are there. IE. the userid is $bbuserinfo[userid] or $vbulletin->userinfo[userid];
i pass an
(userid from a post) via a GET request in the URL and use
PHP Code:
$tid = fetch_userinfo($_GET[id]);
to get that users information in the target php file. this is identicle in structure to the $vbulletin->userinfo object.
if you are just looking to add the additional profile fields to a template then
PHP Code:
$post[field#] or $bbuserinfo[field#]
are what you need to add. Remember: $post is the posters data. and $bbuserinfo is the logged in user.