The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Checking if User is Logged In
Hey,
I'd like to try and use vBulletin's user login mechanism throughout the rest of my site but I'm not sure how to determine in the vBulletin tables whether a user is currently logged in or not. I'm currently able to query against the vBulletin MySQL DB everywhere on my site outside the vBulletin code. Anybody know what tables/queries I would need to make against the DB to determine if the current session belongs to a current userID that's currently logged in? I know there's got to be a way to do it. Danny |
#2
|
||||
|
||||
Include vBulletin's global.php - then most variables you need will be available to you.
|
#3
|
|||
|
|||
Aaaah ... if it were only that easy. The problem I have is that the rest of the site is run in ColdFusion and not PHP. So I can't include the global.php. We have the boards running on a different server than the rest of our ColdFusion site (don't ask).
I can connect to vBulletin's MySQL DB via ColdFusion so I'm trying to see if there is a way for me to query the DB to see about whether a user is currently logged in or not and act accordingly. In essence integrate the boards login features into the rest of our site. Danny |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|