The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
vbulletin password hash - how do I integrate
Hi all,
I need some help asap. I've got another php application that requires you to log on. I've tried to integrate this into vbulletin's database. Both vb and the app share the 'user' databases userid, username and password fields. The problem is that VB and the other app create, mask, or hash the passwords differently! So although the other app sees that I am a user, the password I enter will be incorrect because it can't read vb's pass with the salt and all. Can someone please help me come up with a way to make the other app login using vb's method, or at least be able to decrypt password the same way vb does so I can log on to both the forum and this other app? I've added the login.php test from the other app. PHP Code:
|
#2
|
||||
|
||||
Anyone? I'm stumped and really don't know how to fix this
|
#3
|
||||
|
||||
A friend came through for me - all fixed.
|
#4
|
||||
|
||||
wish you would have shared the answer here
|
#5
|
|||
|
|||
agreed. if you come back, it would be helpful to share the answer.
|
#6
|
||||
|
||||
The vB password is the md5 of the password, with the salt appended and md5ed again.
Code:
$vbpassword=md5(md5($password).$user['salt']); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|