Welcome to WebmasterWorld Guest from 35.172.195.49

Forum Moderators: open

Message Too Old, No Replies

Link in Email to last page

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

Full Member

5+ Year Member Top Contributors Of The Month

joined:Feb 19, 2012
posts: 335
votes: 2


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?
11:51 am on Feb 24, 2017 (gmt 0)

Administrator from GB 

WebmasterWorld Administrator engine is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:May 9, 2000
posts:26469
votes: 1078


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.
11:54 am on Feb 24, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:10590
votes: 1126


Each messages does have a specific id, and "should" be findable from that id .... but that might not fit with pagination(s).
6:23 pm on Feb 24, 2017 (gmt 0)

Administrator from GB 

WebmasterWorld Administrator engine is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:May 9, 2000
posts:26469
votes: 1078


You can, of course, control the number of posts per thread in your control panel: Go to "Messages per thread?" and adjust it.
7:38 pm on Feb 24, 2017 (gmt 0)

Full Member

5+ Year Member Top Contributors Of The Month

joined:Feb 19, 2012
posts: 335
votes: 2


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?