vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Checking for logged in users (https://vborg.vbsupport.ru/showthread.php?t=49544)

Syberius 03-02-2003 02:46 PM

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,

Steve Machol 03-02-2003 04:08 PM

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.

Morgalis 03-07-2003 06:08 PM

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 ;)

Syberius 03-17-2003 05:31 PM

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,

Steve Machol 03-17-2003 07:21 PM

Thanks. I don't know the answer to your question but hopefully someone will.

Xenon 03-17-2003 07:29 PM

you can theoretically require global.php of vb in your scripts and then test if the $bbuserinfo['userid'] equals 0 (not logged in)

Syberius 03-17-2003 07:35 PM

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,

Xenon 03-17-2003 07:46 PM

if you require global.php it automatically keeps the session alive :)

or you can just update the session table everytime manually

Syberius 03-17-2003 07:50 PM

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,

Xenon 03-17-2003 07:53 PM

you're welcome :)


All times are GMT. The time now is 01:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01040 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete