Sometimes doesn't show me, and I know i'm here.
Plus I can see two or three people have just posted within a couple seconds of me and its showing.
(like now its showing 1 online that isnt me, and i'm sure at least 3 people are active right now)
I'm not sure what the problem with it is... EXCEPT that it only updates every like 20 seconds.
-[Unknown]
Yeah, this is funky for me too. Have noticed it on devel too. It doesn't always show people online that were online the click before. Does it no longer keep you online for 15 minutes?
Indeed, suddenly I am not online any longer.
I changed this:
// Don't mark them as online more than every so often.
if (!empty($_SESSION['log_time']) && $_SESSION['log_time'] + 20 >= time())
return;
$_SESSION['log_time'] = time();
To this:
// Don't mark them as online more than every so often.
if (empty($_SESSION['log_time']) || $_SESSION['log_time'] < time())
$_SESSION['log_time'] = time();
elseif ($_SESSION['log_time'] >= (time() - 20))
return;
And suddenly 4 people pop online and stay that way. I think it may be fixed ;D. Just... not quite... sure... why..?
-[Unknown]
It had to be that first if statement acting weird, !empty could have been acting screwy in certain cases maybe...
Not sure if its fixed, andrea has just posted 34 seconds before me and she doesnt show as online, and the number of guests is 0 so I dont think she has logged out.
Yep, deffo doesnt seem to be fixed as she is still posting but not showing as online.
Darn... what's the blinking issue, then?
-[Unknown]
how do they get chosen to be removed from being online?
Maybe its the REPLACE INTO query then?
*glares at bug..*
AND STAY FIXED.
-[Unknown]
umm....
Quote37 Guests, 1 Users
Overseer
and before ya worry.. the guests number went up and up because noticed it was increasing by one every time i clicked the 'home' link (for the front page.. not the 'home' button on the forum.
another thing.. i'm on a network behind a firewall here at work..
i just got my test/2nd pc and came to the site (as guest) using my test pc knocks my 'work' pc off the online list, and vice versa.
That's great ! But you should be able to set a max. number.
LOL.
Okay, the problem was that you didn't have a session id for some reason... SCURVY BUM!
So each time, as you were a guest, it inserted a new entry for your session (which is now the primary key.)
I thought that would work :'(.
-[Unknown]