Odd but it's still working on my site. I just checked again, what I have is:
Code: Select all
// function to check if the friend is online or not.
global $db, $config;
$session_sql = 'SELECT MAX(session_time) AS session_time, MIN(session_viewonline) AS session_viewonline
FROM ' . SESSIONS_TABLE . '
WHERE session_user_id = '.intval($id);
$session_result = $db->sql_query($session_sql);
$session_row = $db->sql_fetchrow($session_result);
$member['session_time'] = (isset($session_row['session_time'])) ? $session_row['session_time'] : 0;
$member['session_viewonline'] = (isset($session_row['session_viewonline'])) ? $session_row['session_viewonline'] : 0;
$update_time = $config['load_online_time'] * 60;
Odd, but it didn't give me an error.
Wow, that's like so wierd... WHY DOES THIS MOD WORK PERFECT FOR ME????
http://www.newsucks500.com/memberlist.p ... rofile&u=8
But on a serious note:
The online feature still works after removing that?
if you remove that whats going to happen with
so that will break the MOD.
Perhaps that's the key to the problem we are all having, the way it is interpreting who is online.
My board doesn't display when the friend is online, not really a function I need anyway, but still an issue that needs addressed. I'm not the only one who experienced that problem, so I say if that bit of code is screwing it up, take it out or fix it.
I'm no REAL coder, I just like to play with the code and see what comes up for me on localhost. If it's handy, I'll share it. So tons of respect for the MOD's you have done Ian. I think this can be documented as a certified glitch with respects for your talent. I can work around it with some slop work, so I won't say I know what is or isn't right for a solution to the prob.