vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Most users ever online (https://vborg.vbsupport.ru/showthread.php?t=315420)

madness85 11-14-2014 07:32 PM

Most users ever online
 
Recently I've been hit by many ddos attacks something like 6000 guests online every time. Anyways the provider is sorting that my problem now is most users online can I change it so it doesn't count guests or can I reset it?

kh99 11-14-2014 08:12 PM

I believe the only way to do it would be to change the database (or to write some php, but the database way is probably easier if you're not a programmer). The value is stored in the 'datastore' table in the row where title = 'maxloggedin'. You could delete that row and it would get reset to 0, or you could use phpMyAdmin to edit that field. The value is stored as a serialized array so you have to be a little careful. On my test forum it looks like this:

Code:

{s:9:"maxonline";i:2;s:13:"maxonlinedate";i:1405090975;}

so you could change the 2 in 'i:2' to whatever value you wanted. You could also edit the date if you really wanted to, but you'd need the unix timestamp of the date you wanted to put in there.


All times are GMT. The time now is 10:25 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.01367 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete