UBB.Dev
Posted By: Atar I want to shorthen the last post.... - 12/17/2001 12:04 PM
I run my forum at a 700 width, now, everytime someone with a long name posts, the forum names and discriptions get all cramped up, and the last post thingie is very wide. Where do I find this code so I can mod it a bit?
public_forum_page?

ow, and I see you guys have the same problem if you run it at 600x800 (i'm at school [Linked Image]).

thanks in advance, Atar.
Posted By: AllenAyres Re: I want to shorthen the last post.... - 12/17/2001 12:08 PM
what version are you running?
Posted By: Atar Re: I want to shorthen the last post.... - 12/17/2001 3:56 PM
1.0.3
Posted By: pumpkin Re: I want to shorthen the last post.... - 12/17/2001 10:17 PM
I assume you mean version 6.1.0.3
for info on what templates to mod for what, go to this very useful post

hope it helps
Posted By: SpellBindeR Re: I want to shorthen the last post.... - 12/18/2001 6:22 PM
maybe u can change the value
it's in ubb_forum_summary.cgi

find :
[code][/code]

Reduce the length value (25)
There is more magic with $last_subject - there's a set of commented out lines that automagically insert a
when the subject is long as well... just uncomment the lines, bingo...
Posted By: Atar Re: I want to shorthen the last post.... - 12/22/2001 9:37 PM
hehe, cool thanks!

and, yes, I am running version 6.1.0.3
Posted By: gost95 Re: I want to shorthen the last post.... - 03/09/2002 6:31 PM
hmmm...when i follow the instructions above i get no changes...

here's what my code looked like before the change:
# if(length($last_subject) > 25) {
# $thisbr = "
";
# } else {
# $thisbr = "";
# }

here's what my code looked like after the change:
# if(length($last_subject) > 5) {
# $thisbr = "
";
# } else {
# $thisbr = "";
# }

nothing changed. i'm not sure what you meant about uncommenting because i don't know much about code period.

also, will this change the last post table width for the forums and the main page, because the main page width is what i'm concerned. thanks
© UBB.Developers