Previous Thread
Next Thread
Print Thread
Rate Thread
#114806 08/19/2002 4:01 AM
Joined: Aug 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 17
ok my question is pretty simple but i dont know exactly how to do it or where to look, so i'll ask you fine people here at ubbdev.

on my ubb 6.2 on the forum summary (front page) it shows the last post.

Quote
quote:

Title of Post (User who replied)
Date Time

When the post is larger, it does this
quote:
[qb]
Title of Post that is very long and annoy... (User who replied)
Date Time
[/qb]
it makes it ugly and i hate it. i kno theres a character to set somewhere that by default is at 25 before it puts the ...'s. I want to modify that number, and then reformat the area to look like this

Quote
quote:

Title of Post...
Date Time
(User who replied)
if anyone knows how to do this plz let me know thank you!!!!!

Sponsored Links
#114807 08/19/2002 12:37 PM
Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
ubb_forum_summary.cgi:

Code
			if (length($last_subject) > 25) {
$last_subject = &GoodNiceTruncate($last_subject, 26);
}
(At least in 6.3.x, shouldn't be so different in 6.2 if different at all).
Change the "26" to whatever you please.

The rest is in your templates (public_forum_summary.pl).

#114808 08/19/2002 6:20 PM
Joined: Aug 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 17
thank you idle, sir.

well, the stuff in public forum summary looks a bit confusing as it looks like the bit that calls the author name also calls the topic name as well. not sure on this but i dunno, im noob. hehe thank you!

#114809 08/19/2002 9:44 PM
Joined: Aug 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 17
nm i got it. thank you idle!


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
Posts: 70
Joined: January 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 20221218)