MyBB Community Forums

Full Version: max characters in last post.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how can i reduce the number of characters
at the moment it has someverylongtittle..... i want some thing like someverylongt...... as at the moment it breaks the layout as it pushes the rss button down i can't show you as it is in a admin only forum at the moment. it's not overly important just don't want to break the layout for guests, if there happens to be a long post title and a long user name, i could make the forum wider but don't really want it any wider.
1. In ./inc/functions_forumlist.php, from line 233, find :

if(my_strlen($lastpost_subject) > 25)
{
	$lastpost_subject = my_substr($lastpost_subject, 0, 25)."...";
}

and Change 25 to 13
which 25 do i need to change or is it both.
Both, =)
Thanks this fixed it.