vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Need to log everyone out. (https://vborg.vbsupport.ru/showthread.php?t=49703)

Brad 03-06-2003 02:12 AM

Need to log everyone out.
 
Ive done some modifications to my forum, before i re open it i need to log everyone out (including ones with "log me back in when i visit" clicked in the user cp). Is there some sort of query i can run to do this?

mr e 03-06-2003 02:24 AM

can you even do something like this? because as long as they have the cookie aren't they logged in?

Erwin 03-06-2003 02:34 AM

Run this query - this will make everyone not have their usernames and passwords remembered - they will have to manually return to their User CP to switch it on, or you can change the 0 to 1 to set them all back on:

PHP Code:

UPDATE user SET cookieuser='0'


Brad 03-06-2003 02:40 AM

Erwin: will that log everyone out with a current session to? BTW thanks for the help :)

Brad 03-06-2003 02:46 AM

BTW:

Im doing this for a april fools joke im ganna pull, my members acused me of running out of ideas so this year im ganna pull a big one ;). Basicly when someone logs in they will get randomly logged in as anthor member, ive set it up so they cant access the user cp/private messages while its on, and they cant log in as admins or super mods/mods. It may sound stupid but i own a forum where everybody knows everybody, we are like a close family :).

Erwin 03-06-2003 03:16 AM

Are you serious???!! :) That is one big April Fools joke! Be careful with your hacking!

Brad 03-06-2003 03:22 AM

Im testing it on localhost right now :). I may release it once its working with no errors, id really hate for something like this to log someone in as a admin or something LOL.

007 03-06-2003 12:43 PM

LOL! It'll be all good as long as you backup right before. Then even if it all goes wrong you can always restore from backup when the "fun" is over. ;)

Although, couldn't you just use replacements do create a similar effect? Just make a replacement set where "Username1" changes to "Username6" and so on, and when #1 logs in, it will say "Welcome Username6" and all their posts that day will have the names all switched. Then simply delete the replacements and there's no mess to clean up. :)


All times are GMT. The time now is 12:43 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.01093 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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