vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Force Relogin (https://vborg.vbsupport.ru/showthread.php?t=290371)

RealmofDemons 11-09-2012 01:18 AM

Force Relogin
 
On my currently active users stats at the bottom. There are a couple of spammers name which I have banned. I am now wanting to make it so it doesn't show their names at the bottom. I assume the most simple way of doing this would for it to just force you have to re login now.

So I guess my question is, is there a way to make a setting or something to force a specific user OR everyone OR a specific usergroup to have to re log in until I turn the setting off?

Max Taxable 11-09-2012 02:06 AM

You could shorten the amount of time users appear online. I think 15 minutes is default. What do you have it set to?

I think it's also the time setting for the session cookie.

RealmofDemons 11-10-2012 09:28 PM

Hi max, I changed these settings to a shorter time frame and the three banned users are still showing

Max Taxable 11-10-2012 09:48 PM

They shouldn't show after the expired time.

Lynne 11-10-2012 11:28 PM

Quote:

Originally Posted by Max Taxable (Post 2380112)
They shouldn't show after the expired time.

Well, unless they come back to the site page then they will show as logged in because of their cookie.

If you edit your includes/config.php file, there is a line about the forum cookie. You can change that and then everybody will need to relogin the next time they come to your site.

RealmofDemons 11-11-2012 02:15 AM

@Lynne,

that does seem to do the trick, but is there a way to make that only happen for those of the banned usergroup?

Lynne 11-11-2012 06:10 PM

No. I thought you just wanted a temporary solution until you fix the query to not show banned users. (I could have sworn it said that, but I must be thinking of another thread.)


All times are GMT. The time now is 12:17 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.00969 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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