MyBB Community Forums

Full Version: forumbit_depth2_forum_lastpost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
in the template, forumbit_depth2_forum_lastpost

Is there any way to link the actual thread instead of the last post?


this is the link but it links back to last post,I need it to link back to the actual thread itself


<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>


This shows the thread title correctly {$lastpost_subject}

but this links back to last post {$lastpost_link}


Any help would be appreciated.
{$lastpost_link} may be replaced with showthread.php?tid={$lastposttid}
(2017-02-06, 06:03 AM).m. Wrote: [ -> ]{$lastpost_link} may be replaced with showthread.php?tid={$lastposttid}

Thanks bro,

You pointed me in the right direction, I got it to work like this:

showthread.php?tid={$forum['lastposttid']}