Jump to the post that solved this thread.
Solved: 9 Years, 7 Months, 1 Week ago [How To?] [update1] show 'Last Post' subject to wrap/show all, in forum list ?
#1
Solved: 9 Years, 7 Months, 1 Week ago Question 
.
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


Attached Files Thumbnail(s)
   
Thanks again for your help !
akm
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)