MyBB Community Forums

Full Version: [update1] show 'Last Post' subject to wrap/show all, in forum list ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
.
Have aligned 'Last Post' on left (vs MyBB on right, per attached scrnsht), but text does not wrap or extend the width of the box.
Edited below code for 'left' align...
<td class="{$bgcolor}" valign="top" align="left" style="white-space: nowrap">{$lastpost}</td>
...how to make last post 'Subject' text show full extent of box ?
Thoughts ?

Update... Took a look (in case may have something to do with the question) at pdf files for ' variables' (per http://crossreference.mybboard.de/nav.ht...index.html) for $lastpost, but not sure how to look at them for editing 'wrap' etc... still trying to learn the code/s.   Blush

Update1...
Went to...

Variable Cross Reference

$full_lastpost_subject
Defined at: Referenced 4 times:
2005 - 2014 © MyBBoard.de | Alle Rechte vorbehalten! | Sponsor: netcup

Then at /inc/functions_forumlist.php...

if(my_strlen($lastpost_subject) > 40)
                  
// changed 25 to 40 above and below

{$lastpost_subject = my_substr($lastpost_subject, 0, 40)."...";

That seemed to work... and still trying to' learn' ('variables' +++) Blush