Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: fotosukces on January 16, 2020, 06:31:57 AM

Title: No update of displaying the number of users online [SMF 2.0.17]
Post by: fotosukces on January 16, 2020, 06:31:57 AM
Hi.
I'm having trouble updating the display of online users.
The numerical value at the bottom of the page indicating the current number of online users is not updated.
Maximum value 3 is constantly displayed, although there were many more users logged in at the same time.

(https://i.ibb.co/DKpYyrg/Zrzut-ekranu-z-2020-01-16-12-11-12.png)

Please tell where and what should I change so that the displayed value reflects reality.
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: Dzonny on January 16, 2020, 08:03:11 AM
Hello there and welcome to SMF community!

The first thing that comes to my mind is to do a recount of forum stats in Maintenance sections.

Do you have something in your error log?
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: Illori on January 16, 2020, 08:06:33 AM
seems strange that there is an "r" after 2018. I wonder if the date setting including the year is incorrect somewhere.
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: fotosukces on January 16, 2020, 08:43:14 AM
There is nothing special about the error log
Recalculating the forum statistics in the Maintenance section did nothing

I have improved the date display, now the letter r is gone.
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: Dzonny on January 16, 2020, 09:15:27 AM
Can you list the mods installed on forum? Also a link might be useful.
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: fotosukces on January 16, 2020, 10:43:37 AM
Smf version: 2.0.17

What is your url:
robotynawysokosci  pl

Mods installed:
1.     Unanswered Topics     2.5     
2.     nCode Image Resizer     2.0     
3.     Google Analytics Code     1.5.1     
4.     SMF 2.0.17 Update     1.0     
5.     Resize Attached Images     2.4.1     
6.     Yet Another YouTube BBCode Tag     4.11     
7.     SMF 2.0.16 Update     1.0     
8.     phpBB-style Font Size BBCode     2.3
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: m4z on January 16, 2020, 01:35:14 PM
Do you have the stats feature disabled? If you had it enabled before, then switched it off, the values aren't cleared and will be displayed until you manually edit the DB. (I'm talking about 2.1 but assume behavior is the same in 2.0.)
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: Sir Osis of Liver on January 16, 2020, 05:50:33 PM
Quote from: Illori on January 16, 2020, 08:06:33 AM
seems strange that there is an "r" after 2018. I wonder if the date setting including the year is incorrect somewhere.

Interesting idea, it may be keeping the same setting for 2018r because it never changes, it's not tracking 2020.  Year may not be incrementing due to that glitch.
Title: Re: No update of displaying the number of users online [SMF 2.0.17]
Post by: fotosukces on January 17, 2020, 07:52:36 AM
Quote from: m4z on January 16, 2020, 01:35:14 PM
Do you have the stats feature disabled? If you had it enabled before, then switched it off, the values aren't cleared and will be displayed until you manually edit the DB. (I'm talking about 2.1 but assume behavior is the same in 2.0.)

Yes, that was the reason.
I've turned this feature on and it's all right now.
Thank you so much for your help.

Problem solved.