mg1979
  •  mg1979
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
2012-02-23T16:08:54Z
I would like to change the text that comes across in the email notification when a new post is made.

the email currently looks like this

Quote:

A new message has been posted in the thread {name of thread}

To read the message, open the following link in your browser:

{link to thread}



is there a file i can edit to change or add additional text to this email.

(currently using yaf 1.9.4)
Sponsor
tha_watcha
2012-02-23T16:22:59Z
Originally Posted by: mg1979 

I would like to change the text that comes across in the email notification when a new post is made.

the email currently looks like this

Quote:

A new message has been posted in the thread {name of thread}

To read the message, open the following link in your browser:

{link to thread}



is there a file i can edit to change or add additional text to this email.

(currently using yaf 1.9.4)



The text for the email templates is stored in the language files (languages/english.xml)

<Resource tag="TOPICPOST_TEXT">
There's a new post in topic "{topic}" at {forumname}:

By {postedby}: 
"{bodytruncated}"

To read more, click or copy and paste the following link into your browser:

{link}
</Resource>

UserPostedImage
mg1979
  •  mg1979
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
2012-02-23T17:10:54Z
are {postedby} and {bodytruncated} tags that i can use?

i have added those two tags to the email notification text but they dont show the authors name in the email or any of the text from their post. (they only show up as {postedby} and {bodytruncated})
tha_watcha
2012-02-23T17:24:25Z
Originally Posted by: mg1979 

are {postedby} and {bodytruncated} tags that i can use?

i have added those two tags to the email notification text but they dont show the authors name in the email or any of the text from their post. (they only show up as {postedby} and {bodytruncated})



No sorry i copied the template from the latest version, if it does not work in your version you need to upgrade. Or modify the source code.
UserPostedImage
mg1979
  •  mg1979
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
2012-02-23T17:39:32Z
thanks, i will give the update a shot and post back
mg1979
  •  mg1979
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
2012-02-23T19:02:36Z
the upgrade went well. everything is now on the latest version.

however, email notifications for new posts are not coming through email. (email test during the upgrade worked, and i also am getting email notifications when sending PMs) not sure why email notifications of new posts arent coming in.
mg1979
  •  mg1979
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
2012-02-23T19:39:24Z
I have it figured out.

with the upgrade the email notification option in a user profile defaults to "turn off notifications"

once that was switched back on the email alerts are coming through and with the updated text that i wanted from the original question. thanks for the help.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved