vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   a few quick programming questions for the makers. (https://vborg.vbsupport.ru/showthread.php?t=182038)

riddla604 06-09-2008 10:34 PM

a few quick programming questions for the makers.
 
for one of the boys that made vbull these should be simple...

a) the current active members. where is the length of time set for that? what i mean, i assume it works like all other systems, X seconds from lastactivity, and you appear on that list. I need to match it with the existing elements in our site for flawless integration.

b) sessionhash. once a user is logged in and 'able to do member only stuff'. does the value used in sessionhash change? or is it set once per login and left alone?

thanks,

Tomasz.

--------------- Added [DATE]1213066010[/DATE] at [TIME]1213066010[/TIME] ---------------

the answer to #1 is roughly line 405 of /index.php, variable $datecut.

now number two, anyone?

just need to know if sessionhash changes at all after a user logs in.

thanks.

Dismounted 06-10-2008 07:18 AM

1. The Session Timeout set in Admin CP.
2. It will be left alone provided the user browses a page within the session timeout value.

riddla604 06-10-2008 11:32 AM

thanks man.

and once session timeout has been reached, and a user browses a page...

are they shown the login page? or is the session refreshed and the user can continue without any prompts?

Dismounted 06-10-2008 12:07 PM

They will be logged out, unless they checked "remember me".


All times are GMT. The time now is 02:30 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.01033 seconds
  • Memory Usage 1,710KB
  • 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
  • (4)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