Previous Thread
Next Thread
Print Thread
Rate Thread
#118969 05/14/2001 3:54 PM
Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
Does anyone have the correct coding for to add Who's Online to the top of the form with the online gif.

I think I screwed mine up. And placed it in the wrong position. Please look here to see on my board.
(My Board)

Sponsored Links
#118970 05/14/2001 4:18 PM
Joined: Mar 2000
Posts: 204
Member
Member
Offline
Joined: Mar 2000
Posts: 204
Looks like you got it mostly right. Except that the Online Details are still in the seperate table.

I don't know what you're coding looks like since my Who's Online isn't like this, but in ubb_forum_summary.cgi at $replace, find this (this part should still be in there because of the way it displays on your page):

Code
code:

and replace it with this:

Code
code:

or something among those lines. Make a backup of ubb_forum_summary.cgi before you do this though, could mess your tables up.


-Never Underestimate The Power Of Stupid People In Large Groups.

#118971 05/14/2001 5:19 PM
Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
I have it in public_forum_summary.pl

under:

if ($vars_display{ShowMods} ne 'no') {

$Top .= qq~


$vars_wordlets{moderator_column}
Who's Online
< /td>

~;
} # end mods column

[ May 14, 2001 05:21 PM: Message edited by: Webdaddie ]
#118972 05/14/2001 6:16 PM
Joined: Mar 2000
Posts: 204
Member
Member
Offline
Joined: Mar 2000
Posts: 204
what do you have in ubb_forum_summary.cgi though? in $replace.

And why is this:



in there? doesn't serve any real purpose in there.


-Never Underestimate The Power Of Stupid People In Large Groups.
#118973 05/14/2001 6:49 PM
Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
I have this in the ubb_forum_summary:

The orignal coding. But I wanted to add the online gif file like ubb has listed on the top of the forum.





$Online_Wording

$Online_Details

Sponsored Links


and you'd need to take everything but:



from the online stuff you had in public_forum_summary.pl.

You would put that directly beneath:


in public_forum_summary.pl, and that should make it work.

[ May 14, 2001 09:05 PM: Message edited by: The Donut ]

-Never Underestimate The Power Of Stupid People In Large Groups.
#118974 05/14/2001 9:00 PM
Joined: Mar 2000
Posts: 204
Member
Member
Offline
Joined: Mar 2000
Posts: 204
What was wrong with it? It's off your site now, so I can't really help you with that.

But if you wanted that extra border around the online details away, you should have deleted $replace in ubb_forum_summary.cgi until it looks like like this:


$Online_Wording

$Online_Details

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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
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 20221218)