php forum
php mysql forum
php mysql smarty
 
Topic Options
#43466 - 07/12/01 10:53 PM Who's Online Beautification
treszoks Offline
Member

Registered: 04/29/01
Posts: 58
After I cleaned up today's active topics , I decided to spruce up who's online as well to make it look better and similar in style. The list of people is now sorted by forum and the descriptions are a little better IMHO.
Take a look here.

This is v2.1b of Who's Online that I've modified.

Be sure to make backups of all modified scripts first! Hopefully the instruction I made are okay. They assume you have who's online installed already! Let me know if there are any problems.

Directions
online.txt (Change to "online.cgi")

UPDATE: Added a small bug fix. Now v1.1:)

<FONT COLOR="#000000" SIZE="1">[ July 13, 2001 12:03 PM: Message edited by: treszoks ]</font>

Top
#43467 - 07/13/01 10:59 PM Re: Who's Online Beautification
Brad.loo Offline
Member

Registered: 07/11/01
Posts: 1014
Loc: North Carlina | Fav Anime: Lov...
me likes, works well on my test forums, laugh good work treszoks
_________________________
LK UBB: gosh, how can you be so sick ?
Anime loo: LOL
LK UBB: you're just too weird for me

Nothing like vandalizing a skateboard to kick your day off!!

Top
#43468 - 07/14/01 12:52 AM Re: Who's Online Beautification
GoTorankusuKu Offline
Member

Registered: 09/29/00
Posts: 1932
Actually it looks worse without the borders...-_-

Top
#43469 - 07/14/01 01:05 AM Re: Who's Online Beautification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Looks like a good hack, what would be good is if you could make it so when they are reading a topic it shows in the WOL like Reading Topic in General Disucssion, instead of sorted out in forums.

GoTo:he probably make the borders invisable.

Top
#43470 - 07/14/01 02:48 AM Re: Who's Online Beautification
GoTorankusuKu Offline
Member

Registered: 09/29/00
Posts: 1932
After looking at it again, the layout is just messy. Why is the "Who's Online" wording in the UserName column??? And in the Location, it just says Browsing, but browsing "where"???

Top
#43471 - 07/14/01 03:54 AM Re: Who's Online Beautification
Brad.loo Offline
Member

Registered: 07/11/01
Posts: 1014
Loc: North Carlina | Fav Anime: Lov...
goto your right, but its still a good idea if thoese few things could be worked out
_________________________
LK UBB: gosh, how can you be so sick ?
Anime loo: LOL
LK UBB: you're just too weird for me

Nothing like vandalizing a skateboard to kick your day off!!

Top
#43472 - 07/14/01 04:31 AM Re: Who's Online Beautification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Actually looks real messy, It would be better if it had where they were browsing and which topic they were reading instead of in Forum categories. Also GoTo I think he means browsing as in bowsing the forum under the forum header. It's confusing.

Top
#43473 - 07/14/01 10:11 AM Re: Who's Online Beautification
treszoks Offline
Member

Registered: 04/29/01
Posts: 58
Lord Dexter,

I've left out the individual topics SSI to save on server load.

GoTorankusuKu,

The layout matches the UBB. If you go to the main page here for example, you'll see "Forum" at the top but the categories as well as the forums are below it. As far as "Location" goes, if it just says "Browsing", that means they are at the main forumdisplay page browsing whatever forum their row happens to be under. It would be redundant to list the forum again there when it's already sorted by forums.

Thanks for the comments everyone. Some of those issues can be modified easily like if you want a border on the table or if you want change the column names.

Top
#43474 - 07/14/01 08:40 PM Re: Who's Online Beautification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Ok, With this hack does it say what topic you are browsing under the forum name.

eg.Browsing "Title of Thread".

??

Top
#43475 - 07/15/01 12:14 PM Re: Who's Online Beautification
treszoks Offline
Member

Registered: 04/29/01
Posts: 58
You can if you want it to. I don't have that part installed in my script. You have to use an SSI statement.

Find in ubb_library2.pl:
Code:
code:


ADD AFTER that this:
Code:
code:


I think that should do it!

<FONT COLOR="#000000" SIZE="1">[ July 15, 2001 12:16 PM: Message edited by: treszoks ]</font>

Top
#43476 - 07/15/01 07:21 PM Re: Who's Online Beautification
Rich9 Offline
Member

Registered: 04/10/01
Posts: 115
Ok, dumb question here probably (because my online is not tracking the threads it seems) is there a difference between the relative path, or the absolute path? Are they one and the same?

Top
#43477 - 07/15/01 10:47 PM Re: Who's Online Beautification
treszoks Offline
Member

Registered: 04/29/01
Posts: 58
Relative path and absolute path are different.

Absolute: www.mysite.com/ubb/000001.html

Relative: /ubb/000001.html

Top
#43478 - 07/16/01 02:47 AM Re: Who's Online Beautification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Do I have to replace the "reletive/path/to/cgi with my absolute path to my CGI?

Top
#43479 - 07/16/01 09:12 AM Re: Who's Online Beautification
Rich9 Offline
Member

Registered: 04/10/01
Posts: 115
Well...thats kinda confused me now, heres my general settings -

Absolute Path for your UBB CGI DIRECTORY - /site/mysite/public/cgi-bin

No sign of a URL there.....confused

Lord dexter - thats just an exanmple, so you would alter the "reletive/path/to/"....

Top
#43480 - 07/17/01 02:36 AM Re: Who's Online Beautification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Ok Thanks coz the last time I did that it gave me the EX:This path could not be directed etc. I'll try again.

Top
#43481 - 07/17/01 10:50 PM Re: Who's Online Beautification
treszoks Offline
Member

Registered: 04/29/01
Posts: 58
My bad. You can't pass a query string in exec statements. Try this instead:

<!--#include virtual="/relative/path/to/cgi-bin/online.cgi?forum=$Forum&title=$TopicSubject&link=$NonCGIURL/$ExactPath/HTML/$ThreadNumber.html"-->

The relative path should start from your main directory. For most it will be "/cgi-bin/online.cgi....."

Let me know if this works!

Top
#43482 - 07/18/01 02:58 AM Re: Who's Online Beautification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Ok I'll try that and get back to this topic later.

Top
#43483 - 07/20/01 01:00 AM Re: Who's Online Beautification
CARTOON Offline
Member

Registered: 01/07/01
Posts: 141
Loc: Santee
Is there any way to make it say what thread someone is browsing/reading if you don't have SSI enabled??

Top
#43484 - 07/20/01 03:16 AM Re: Who's Online Beautification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
No, I don't think there is. tipsy

Top
#43485 - 07/20/01 10:47 AM Re: Who's Online Beautification
treszoks Offline
Member

Registered: 04/29/01
Posts: 58
Javascript possibly, but I'm not familiar enough with it to try to come up with a solution using it.

Top


Who's Online
1 registered (Deb), 28 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 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