MyBB Community Forums

Full Version: notification by mail after a new reply - link?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,

i use mybb 1.10 (with italian translation).

i selected option for "mail notification" in my forum when a user write in a thread . so all the users (that wrote in that thread) will receive a notification by mail after a new reply.

but the mail have a link to the URL of thread!! not url to go directly in the last post.

for example i know that vbulettin sends a mail with a link to the last post.

can i have notification mail in my "mybb forum" with a url to go directly in the last post?

i hope that you understand me. please speak more info in easy english, i'm italian and i dont speak very well english :-)
Open the languagefile messages.lang.php and search for:
{6}/showthread.php?action=newpost&tid={7}
Replace with:
{6}/showthread.php?action=lastpost&tid={7}
in this file ( /wwwroot/forum/inc/languages/italiano/messages.lang.php )

there is
{6}/showthread.php?tid={7}

and not
{6}/showthread.php?action=newpost&tid={7}


please, tell me more info


what i must replace???

This seems to be an issue with the translation. Please replace
{6}/showthread.php?tid={7}
with
{6}/showthread.php?action=lastpost&tid={7}
See if that works.
i think that is an error in the italian translation language:


this code
{6}/showthread.php?tid={7}

is different form original english language

{6}/showthread.php?action=newpost&tid={7}


now i write te same code in italian file
{6}/showthread.php?action=newpost&tid={7}

i think that i find solution now. i hope
Michael83 Wrote:This seems to be an issue with the translation. Please replace
{6}/showthread.php?tid={7}
with
{6}/showthread.php?action=lastpost&tid={7}
See if that works.


thanks michael83! you are very fast and very kind.

i try and then i will tell you more info
yesssssssssss! now work good!

i contact italian translator for this info about file translation.

thanks! :-)
Wouldn't it be better to actually link to the $pid instead of just lastpost, as there could be say 4 new replies since the email was sent, but the lastpost link will just goto the last one?
yes. i think that the best is

{6}/showthread.php?action=newpost&tid={7}