The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Old questing not yet resolved: Vbulletin Login
Im currently working on a site that require Vbulletin login as a medium of all other children sites...
BUT: The problem is that one of the child site that im going to integrate is running on a different host. but it's still on the same main domain (child.xxx.com and forum.xxx.com) -> i already set the session domain to .xxx.com. The solution of integrating VBB have been writen several times before, but almost all of them did not come with an explanation for any of their code, or they are used for local sites on the same host (require global.php) I've done a lot of searches about this topic both on Google and Vbulletin websites, but no answer could be found. So i write this question. I just simply want to ask how can I access the session on other webpage that i wrote above... For example: I have a forum on forum.xxx.com and a site that running on other host and different ip, different server on fck.xxx.com . When the user type in the login on fck.xxx.com, they submited to forum.xxx.com/login.php and return back to the fck.xxx.com/login.php for validation purpose... but how can i validate the session when i dont know how to access it. You may find this question noob, but if someone could write a brief explanation for this, i will be very appreciated. Thank you so much.. Regard.... |
#2
|
||||
|
||||
Do you use XXX for a children's site? Eeew!
well I read 3 times your question [very confusing btw] if you have another instance of vBulletin in another host, and different IP then it's another license and another forum... Do you want then to have just one login page? |
#3
|
|||
|
|||
i just need to make user can also use the userdatabase of my vbulletin on forum.xxx.com... I think i can use session?! if yes, what should be the value of $_SESSION?
--------------- Added [DATE]1211862724[/DATE] at [TIME]1211862724[/TIME] --------------- does anyone know how to do this? --------------- Added [DATE]1211863275[/DATE] at [TIME]1211863275[/TIME] --------------- I only have 1 instance of VBB running on 1 of my host. I just need to integrate it on another host. The Default way is to include the VBB's Global.php But this is on another host and i dont know a way to integrate it. So any help will be very appreciated BTW: Sorry for my english. |
#4
|
||||
|
||||
The only way I can think of right now is to have an authentication script which is accessed to check if a user is logged in or not. I don't think there is one readily available, you may have to create your own.
|
#5
|
|||
|
|||
i remembered that there is a cookie setting in ACP... And i put the value of ".xxx.com"
how can I simply use or get the value of some variable for my other sub-domain? |
#6
|
||||
|
||||
You could use the information in the cookies, but that has no use to you without actual connection to the database, as it only contains the sessionid and userid.
|
#7
|
|||
|
|||
i see...
BTW, could you explain a bit about the user's password that stored in user table. They seam to be encrypted with some token |
#8
|
||||
|
||||
PHP Code:
|
#9
|
|||
|
|||
1 see. Hope it will be solve with an API... :P
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|