Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 1 Week ago Thread title links to the latest new post?
#1
Solved: 11 Years, 1 Week ago
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
#2
Solved: 11 Years, 1 Week ago
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 ...
#3
Solved: 11 Years, 1 Week ago
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
#4
Solved: 11 Years, 1 Week ago
Find the subsequent templates and apply the same trick.
#5
Solved: 11 Years, 1 Week ago
(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 Smile
#6
Solved: 11 Years, 1 Week ago
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


Forum Jump:


Users browsing this thread: 1 Guest(s)