A thing of e-mail notification of new reply to thread
#1
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
#2
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.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#3
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:
   
Is there a fix for this?
#4
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
#5
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}
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
#6
Michael83 Wrote:Try to change it to:
/showthread.php?action=lastpost&tid={7}
Same error:
   
#7
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
#8
I kinda felt that could be the reason.
Anyway, is there a quick way to fix this before i will update?


Forum Jump:


Users browsing this thread: 1 Guest(s)