Forum Moderators: open

Message Too Old, No Replies

Link in Email to last page

         

guggi2000

9:30 am on Feb 24, 2017 (gmt 0)

10+ Year Member Top Contributors Of The Month



I think I brought up the topic a few years ago, but it was not implemented.

I love receiving the email notification when someone replies to a certain thread.
However, the link provided in that email should point to the last page of the thread and not to the first page.
In addition, consider an anchor to scroll directly to the new message.

Possible?
Shall/can I help with the coding?

engine

11:51 am on Feb 24, 2017 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Thank you for the offer.
One of the problems is that page breaks can be individually set, and that causes it to break. It only happens on long threads.

tangor

11:54 am on Feb 24, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Each messages does have a specific id, and "should" be findable from that id .... but that might not fit with pagination(s).

engine

6:23 pm on Feb 24, 2017 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



You can, of course, control the number of posts per thread in your control panel: Go to "Messages per thread?" and adjust it.

guggi2000

7:38 pm on Feb 24, 2017 (gmt 0)

10+ Year Member Top Contributors Of The Month



I am not sure what you mean by "Messages per Thread" and "Message Id".

I understand that individual page break outputs different HTMLs and I am seeing that you implemented the following URL format:

messageId - CurrentPage - NumberOfMessagesPerPage

So why not just query the DB before sending the email notification and pointing to the last page?