php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#202771 - 04/07/04 04:40 AM [6.7] [beta] User Online
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio

   [6.7] [beta] User Online to Del.icio.us Add to del.icio.us
  Digg [6.7] [beta] User Online Digg it
Modification Name: User Online

Author(s): Brett

Description: Adds a picture in each post to indicate whether the user is active on the forum at the moment or not. Recent Visitors must be enabled.

Demo: http://www.pavioni.com/ubb/ultimatebb.php/topic/4/8.asp#000011

Download Link: http://www.ubbdev.com/ubb/upload/00006378/Online6.7.zip

Credits: LK(for the idea of javascript from the hit hack)

This works in much of the same way as the hit hack, so the cache is safe. wink After install, clear the 'Topic Pages' cache.

Top
#202772 - 04/07/04 04:51 AM Re: [6.7] [beta] User Online
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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!

Top
#202773 - 04/07/04 05:35 AM Re: [6.7] [beta] User Online
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
It looks like it might be the 2nd(3rd technically wink ) placement in the login array
Code:
$r->{$uniq}->{logins}->{$uniq} = [$user_number, $nologin, $hidden, $daysprune];
as the hidden variable? At least i'm pretty sure it is.

Updated online.cgi. laugh

Top
#202774 - 04/07/04 05:45 AM Re: [6.7] [beta] User Online
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Just installed... and it works smile 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!

Top
#202775 - 04/07/04 05:59 AM Re: [6.7] [beta] User Online
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
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. wink

Top
#202776 - 04/07/04 06:01 AM Re: [6.7] [beta] User Online
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA



i use those for my irc indicators heh
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202777 - 04/07/04 06:03 AM Re: [6.7] [beta] User Online
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
in Mozilla, ALT is when the image isn't available and title is when it is... In IE ALT is when the image is available and near the [x] when it isn't.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202778 - 04/07/04 06:10 AM Re: [6.7] [beta] User Online
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
hmm, never noticed that. Sweet, so it should be safe on all fronts. laugh

Top
#202779 - 04/07/04 06:18 AM Re: [6.7] [beta] User Online
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
"ultimatebb.php/topic/4/8.asp" lol
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202780 - 04/07/04 06:44 AM Re: [6.7] [beta] User Online
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
ultimatebb.php/topic/33/162.brett

:x
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202781 - 04/07/04 09:56 AM Re: [6.7] [beta] User Online
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Using it on my forums and it looks great. You should use Gizzy's images in the zip cause Jelsoft might get pissed
_________________________
Code monkey like Fritos

Top
#202782 - 04/07/04 10:12 AM Re: [6.7] [beta] User Online
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
Quote:
Originally posted by Ian Spence:

Using it on my forums and it looks great. You should use Gizzy's images in the zip cause Jelsoft might get pissed


IAN! Watch your language! I'm going to tell mom :x...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202783 - 04/07/04 10:13 AM Re: [6.7] [beta] User Online
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
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)...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202784 - 04/07/04 10:41 AM Re: [6.7] [beta] User Online
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
I wonder how much it'd slow down your board having it in the directory...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202785 - 04/08/04 06:20 AM Re: [6.7] [beta] User Online
*Cartman* Offline
Member

Registered: 03/20/02
Posts: 65
this hack with VIPHTML and recicle bin rocks!

Brett #1 ! thumbsup

Top
#202786 - 04/09/04 11:50 PM Re: [6.7] [beta] User Online
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
I'm semi curious how this works with deleted members posts...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202787 - 04/09/04 11:58 PM Re: [6.7] [beta] User Online
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
it doesn't show at all. no image whatsoever
_________________________
Code monkey like Fritos

Top
#202788 - 04/10/04 02:44 AM Re: [6.7] [beta] User Online
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Designed Behavior™ wink

Top
#202789 - 04/10/04 01:39 PM Re: [6.7] [beta] User Online
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
Nice nice nice... I plan on upgrading soon, so be prepaired...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202790 - 05/06/04 01:00 AM Re: [6.7] [beta] User Online
PhillipBurum Offline
Member

Registered: 11/02/03
Posts: 155
OK, so I get the "Offline" image, but never the online.


Where should I start looking?
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=phillip.burum&s=1[/img]

Top
Page 1 of 4 1 2 3 4 >


Moderator:  Charles, Gizmo 
Who's Online
0 Registered (), 42 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 7
FREAK1 4
Ian_W 4
tackaberry 4
Gizmo 4
Mike L_dup1 4

 

 

 
fusionbb message board php hacks