MyBB Community Forums
A thing of e-mail notification of new reply to thread - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.2 Series (https://community.mybb.com/forum-3.html)
+------ Forum: MyBB 1.2 General Support (https://community.mybb.com/forum-4.html)
+------ Thread: A thing of e-mail notification of new reply to thread (/thread-9508.html)



A thing of e-mail notification of new reply to thread - az0000000 - 2006-06-05

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


RE: A thing of e-mail notification of new reply to thread - Dennis Tsang - 2006-06-05

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.


RE: A thing of e-mail notification of new reply to thread - az0000000 - 2006-06-06

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?


RE: A thing of e-mail notification of new reply to thread - az0000000 - 2006-06-08

May be the problem appears because the link looks so strange:
Quote:http://moldova.worldcarp.org/forum/showthread.php?tid=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/showthread.php?action=newpost&tid=255
Thanks


RE: A thing of e-mail notification of new reply to thread - Michael S. - 2006-06-08

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}



RE: A thing of e-mail notification of new reply to thread - az0000000 - 2006-06-12

Michael83 Wrote:Try to change it to:
/showthread.php?action=lastpost&tid={7}
Same error:
   


RE: A thing of e-mail notification of new reply to thread - Chris Boulton - 2006-06-12

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


RE: A thing of e-mail notification of new reply to thread - az0000000 - 2006-06-12

I kinda felt that could be the reason.
Anyway, is there a quick way to fix this before i will update?