![]() |
Help in creating shared login system...
Ok, i have my vb 3.5 forum on subdomain A of my domain, and a related site on subdomain B. I'm trying (unsuccessfully thus far) to use the vbulletin usergroup permission system to enable members of the forum to view the site, but for non-members to be re-directed to my portal login page (using vbadvanced for that).
So far, i've been trying variants of this code to add to my non-vb pages. I have the global.php file in with the test file i've been trying the code on: Code:
<?php I did change the cookie setting to cover the whole domain, rather than just the subdomain that the forum is in. Can anyone advise me on how to make this work? :o |
You need to surround "include('./global.php');" with chdir() to the correct directories:
chdir('/path/to/forum/'); require('/path/to/forum/global.php'); chdir('/path/to/subdomain/'); |
All times are GMT. The time now is 05:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|