new message notification: whole body of new message in email
Posted by Marian
new message notification: whole body of new message in email October 27, 2005 05:53PM |
Registered: 18 years ago Posts: 43 |
If someone want's to send the whole body of a new post to users who subscribed to that thread, do the following:
1. in include/email_functions.php, somwhere between line 101 and 108, add the line
for more context, here are my lines 104 to 106
2. in include/lang/*your_language_file*, add %body% to an appropriate place at "NewReplyMessage".
Again, for more context here is my expression:
Tested with Phorum 5.0.19.
Cheers,
Marian
1. in include/email_functions.php, somwhere between line 101 and 108, add the line
"body" => wordwrap($message["body"], 72),
for more context, here are my lines 104 to 106
"subject" => $message['subject'], "body" => wordwrap($message["body"], 72), //MG: neu "read_url" => phorum_get_url(PHORUM_READ_URL, $message['thread'], $message['message_id']),
2. in include/lang/*your_language_file*, add %body% to an appropriate place at "NewReplyMessage".
Again, for more context here is my expression:
"NewReplyMessage" => "Es gibt einen neuen Beitrag in einem von Dir abonnierten Thema.\n\nThema: %subject%\n\n%body%\n\nZum Beitrag:\n%read_url%\n",
Tested with Phorum 5.0.19.
Cheers,
Marian
Re: new message notification: whole body of new message in email October 28, 2005 02:13AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: new message notification: whole body of new message in email October 28, 2005 02:55AM |
Admin Registered: 19 years ago Posts: 8,532 |
Re: new message notification: whole body of new message in email October 28, 2005 05:13AM |
Registered: 18 years ago Posts: 43 |
Sorry, only registered users may post in this forum.