Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Recent Threads On Index] Go to last post when click to thread title
I just have installed the Recent Threads On Index plugin. 
It's possible to make a little hack? When users click on the title of threads (in the Recent Posts area in index) would be perfect if they would arrive at the latest post in topic or better at the first unread post, not at the begining of the thread (page 1, first post). 

There is possible to fix it?

exactly which plugin you have installed for the recent threads ?
Recent Threads On Index
recent threads table already includes link to the last post of the thread.

yet, if you like to change the thread title link then

template : recentthread_thread

<a href="{$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}">{$thread['subject']}</a></span>
replace with
<a href="{$lastpostlink}">{$thread['subject']}</a></span>
It works, thank you!
Just like a curiosity - there is a different code to link to the latest post unread by user in topic or the code above is the only solution?
‌^ recent threads title is prefixed by an icon/image with link to first unread post.

[Image: wyIjO4z.gif]

if you like to use first unread post link for the thread title then
you can change earlier suggested code to
<a href="{$thread['newpostlink']}">{$thread['subject']}</a></span>

Forum Jump:

Users browsing this thread: 1 Guest(s)