Cool, good job! Going straight into my board. By looking at the code, though, I think it also shows online state for invisible users, which don't want to appear online... you might try (untested)
Code:
if($r->{$uniq}->{login}->[1] == 1) {
before the last part of online.cgi.
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Just installed... and it works I think it'd be cool though that if the user is online it'd say "Online" or something like that when you hover the image, and if they're offline it'd say "Offline/Invisible". I'm not sure if it's possible in JS, but I think just instead of "src" you should put "alt".
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
I am working in mozilla 1.6, and the .alt did work, but it didn't mouseover anything. .title does tho. jic, i left both alt and title in, since they both don't have any errors. Figuring 2 is better than 1, maybe there's a browser who will only accept alt, i dunno.
#202783 - 04/07/0410:13 AMRe: [6.7] [beta] User Online
Gizmo
Wizard
Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Oh BTW, feel free to use my images, I give you complete rights to do so (at least i think I'm the one who made them, I've been so busy that I don't even recall lol, i've been using them for like 2 years now, and their crappy, so i'm pretty sure i made them)...