Page 1 of 1

Integrate vBulletin Login

Posted: Mon Jun 25, 2007 7:08 am
by shiznatix
I have a site that is using vbulletin as the forum. Now I have the little login forum that logs you in through the vbulletin login scripts and everything but the thing now is that I want to be able to tell if the user is logged in on any other page in my site, not just when they are browsing the forum.

I have dumped out _COOKIES, _SESSION, _GLOBALS, with nothing successfull. I searched google but found nothing good either. I was wondering if someone has ever done this and how to find the info. On the old version of this site we where using Drupal and you would just do global $vbulletin and then you would have all the info you needed but since the new site is running with all custom code (except of course vbulletin) I need a new approach.

Posted: Mon Jun 25, 2007 10:15 am
by pickle
Wherever there's a login form, add something to $_COOKIE whenever a user successfully logs in. How many different logins do you have on the site?

Posted: Mon Jun 25, 2007 1:29 pm
by RobertGonzalez
What code does vBulletin use to see if a user is logged in? Integrate that.