The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
i'm coding a website and i want to use the user database of my forum... so the users have to register one to use both... but i don't get how i have to fix they could login from my website... i don't get how the fix it with the md5 security vBulletin uses... It would also be great if they could register when they are on the website (not on the forum)... Can someone help me out? |
#2
|
||||
|
||||
![]()
The "password" stored in the user-table is md5(concat(md5('password'), salt)).
So if you want to check if password bar for user foo is correct: [sql]SELECT userid, password=MD5(CONCAT(MD5('bar'), salt)) AS pwdcorrect FROM user WHERE username='foo'[/sql]
|
#3
|
|||
|
|||
![]()
you're my angel today
![]() |
#4
|
|||
|
|||
![]()
hmm concat is a function of vB?
In which file is it so i can copy it ? |
#5
|
||||
|
||||
![]()
CONCAT() is a mySQL function.
To concatenate strings in PHP you can use . PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|