Hi Guys
Quick one for you if I may?
I'd like to set it so that when someone clicks the title of a thread, it takes them to the latest unread post rather than the first opening post of a thread
Is this possible?
Cheers
Tal
Append
&action=newpost
to the thread url.
for example:
in 'forumdisplay_thread' template
<a href="{$thread['threadlink']}"
will be
<a href="{$thread['threadlink']}&action=newpost"
However its pointless in 'forumdisplay_thread' as the new post link anchor appears separately ...
Something so simple and 100% effective! Thank you very much for that, and especially the quick reply
Sorry, have a second question
How do I do the same for all pages? No matter where you are on the site, I want it to go to the last unrad post when you click the thread title
From the homepage, search results, user cp etc
Thanks again
Tal
Find the subsequent templates and apply the same trick.
(2014-01-23, 01:11 PM)effone Wrote: [ -> ]Find the subsequent templates and apply the same trick.
Darn! Thought there would be a universal option... I may grab a cuppa tea so
Use jQuery regex to to append all in-page links pointing to showthread.php, ITS A HORRIBLE IDEA, but if you feel that lazy then ... :p