Previous Thread
Next Thread
Print Thread
Hop To
#214023 06/05/2008 12:34 PM
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

LarE #214027 06/05/2008 1:38 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
SQL Query
UPDATE ubbt_CACHE SET CACHE_VALUE=0 WHERE CACHE_FIELD='max_online'

then it can recalculate from 0 again smile

LarE #214028 06/05/2008 1:49 PM
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 wink

Edit: I should've reloaded to check for responses. laugh 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
jgeoff #214029 06/05/2008 1:50 PM
Joined: Sep 2006
Posts: 120
member
member
Joined: Sep 2006
Posts: 120
Thanks, Sirdude.
That worked just fine.


jgeoff #214036 06/05/2008 2:28 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Originally Posted by jgeoff
Edit: I should've reloaded to check for responses. laugh 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 wink

SD #214056 06/05/2008 5:45 PM
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.

JAISP #214063 06/05/2008 6:42 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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 laugh

jgeoff #214076 06/06/2008 3:25 AM
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by jgeoff
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.


http://www.csgnetwork.com/time2unixdscalc.html
http://www.csgnetwork.com/unixds2timecalc.html

Converts a normal date to a unixtime stamp used by ubb.threads or vica versa.


[Linked Image from siemons.org]
Yarp #214095 06/06/2008 3:23 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I just use "date":
Code
date("format", timestamp);


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 791 guests, and 189 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)