The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Set session outside vB
I have a whole bunch of systems which integrate with vB but they still require you to log in separately.
Is there a way to set minimum session data to "log in" to vB? I know there is tons in the session array but can i set just a few to have them be logged in? |
#2
|
||||
|
||||
PHP Code:
|
#3
|
|||
|
|||
What about just for the session?
|
#4
|
|||
|
|||
yeah that doesnt tell you anything about setting the session. im doing the same thing currently, and just setting the cookies for userid and pw doesnt do much, vBulletin still thinks you arent logged in.
you need a bbsessionhash cookie which matches the session hash found in a row created in the _session table. unfortunately, vb has a very complex way of creating the id hash/sessionid. ive been searching the forums literally all day and pleanty of people talk about it, but no one shows how its actually done. so im resorting to digging through the source in order to find it. so far ive at least found away to create the idhash in the session table. Im having problems figuring out all the variables used in the sessionhash itself. |
#5
|
||||
|
||||
Quote:
The session hash is read from the cookie bbsessionhash - I know that's not how it's made but I hope that helps. |
#6
|
|||
|
|||
PHP Code:
for example: My IP : 192.168.1.111 $subnet will be 192.168.1 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|