The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Cross-domain auth using vB tables?
Hello All,
I am currently working on a prototype PHP/MySQL web app that is completely unrelated to vB. However, this site I'm creating is to be a sort of "sister site" to the largest forums out there for our hobby... my app is a user-centric database-driven app, and I'm curious about a couple of things... 1. Am I able to use the vBulletin tables from another domain? For example, my site is www.sistersite.com, and I'm trying to use the user tables from www.parentsite.com. Two different domain names. Is this possible, and does anyone have any quick code or can you point me to a place that does? 2. I want to set my site up so that it senses whether or not the users at www.parentsite.com have set "always log me in" (you know, the cookie thing), and it automatically logs the into my site as well. Can cookies, or more specifically, can vB's cookies be shared cross-domain in this fashion? What I'm proposing amounts to www.sistersite.com checking a cookie from www.parentsite.com, and I don't believe that's possible... any other suggestions for this kind of scenario? Registration at www.parentsite.com is MANDATORY for using my site, so I have no issues with registration or authentication mechanisms... I will be taking it for granted. What I'm more concerned about is being able to share this info cross-domain, and whether or not it's even possible. I wish to retain my own domain and webspace for this app, and If I have to go ahead and keep authentication separately for this site I will. Thanks! ...tom |
#2
|
||||
|
||||
well it is possible, but it's not easy, i currently don't know a already finisherd hack for 1
|
#3
|
|||
|
|||
Quote:
...tom |
#4
|
||||
|
||||
well, you have to edit the db_mysql.php file and check if the working table is user, if it is it, connect to the other server and get the data from there.
but it would be hard with join queries, i don't know how you'd write a workaround for them... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|