PDA

View Full Version : Getting userid for other Applications


kotto_bass
09-06-2006, 06:45 PM
Hi, just bought a license for VBulletin. I would like to use VBulletin, simply as a message board (a component in my entire website), but my logged in users should maintain their session across the site, not just in the /forums folder. I'm trying to get the userid cookie after logging in to vbulletin, so I can integrate it to Pligg and other applications but I just can't. Is there a way to do that? Are there VBulletin APIs that allow integration with other applications, without tweaking vbulletin code? Can I move the registration page to the root folder without any security hassles and all what not?

nico_swd
09-19-2006, 08:01 PM
define('THIS_SCRIPT', 'something');
define('LOCATION_BYPASS', 1);

include('./forum_path/global.php');

print_r($vbulletin->userinfo);

kafi
09-29-2006, 06:29 PM
hi kotto have you succeded with integration with pligg? would you be willing share your solution?
There are some people interested in this....:
https://vborg.vbsupport.ru/showthread.php?t=127500&highlight=pligg