PDA

View Full Version : vBulletin 3.7.4 Intergration


Silentonenz
12-05-2008, 08:19 AM
Hi there guys,

I have a quick question that someone could answer quicker than i could by going in all through the vBulletin files.

I have a system i would like to integrate into my vBulletin Database.

I would like to use the user name/password as there login for a game i am currently in the process of making; Its SQL based obviously. vBulletin encrypts the passwords and i would like some input if possible on how i can check the username/password against the vBulletin database, If its right it logs in, If not it returns invalid username/password

Any ideas?

Thanks in advanced,

Silentone

Dismounted
12-05-2008, 09:36 AM
$password = md5(md5($plaintext) . $salt);

ptmuldoon
12-05-2008, 12:01 PM
FYI. I'm doing something similar, and my thought process is that it is better to use the vbulletin registration, and then pass the vbulletin user variables to the game to log them in.

Silentonenz
12-06-2008, 05:44 AM
How is the salt calculated?

As i need to be able to verify what the client is using to connect to the server.

Dismounted
12-06-2008, 08:57 AM
The salt is the "salt" field for the user in the database. It is three random (and not necessarily alphanumeric) characters.