UBB.Dev
Posted By: pringalz Forum Summary - 08/19/2002 11:01 AM
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!!!!!
Posted By: Idle Re: Forum Summary - 08/19/2002 7:37 PM
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).
Posted By: pringalz Re: Forum Summary - 08/20/2002 1:20 AM
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!
Posted By: pringalz Re: Forum Summary - 08/20/2002 4:44 AM
nm i got it. thank you idle!
© UBB.Developers