Previous Thread
Next Thread
Print Thread
Rate Thread
#218434 06/09/2002 11:13 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
This will display a list of users online above your forum listings. Invisible users (only seen by admins) will be in italic text. Admins and Moderators will be in their related text color. Total number of Members and Guests are displayed. The list of current usernames online is limited to 30, to keep large sites with many, many people online from taking up to much space in the online box. If there are more than 30 logged in users online there will be a link displayed taking the user to the online.php script for a complete list of users.

Download the attached file. Unzip and follow the instructions. Upload the affected files and enjoy.

Example located here:
http://www.chattersonline.com/test/ubbthreads.php?Cat=
Attachments
49306-whosonline.6.0.zip (0 Bytes, 11 downloads)

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Muchas gracias


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Your welcome.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Thanks! Although I'm a little too tired to do that tonight, but I'll put that on tomorrow's to-do-list

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
does it look too heavy with the td header above it?


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I kinda think so. But hey, that's just me.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
ok, I think you may be right

For those who want the td header above the wol box, add this code:

code:

<tr>
<td class="tdheader" align="left">
<a href = "{$config['phpurl']}/online.php?Cat=$Cat" $target>{$ubbt_lang['WHO_ON']}</a>
</td></tr>



I am gonna change it a bit


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Looks a bit better, I'll have to think about it

Very easy to install Dave, and adds very few queries, thanks


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
It's looking much better now.

I think that the "Who's Online" link in the menu bar is redundant though?

LoL yeah I'm picky some times.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
yeah, I should probably take it out of the nav, but then it would be gone from the rest of the forum pages as well. The original box just looks like it needs something to anchor it or give it more "gravity".

Maybe moving the WOL info from "extra info" to a td header above, similar to the way vb does it?

Who's Online : There are 6 registered and 1 anonymous users online.

With the names in the lighttable underneath.... hmmmmmmmm...

or maybe just move it to the bottom of the categories so it doesn't look too heavy

ahhh.. well, just thinking out loud


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
If you removed the "Who's Online" link from the text menu... you could put the list of Who's online on every page. I personally think that'd be cool... .then you'd always know who's online (not just on the list of forums) as I'm addicted to watching "who's online". You'd always have a recent refresh whether you were replying to a post, reading a PM, or viewing a post etc... the whole list of who's online could always be at the top.

Or would having that on every page add to many queries?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Not sure how many queries it would add to every page, but if you only wanted logged in members to see it, you could add it as a box/table to ubbtregisterednav.tmpl instead of ubbthreads.tmpl. I think the code for ubbthreads.php would probably need to go to ubbt.inc.php then


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)