Advertisement:

Author Topic: No update of displaying the number of users online [SMF 2.0.17]  (Read 362 times)

Offline fotosukces

  • Newbie
  • *
  • Posts: 4
No update of displaying the number of users online [SMF 2.0.17]
« 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.



Please tell where and what should I change so that the displayed value reflects reality.
« Last Edit: January 16, 2020, 06:46:44 AM by fotosukces »

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,051
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #1 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?

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,944
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #2 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.

Offline fotosukces

  • Newbie
  • *
  • Posts: 4
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #3 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.

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,051
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #4 on: January 16, 2020, 09:15:27 AM »
Can you list the mods installed on forum? Also a link might be useful.

Offline fotosukces

  • Newbie
  • *
  • Posts: 4
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #5 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

Online m4z

  • Localizer
  • Sr. Member
  • *
  • Posts: 803
  • /mɛs/
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #6 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.)
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,611
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #7 on: January 16, 2020, 05:50:33 PM »
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.

Offline fotosukces

  • Newbie
  • *
  • Posts: 4
Re: No update of displaying the number of users online [SMF 2.0.17]
« Reply #8 on: January 17, 2020, 07:52:36 AM »
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.