Previous Thread
Next Thread
Print Thread
Rate Thread
#231242 12/30/2002 3:57 AM
Joined: Jun 2002
Posts: 63
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 63
Dave, I was wondering if we could expect and update for 6.2 for this hack? My users really liked it b/c it showed who was online at the top of the page. If not it's ok. Was just wondering if you planned on updating it or not.

Edit: I also realized that this was posted in the wrong forum. Should have been in the mod suggestion forum. Sorry

Last edited by pinion; 12/30/2002 3:58 AM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I know Dave is pretty busy.

This is on my list to update as well... as I use it at my site (top of every page) and I really, really miss it.

My list is pretty long... but this is on my "to update" list.... if nobody beats me to it. Since the name is stored in the Online table, I don't think this will be tough to update or require much adjustment to the instructions.

It's probably in my top 5 of stuff to update.

Joined: Jun 2002
Posts: 63
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 63
Thanks for looking into it Josh. I would be appreciated whatever you can do

Joined: Jul 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Jul 2002
Posts: 15
I'm not an expert, but i think that the hack for ubbthreads.tmpl does not change, and that there are only four lines to edit in ubbthreads.php. I couldn't wait for Dave's instructions, so this is what i've done :

In the original hack for ubbthreads.php :

Find :
code:
SELECT w3t_Online.O_Username,w3t_Users.U_Status,w3t_Users.U_Visible,w3t_Users.U_Color



And replace by :
code:
SELECT w3t_Online.O_Username,w3t_Users.U_Status,w3t_Users.U_Visible,w3t_Users.U_Color,w3t_Users.U_Number



Find :
code:
while (list($palUsername,$palStatus,$palVisible,$palColor) = $dbh -> fetch_array($sth) ) {



And replace by :
code:
while (list($palUsername,$palStatus,$palVisible,$palColor,$palUserNumber) = $dbh -> fetch_array($sth) ) {



Find :
code:
$InvMembersOnline .= "<a href="{$config[phpurl]}/showprofile.php?Cat=$Cat&User=$codedUsername&what=$phpSelf">$palUsername</a>";



And replace by :
code:
$InvMembersOnline .= "<a href="$config[phpurl]/showprofile.php?Cat=$Cat&User=$palUserNumber&what=$phpSelf">$palUsername</a>";



Find :
code:
$VisMembersOnline .= "<a href="{$config[phpurl]}/showprofile.php?Cat=$Cat&User=$codedUsername&what=$phpSelf">$palUsername</a>";



And replace by :
code:
$VisMembersOnline .= "<a href="$config[phpurl]/showprofile.php?Cat=$Cat&User=$palUserNumber&what=$phpSelf">$palUsername</a>";



It works for me, here

Last edited by zarathoustra; 12/30/2002 10:23 AM.
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I have this working for 6.2 and will post it shortly.

Sponsored Links

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
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
Morgan 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 20240506)