New reply Yesterday, 2:33 pm
Stream |
![]() New reply Yesterday, 2:33 pm ![]() New reply 31 Jul, 2025, 12:23 am ![]() New thread 31 Jul, 2025, 12:22 am ![]() New reply 19 Jul, 2025, 2:37 pm ![]() New thread 19 Jul, 2025, 2:29 pm ![]() New reply 15 Jul, 2025, 7:50 am ![]() New reply 15 Jul, 2025, 2:46 am ![]() New thread 13 Jul, 2025, 12:28 am ![]() New reply 3 Jul, 2025, 3:12 am ![]() New thread 3 Jul, 2025, 2:55 am |
Files | You do not have permission to download files. |
{$newestThread}
inside the forumdisplay_threadlist
template to display the newest threadnewest_forumdisplay_thread
and newest_forumdisplay_thread_deleted
templates to format the newest thread differently.{$newestThread}
inside other templates, like in the forumdisplay
template, but this was not tested thoroughly.newest_forumdisplay_thread
and newest_forumdisplay_thread_deleted
templates are not found in the theme, the code will simply fallback to the core forumdisplay_thread
and forumdisplay_thread_deleted
templates.newest_forumdisplay_thread
template for the attached previews is the following (based off the default theme):<br class="clear" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear">
<tr class="inline_row">
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}"> </span></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
<div><span class="author smalltext">{$thread['profilelink']}{$lang->comma}</span><span class="thread_start_datetime smalltext">{$thread['start_datetime']}</span></div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
</table>
<br class="clear" />