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.
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?
seems strange that there is an "r" after 2018. I wonder if the date setting including the year is incorrect somewhere.
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.
Can you list the mods installed on forum? Also a link might be useful.
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
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.)
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.
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.