The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
External registration and login to VB3
Hi there,
We're coding an external utility which works with PHP and MYSQL and we need to integrate it with Vbulletin... We succeeded with Vb2.3.x but with Vb3.x it won't work... The idea is to ask a user for a registration for our utility and with all this data, add it to the VB3 database, which means the user will enter its login information only once in our system and with it, it will have access to Vbulletin features as well... Any1 tried this before? I guess so, but VB3 is so new that we need help! Thanks! |
#2
|
|||
|
|||
bump! :P
|
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
Areku, Vb3 Uses Double MD5 + A 3 Char Salt To Make The Password Extremly Random.
I Did It One. Let Me Find The Code Or Show Me What You Have Done, And I'll Try To Help |
#5
|
|||
|
|||
please Logitech-2004 i'm waiting for your code , it's so importent with me
|
#6
|
|||
|
|||
I have just finished doing the same thing :-) If it is just the password code you want... try the following:
$salt = fetch_user_salt(3); $hashedpassword = md5(md5($password) . $salt); And include somewhere the following function: function fetch_user_salt($length = 3) { $salt = ''; for ($i = 0; $i < $length; $i++) { $salt .= chr(rand(32, 126)); } return $salt; } You then right the salt and the hashedpassword to the relevant columns in the vb3_user table (or whatever yours is). To then check a login from my own pages (not the VB ones), I simply hash the password supplied with the recorded salt.. if the hashed passwords match the password must be correct. If you want more it was quite a complicated thing to do as you have to insert in a few tables, update stats etc. but it could be done. If you wanted me to do it for you I could, but I am afraid my time would cost. Obviously though.. the odd snipit like above is free !! Ben. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|