I'm working on trying to create a plugin/hook to insert some user data into another table(s), but I can't seem to locate all of the user variables, specifically the user email address.
When running the following:
Code:
echo '<pre>';
print_r($vbulletin->userinfo);
echo '</pre>';
I get the following array
Code:
Array
(
[userid] => 1
[usergroupid] => 6
[membergroupids] =>
[infractiongroupids] =>
[username] => admin
[password] => a037c104bf5bd5174da7362598200042
[salt] => 8]
)
This is on a local install, and the admin is the default/only user at this point. But shouldn't I get all of the user's info?