|
Joined: Sep 2006
Posts: 120
member
|
member
Joined: Sep 2006
Posts: 120 |
This has probably been asked a bunch of times. I've searched but I can't find it anywhere.
My Forum Stats box is showing 158 as a max online count. Probably never was that high, but How can I reset it so it starts reflecting reality?????
Thanks
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
UPDATE ubbt_CACHE SET CACHE_VALUE=0 WHERE CACHE_FIELD='max_online' then it can recalculate from 0 again
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
I'm not sure if it's safe to change the values, but max_online and max_online_timestamp are found in the CACHE table, which I discovered via /cache_builders/forum_stats.php I'm curious about Max Online as well since mine says 256 last July -- does that include Spiders? Not sure. I'm also not quite sure how to decipher timestamps such as "1183714938". I'd probably leave that stuff alone, big numbers sound impressive lol, but maybe someone who knows better will chime in. PS - Greetings from Toms River Edit: I should've reloaded to check for responses. SD - Would max_online_timestamp need to be reset as well?
Last edited by jgeoff; 06/05/2008 1:51 PM. Reason: Doh!
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Sep 2006
Posts: 120
member
|
member
Joined: Sep 2006
Posts: 120 |
Thanks, Sirdude. That worked just fine.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
Edit: I should've reloaded to check for responses. SD - Would max_online_timestamp need to be reset as well? yes/no -- since i set max_online to 0, the next time it does a compare will guarantee a new max_online value of at LEAST 1 AND its associated new timestamp... so that's why i didn't care about the time stamp
|
|
|
|
Joined: Feb 2007
Posts: 1,294 Likes: 2
Veteran
|
Veteran
Joined: Feb 2007
Posts: 1,294 Likes: 2 |
Max on line counts all users such as guest, registered, and bots from what I can see. I only have a max of 4 bots in my site at any time so thats not much of a problem.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
yah, i remove the bot count (for my site), since i wanna just count eyeballs. i guess, it should be eyeballs divided by 2, except for peeps with eyepatches
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I just use "date": date("format", timestamp);
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (Gizmo, Nightcrawler),
791
guests, and
189
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|