vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Recognizing a logged in forum member (https://vborg.vbsupport.ru/showthread.php?t=318152)

astonishedman 04-07-2015 04:19 PM

Recognizing a logged in forum member
 
I have seen a few topics discussing this but no real concrete answers. What I am after is a little simpler than some of the other questions.

I have a feature or two that reside outside of the forum, but on the same domain and server. I simply want to recognize if the visitor on the page is logged into their forum account. I know vB doesn't use session variables and I've dug into the code a little to see how it is they recognize the member, but haven't had much luck.

Here is basically what I want to do in PHP:
if( condition to determine if they are logged in ){
present feature
}else{
display message requesting they login
}

I was hoping to not have to load the whole vB engine and such. Maybe include a file or two and check a variable.

What is the most straight forward approach to program this check? Necessary files? Variable to poll?

Thanks.

ChristianAlfred 07-10-2015 04:02 AM

I also need to know


All times are GMT. The time now is 08:57 AM.

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.01009 seconds
  • Memory Usage 1,704KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete