MyBB Community Forums

Full Version: A thing of e-mail notification of new reply to thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
After a new reply is posted i get notification by e-mail. When i click on the link in e-mail message i get to the beginning of the thread, and if the thread is 10 pages long i have to navigate to the needed particular reply. Instead of getting to the first post of the thread i would like to get to that very particular reply when clicking on the link in e-mail message. Is there a code to modify for achieving that?
Thanks a lot.
Regards
It should redirect you to the first newest post...

If you look in inc/languages/english/messages.lang.php, search for $l['email_subscription']. Somewhere in that variable you should see:
To view the thread, you can go to the following URL:
{6}/showthread.php?action=newpost&tid={7}
You can change action=newpost to action=lastpost, if you really want the last post.
Oops...
Sorry... one issue came up...
It works fine actually, but i can see "done, but with errors on page" message.
Here more info on the error:
[attachment=3118]
Is there a fix for this?
May be the problem appears because the link looks so strange:
Quote:http://moldova.worldcarp.org/forum/showt...id=255&pid=1699#pid1699
I can see one number repeated two times is that ok?
That's how the code looks in messages.lang.php:
Quote:/showthread.php?action=newpost&tid={7}
And that's how the link look when i get it into e-mail:
Quote:http://moldova.worldcarp.org/forum/showt...st&tid=255
Thanks
az0000000 Wrote:I can see one number repeated two times is that ok?
That's correct.
az0000000 Wrote:That's how the code looks in messages.lang.php:
Quote:/showthread.php?action=newpost&tid={7}
Try to change it to:
/showthread.php?action=lastpost&tid={7}
Michael83 Wrote:Try to change it to:
/showthread.php?action=lastpost&tid={7}
Same error:
[attachment=3154]
What you experiencing is a javascript problem.

Your forum is currently running MyBB 1.0 RC4, please update to a newer version which will most probably fix this problem as well as fix many security issues with MyBB 1.0x
I kinda felt that could be the reason.
Anyway, is there a quick way to fix this before i will update?