solved Adjusting Forum email notification

Strumelia
Strumelia
@strumelia
8 years ago
3,605 posts
Hi,
I use the 'profile forum' setup on my site, and the jrForum module.
Recently we were given the setting choice of reversing the order of Forum posts, so that the newest are on top, and that's what I switched to. I really like it ordered this way (especially good for mobile users) but it means there are a couple 'bumps' I need to resolve to make things smooth while having newest posts first/top.
Here is one little thing, can you advise me how to change the code here please?:

In my jrForum module templates, the email_topic_updated_message.tpl LINK takes people to (for example) page 18 of a long thread, as in this example:
---------------
A forum topic you are following has had a new post:
member: Anne Maguire
posted in: Show Us Your Pets!
- Do NOT hit "Reply" to this email. -
To see and respond to the new post,
Click this link: http://fotmd.com/forums/forum/off-topic-discussions/11944/show-us-your-pets/p=18
---------------------
Now with the forum post order reversed, page 18 contains the threads OLDEST posts, so the member has to figure out to use the pager to navigate to page 1 which is where the newest post is. This has been extremely confusing for members (and shouldn't be a two-step process for them anyway).

The problem (as I see it) is that the above emailnotification template says this:
To see and respond to the new post,
Click this link: {$forum_topic_url}

The notification link is sending them to the discussion 'topic page' which now contains the OLDEST posts, not the new post they're being notified about.

Since I've reversed my forum posts to be newest-to-oldest, how do I now change this email notification link code to send people to the latest/newest post, or at least to the page with the newest posts, (or maybe simply to "page 1"?), of the forum discussion?

Thanks for any help!



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 05/15/17 06:47:08PM
michael
@michael
8 years ago
7,805 posts
Will setup to test this. I understand the issue, just need to replicate it so I can identify the cause.
michael
@michael
8 years ago
7,805 posts
We've got this fixed up for the next release of jrForum ver 2.1.3
Strumelia
Strumelia
@strumelia
8 years ago
3,605 posts
Wow thanks for such a speedy fix! :D

Later this evening I'll start a thread for what i 'think' is the last of the refinements I've persued since reversing the forum post order on my site....
many thanks!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
8 years ago
3,605 posts
Sorry to bring up another instance of this issue, but my reversing the order of Forum posts has created pretty much the same issue in another location as well...
The best way to describe it is if you go to my forum Categories page here: http://fotmd.com/forums/forum/off-topic-discussions and look at a discussion such as "Show Us Your Pets" with multiple pages' worth of replies... see screenshot. Clicking on the right hand link that shows the latest post is incorrectly taking you to: http://fotmd.com/forums/forum/off-topic-discussions/11944/show-us-your-pets/p=18#last which has the thread's OLDEST replies. Instead, it 'should be taking you to: http://fotmd.com/forums/forum/off-topic-discussions/11944/show-us-your-pets/p=1 now, where the newest post is on page 1 at the top.
newest-post.jpg
newest-post.jpg  •  435KB




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
8 years ago
10,149 posts
I'll get a fix out for this.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
8 years ago
10,149 posts
This should be fixed in 2.1.4 - updated and let me know. Sorry for overlooking that link.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
8 years ago
3,605 posts
Thank you Brian! OMG that was FASSSST. Working just great now.

By the way, the fix for the email notifications you did earlier in this thread is working properly now as well- woo-hoooo! :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015