Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Who's Online
This discussion is related to the Who's Online addon.
Comments
http://alek-3d.be/WhosOnline.rar
Hm. I had someone ask me why they are always at the bottom. The list order doesn't seem to change, for example, I'm always on top and, if Silver is online, she's always second, and deebee is always at the bottom. So if I've got 15 people online the order will never change with those 15.
$s->AddOrderBy("DateLastActive",'i','DESC');
and get back to me if that doesnt work.
Notice: Undefined index: None online in .../forums/extensions/WhosOnline/default.php on line 237
} } else { $Panel->AddListItem($ListName,'','',$Context->Dictionary['None online']); }
$Context->Dictionary["None online"] = "Nobody is online.";
Is there a function I need to enable or something that needs changed in the default.php file?
Thanks again!
re: the "7 hours ago" thing. I posted another thread about this, but all users who are either currently logged on or have logged off within the past 7 hours always show their time of last activity as "7 hours ago." It could be some incompatibility with other extensions. I will try disabling everything by Who's Online ans see what happens.
the fix you suggested for ordering by most recently active user does not work for me.
$s->AddOrderBy("DateLastActive",'i','DESC');
i put it on line 29 in the function GetWhosOnline() but i got an undefined index on 'i'.