MyBB Community Forums

Full Version: Change Full Text latest thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello .. i need help , i using aldjija template, version 3, i need to latest thread to dispalay around 20 thread link and give the full titile for subject..

this screenshoot for latest thread

[Image: latestthread.jpg]

and this is code latest thread

portal latest thread
Quote:portal_latestthreads

portal_latestthreads_thread
Quote:<tr>
<td class="{$altbg}">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a></strong>
<span class="smalltext"><br />
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br />
{$lastpostdate} {$lastposttime}<br />
<strong>&raquo; </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>&raquo; </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>

The default is 25 characters, you have to change/edit ./inc/functions_forumlist.php

Matt posted the solution here:
http://community.mybb.com/thread-71745-p...#pid521494

Find this (in ./inc/functions_forumlist.php)
                    if(my_strlen($lastpost_subject) > 25)
                    {
                        $lastpost_subject = my_substr($lastpost_subject, 0, 25) . "...";
                    }
Change 25 to a larger number. It may break some of the layout and you will have to repeat the edit after an upgrade.
thnaks you