The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$vbulletin->userinfo Help Needed
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>'; Code:
Array ( [userid] => 1 [usergroupid] => 6 [membergroupids] => [infractiongroupids] => [username] => admin [password] => a037c104bf5bd5174da7362598200042 [salt] => 8] ) |
#2
|
|||
|
|||
What hook is this code in?
|
#3
|
|||
|
|||
Right now I'm just purely experimenting and have the code being executed in the login_verify_success hook.
But should that matter? Does the userinfo only pull specific data depending on where the the information is called? If that is the case, then how you go about getting all of the userinfo in one place to use? --------------- Added [DATE]1224685594[/DATE] at [TIME]1224685594[/TIME] --------------- Can anyone offer up some help or advice? I've digging the forums and doing some google searches, and see lots of references to $bbuserinfo as listed below. Yet listing the array with print_r as indicated earlier is not returning everything in the user table. Should these work? Code:
$bbuserinfo[username] Username $bbuserinfo[userid] User ID number $bbuserinfo[posts] Users postcount $bbuserinfo[signature] Users signature $bbuserinfo[email] User Email Address $bbuserinfo[homepage] Users homepage in profile $bbuserinfo[msn] Users MSN address from profile $bbuserinfo[yahoo] "" Yahoo "" $bbuserinfo[icq] "" ICQ "" $bbuserinfo[usertitle] Users custom usertitle |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|