The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Checking for logged in users
Hi,
I am writing a site that will be part of a large community running a vb Board. However before a member of the main site can use the services of my site they must verify that they are registered. This is OK but I currently have to ask them to be logged in to the main site before logging into mine. Is there any way I can check for a session record created by VB or what? I dont have access to all the VB tables in the db but I can ask for the acccess should I need it. Thx in advance. Syberius, |
#2
|
||||
|
||||
Syberius, to download hacks and get support you will need to go to this page and enter your email address, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you. |
#3
|
|||
|
|||
hello
Syberius is coding a very cool site that compliments my domain, www.diabloworld.com we are looking for information and have been sent here from the main site i am the licensed owner and for obvious reasons i do not share my customer number i can send email anywhere that is appropriate as a member.. we just need to know WHERE and hopefully this time we'll get an answer |
#4
|
||||
|
||||
OK,
although I do not have a vbb account, my good friend and site owner, Morgalis has added my email to the account. So, would I now be able to get some help for my query? Syb, |
#5
|
||||
|
||||
Thanks. I don't know the answer to your question but hopefully someone will.
|
#6
|
||||
|
||||
you can theoretically require global.php of vb in your scripts and then test if the $bbuserinfo['userid'] equals 0 (not logged in)
|
#7
|
||||
|
||||
ok, thx,
that is what i needed for checking a user, but what about keeping the users session alive. My site is an extension of the original but im not using VBB, merely linking to elements of it. Is there a way for me to keep a vbb session alive using php even though the user is not browsing a vb board? Syb, |
#8
|
||||
|
||||
if you require global.php it automatically keeps the session alive
or you can just update the session table everytime manually |
#9
|
||||
|
||||
Great,
thank you very much for your time and help. This really will help me with the project, even if it has added yet another thing to the todo list for the project Thanks again, on behalf of Diabloworld and the D2TP Project, Syberius, |
#10
|
||||
|
||||
you're welcome
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|