![]() |
pulling user id from outside forums
so, I am looking to create a somewhat small system on my site, that involves the same users in the forums. Basically I want this features 'userbase' to be the same people in the forums.
Now, lets say my site is in the folder: site I also have a forums setup at site/forums/ which is where vbulletin is. I'm trying to write a simple script in site, lets call this test.php, where it will also initialize the same session, and print that users ID if they're already logged into vbulletin. I know lots about programming, but admit I don't know anywhere near enough about vbulletin, and if I can figure this part out the rest should be easy. So again my test script is at: site/test.php Forums is at: site/forums/ my test.php script I initially tried was PHP Code:
Any help is appreciated :) |
The last three threads I've looked at had something to do with global.php and not doing a chdir first.
To fix the include path issues, try this: PHP Code:
PHP Code:
|
Quote:
|
worked like a charm. Thanks
|
All times are GMT. The time now is 01:17 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:
|