vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   force logging off member(s) (https://vborg.vbsupport.ru/showthread.php?t=324276)

ka99 01-24-2017 02:21 PM

force logging off member(s)
 
Greetings..

I'm using 3.8 and would like to know if there is anyway to force logging off member(s) using MySQL command or any other way..

TIA.

blind-eddie 01-24-2017 02:34 PM

Here is some info.

https://vborg.vbsupport.ru/showthread.php?t=163327

https://www.vbulletin.com/forum/foru...-member-online

https://www.vbulletin.com/forum/foru...out-any-member

Lynne 01-24-2017 03:08 PM

You could also log everyone out at once by changing the cookie prefix in your /includes/config.php file.

Paul M 01-24-2017 06:59 PM

Why do you want to log off people by force ?

TheLastSuperman 01-25-2017 01:14 AM

To easily log out everyone simply run the query:

Code:

Truncate TABLE session;
Everyone will be logged off and if they were editing or typing a post that will be lost as well (fyi).

Paul M 01-25-2017 02:31 AM

If users logged in with "remember me", that wont really do anything, vb will just [silently] create a new session.

ka99 01-25-2017 02:36 AM



Thanks..


the first product works as I need, but I need a way to do it from the shell..


so, I'm looking for implementing http://xxxx/vb/login.php?do=loguserout&u=999 in the shell with MySQL


Regards.

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

Quote:

Originally Posted by TheLastSuperman (Post 2581303)
To easily log out everyone simply run the query:

Code:

Truncate TABLE session;
Everyone will be logged off and if they were editing or typing a post that will be lost as well (fyi).



I really don't want to do that, just want one/more members annoying others and thought the best way is to find a way to log them off whenever they login for sometime (not banning them)


Thanks

blind-eddie 01-25-2017 02:45 AM

vboptions/User Banning Options, scroll down to Tachy Goes to Coventry, great way to to shut them up for a bit or if you really want to mess with their head use Pauls Miserable Users.

Have fun!

ka99 01-25-2017 04:03 AM

Quote:

Originally Posted by blind-eddie (Post 2581310)
vboptions/User Banning Options, scroll down to Tachy Goes to Coventry, great way to to shut them up for a bit or if you really want to mess with their head use Pauls Miserable Users.

Have fun!

I never noticed the option you mentioned, will give it a try, thou I prefer doing it through the shell


Thanks for the help.


Regards.


All times are GMT. The time now is 03:06 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.02071 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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