Not Solved [Recent Threads On Index] Go to last post when click to thread title
#1
Not Solved
Hello,
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?

Thanks,
Reply
#2
Not Solved
exactly which plugin you have installed for the recent threads ?
Reply
#3
Not Solved
Recent Threads On Index
https://community.mybb.com/mods.php?action=view&pid=191
Reply
#4
Not Solved
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

find
<a href="{$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}">{$thread['subject']}</a></span>
replace with
<a href="{$lastpostlink}">{$thread['subject']}</a></span>
Reply
#5
Not Solved
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?
Reply
#6
Not Solved
‌^ 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>
Reply
#7
Not Solved
Very helpful. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)