The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Logging in a User to VB from an external Script Help?
hey guys,
Going to try and keep figuring this out, but this is where I stand. I have an external login script, login a user to my own backend I am building and VB. I want it so they only login once. So anyways long story short. When they Login, it inserts the required data to Sessions for VB. It has a row setup in user for VB. When I login, I see my username in Active Users. But, when trying to post, It says I must login. I have the following cookies set on login. bbsessionhash bblastactivity bblastvisit Long story short. When posting, how does the system verify your logged on? |
#2
|
||||
|
||||
Here's how to log users in.
PHP Code:
|
#3
|
|||
|
|||
strangely this is not working...
|
#4
|
|||
|
|||
The function:
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
When is that function called?
lets try something else... So far my userid is set, password is set, but its not inserting my userid into the session in the database. So where does Vbulletin initally set the session from the forums index page. This way I can have the userid be inserted along with it. When I manually do this via PHPMYADMIN I am logged it, and all is well... This shit is not working. VB keeps deleting the cookies. How the hell. Help guys, common. Both of those solutions successfully created the cookies but it is not working.. ANy Help??? |
#6
|
||||
|
||||
You need to create the sessions in the database yourself.
|
#7
|
|||
|
|||
Uhm.. what does the license mean?
|
#8
|
|||
|
|||
How?
|
#9
|
||||
|
||||
License number
Search for it, it was posted here, somewhere. |
#10
|
|||
|
|||
I have found my license. But, if I was logging in from mydomain.com and my forum is located on mydomain.net - it still wouldn't work because the cookie is set from mydomain.com, right?
And.. I have realized I am in the same situation as dzineit and treelovinhippie. Where does vbulletin have the query to set the session stuff in the database? This is how it is adding the user into the forum AFTER they have logged into my website: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|