The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Manual user login
Following on from a previous post of mine (https://vborg.vbsupport.ru/showthrea...threadid=49544 ), I now need to come up with a way to login a user manually from outside the vbb system.
My site is on the same server and MySQL server but we use different databases. I allready have some inter-vbb control but the final part of the code needs me to create a manual login where when a user submits their login data, the main window preforms the login and proceeds to the member area on my site while another window is opened which redirects to the users CP on the vbb site. I know this is possible but I dont know enough about the workings of VBB to do this. Can someone please tell me what database fields I have to change/update/use to achive this? Thx in advance. Syberius, |
#2
|
|||
|
|||
You can set the bbusername and bbpassword cookies with the username and passhash of the user, respectively.
|
#3
|
||||
|
||||
not sure what you mean there, why are they stored in cookies?
|
#4
|
|||
|
|||
Otherwise the board will forget that you're logged in.
|
#5
|
||||
|
||||
yeah, sry what i meant was why is the pass stored like that but then i noticed that is it passed through MD5 first.
I thought that was the case, I would have hoped that professionals would not put UNENCRYPTED passwords in a cookie! Im getting on well now, thx, |
#6
|
||||
|
||||
I have just hit another problem.
The sessions and cookies are being created fine now but when you return to the vbb board after being logged in via my site, vbb does not pickup on the login. Is this maybe down to the path/domain of setcookie or can this just not be done full stop, I would like to know if I am fighting a loosing battle Syb, |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|