The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Manually adding user to database; Can't login with user
I am trying to make a little script to manually add a new user to the vbulletin database. I understand how the password hashing works and have made a script that shows me what should be in the password field when I put in whats in the salt field, so I know the user im manually adding has the right password accoridng to it's salt. For some reason I still can't login to vbulletin with this user I manually added. I tried password reset on the user and afterwards logging in worked with the new password. I assumed some field in db I missed was preventing the original from logging so I compared the user's db info before and after password reset, and other than the password and the salt, I saw no difference. So I am really stumped on what could be preventing the login.
Like I said, I looked at the salt for a working user, and did the md5(md5(password) . salt) and got whats in the password field, then did the same for the manually added user whom I can't login with and got what the password field said for both, so I know thats not the problem. I am using the code for adding the admin user in the install portion of the script as a template for manually adding this user. The only thing I am doing differently is the options field. I am not puting any of the useroption defaults like vbasset_enable, showsignatures because I don't really know how to insert that. However, the user still is getting a string of numbers in the 'options' field in the database, however it isnt changing after the password reset so I don't even see how that could be the problem. I am totally stumped on this, please help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|