The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have two sites - a "main" site and a site for the forums, both on different locations and servers. The main site has been static until now, but I hope to convert it all to PHP for various reasons.
I am hoping to offer some resources that are available to registered users, and it seems silly to ignore the fact that I have a good user base on the forum site, and for consistency sharing the usernames and passwords seems a good idea. My intention so far has been to allow users to log in on the site with their forum un/pw, and then to authenticate that and keep a session for them locally. There is no need to require them to be logged in on both at once, I just need to authenticate the user, and then keep their user ID for later use in the session. I have remote access to the mySQL server, and have been trying as above, but don't seem to be able to get it to work. Here is the SQL query I have tried: Code:
SELECT userid FROM user WHERE username='me' and password = MD5(CONCAT('mypassword', salt)) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|