The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
If you want the currently logged in users salt, that's in $vbulletin->userinfo['salt'].
If you need the salt for some other user, assuming your target user ID is in $userid, this should grab it for you: $my_userinfo = verify_id('user', $userid, 1, 1); It'll then be in $my_userinfo['salt']. -- hugh --------------- Added [DATE]1209928846[/DATE] at [TIME]1209928846[/TIME] --------------- I just reread your post, realized you are creating new users, so my response above doesn't help much. Are you using the user datamanager, or trying to do it by steam yourself? You might want to take a look at the code for 'addmember' in register.php, which shows how to use the datamanager to do this stuff. If you still want to do it by steam, for a new user you just need to generate a 3 character salt randomly ... PHP Code:
http://www.php.net/time -- hugh |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|