Number of characters before adding reticence on Last Post?

Started by Pechuco, December 05, 2010, 06:55:37 PM

Previous topic - Next topic

Pechuco

Hello everyone.
I've recently set up a forum with SMF 2.0 RC4.

The problem is that when i post a new message in a determinate forum, and it shows in the index as Latest Post it gets shortened as it would not fit the Latest Post table, which is not true because my theme is pretty large and it has enough space.

Example:
The topic name is Marie Likes Chocolate Cake A lot!
In the index it would appear Marie Likes Chocolate Ca...

Is there anyway to change the max number of characters (which i think is 24) to any other thing?
In another question, is there a manual way to remove the "Re:" prefix from topics and responses?

Thank you in advance, Pechuco.

Kays

Hi, sorry for the slow response.

Do you still require assistance with this?

What I think you're looking for is the following in Subs-Recent.php in the Sources folder. Just change the 24 to a higher value.

'short_subject' => shorten_subject($row['subject'], 24),

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: