vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Confirm password on non vb pages (https://vborg.vbsupport.ru/showthread.php?t=317513)

Black Snow 02-25-2015 02:35 PM

Why don't you just log the user out of the forum after X amount of time?

Dr.CustUmz 02-25-2015 02:43 PM

Quote:

Originally Posted by Black Snow (Post 2538733)
Why don't you just log the user out of the forum after X amount of time?

right lol, wouldnt that be so much easier! i did think of that, but it comes down to i had the idea... now it just has to be made. More of a personal satisfaction kind of thing, and i think it will in the end make a pretty good product, even though in a sence all it will be doing is logging out the user, not in the typical way but locking down their account untill their password is confirmed.

and its a good learning process, never hurts to new learn new things and no matter what project i take on i always learn something =)

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

kev you think
Code:

ALTER TABLE session ADD idle smallint(5);
would be the way to go with this?

im not sure how to set a default value, it would only need to be 1 (on) 2 (off) right?


All times are GMT. The time now is 09:18 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.05232 seconds
  • Memory Usage 1,712KB
  • 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)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete