MyBB Community Forums

Full Version: Last Poster's Name Is Not Showing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When you visit my forum you can see that the last posters name and time etc is showing, as it should. However, when you go to the actual section it doesn't instead you get something like this:

Quote:Yesterday 02:37 PM
Last Post:

How do I fix this?
My site url is http://www.ghoststorm.co.uk/forum
You can see an example of the issue at http://ghoststorm.co.uk/forum/Forum-Competitions

The theme I am using is called Apart Flame.
The forum version is 1.6.8
Edit -
You need to add this:
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>

Below this:
span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />

In the 'forumdisplay_thread' templates.
The code is already there.

<tr>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></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']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$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} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>