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
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: 5133
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: 5133
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: 5133
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: 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)...
_________________________
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: 5133
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: 5133
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: 5133
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 (), 20 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by blaaskaak
Today at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks