News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Who's Online Stats

Started by njtweb, August 02, 2018, 07:42:11 AM

Previous topic - Next topic

njtweb

Is it possible for the total number of visitors "online today" can get stuck? Mine has read "30" for the past 3 days. I've run maintenance and it didn't clear. Error log shows (0) errors, There are currently no error log entries. Users online appears to be working. I've opened a few incognito windows on my home laptop, and on my work laptop connected to work VPN and browsed to the site, it registers each visit as a guest but the 30 doesn't change.

Thank you for any help.

Mick.

In forum maintenance, "Empty out unimportant logs" should clear it.

njtweb

Quote from: Mick. on August 02, 2018, 08:00:32 AM
In forum maintenance, "Empty out unimportant logs" should clear it.

Thank you, I went ahead and did that, it reset the current online users but (30) didn't change. I also did a shift F5 and ctrl F5. No change

Kindred

sounds like you broke something.... :P

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

njtweb

I can't imagine what though. The only change I made was this 8 days ago, to the IP Lookup info. Who's online worked fine until 3 days ago when it got stuck on 30.

Open file:
Sources/Profile-View.php

Add into the $context['whois_servers'] array:

'infosniper' => array(
'name' => 'InfoSniper',
'url' => 'http://www.infosniper.net/?ip_address=' . $context['ip'],
'range' => array(0,255),
),
'ip2location' => array(
'name' => 'ip2location',
'url' => 'http://www.ip2location.com/' . $context['ip'],
'range' => array(),
),
'iplocation' => array(
'name' => 'iplocation',
'url' => 'http://www.iplocation.net/?query=' . $context['ip'],
'range' => array(),
),



Current file in production attached.

Shambles

Are you sure the "30" isn't referring to "most online ever" ?

njtweb

Quote from: Shambles on August 02, 2018, 02:40:49 PM
Are you sure the "30" isn't referring to "most online ever" ?

Hi Thank you, yes. Most online ever is 132, that hasn't changed and won't until the hockey season starts, at which time I fully expect daily visits to be around that number regularly. My site targets Mid-Atlantic youth travel hockey, nothing else. I normally get around 40-60 unique hits per day during the off season. Whatever the case, it updated about an hour ago. It's no longer 30 so I guess it's working, but it's just a guess.

Advertisement: