How to reset Most Users Online counter. [message #29668] |
Mon, 09 January 2006 12:53 |
pogar
Messages: 18 Registered: September 2005
Karma: 0
|
Junior Member |
|
|
Hello.
I would like to reset the Most Users Online counter.
I tried to set to zero value most_online and most_online_time fields in fud_skfm_stats_cache table, but it didn't helped..
Best regards.
|
|
|
|
|
|
|
|
|
Odp: How to reset Most Users Online counter. [message #29916 is a reply to message #29668] |
Tue, 24 January 2006 08:03 |
pogar
Messages: 18 Registered: September 2005
Karma: 0
|
Junior Member |
|
|
ok.
But I would like to prevent to override this counter: I mean that that realistic "most users online" on my forum (link is in my profile) is about 20-30 users.
Very often this number growup do 130 - 200... Especially during the night or very early morning. Probably this is made by some offline browsing agent (Teleport similar) or maybe this is a small DDos..
So, maybe you could implement some feature like that:
a = ignore_new_session_timespan = 10 seconds
if (new_seesion_start_time - last_sesson_start_time <10) then do_not_increase_most_users_online_counter?
Best regards
[Updated on: Tue, 24 January 2006 08:03] Report message to a moderator
|
|
|
Re: Odp: How to reset Most Users Online counter. [message #29926 is a reply to message #29916] |
Tue, 24 January 2006 18:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It requires too much calculation and ultimately it would miscount on popular forums where during peak hours you have people update & create sessions much more often then 10 seconds.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|