File Edits: 4
**
Open ./inc/languages/english/messages.php
Find
$l['emailsubject_newpm'] = "New Private Message at {1}";
Change into
$l['emailsubject_newpm'] = "New Private Message at {1} - {2}";
** {2} While represent the PM Subject **
Change the whole $l['email_newpm'] language string into
$l['email_newpm'] = "{1},
You have received a new private message on {3} from {2} That goes like this:
------------------------------------------
{5}
------------------------------------------
To view this message, you can follow this link:
{4}/private.php
Please note that you will not receive any further notifications of new messages until you visit {3}.
You can disable new message notifications on your account options page:
{4}/usercp.php?action=options
Thank you,
{3} Staff
{4}";
** {5} Will Represent The PM Message, Can Become Messy If There Are Tags Involved, Use At Own Risk **
Open ./inc/datahandlers/pm.php
Find
$emailmessage = $lang->sprintf($emailmessage, $recipient['username'], $pm['sender']['username'], $mybb->settings['bbname'], $mybb->settings['bburl']);
Change Into
$emailmessage = $lang->sprintf($emailmessage, $recipient['username'], $pm['sender']['username'], $mybb->settings['bbname'], $mybb->settings['bburl'], $pm['message']);
Find
$emailsubject = $lang->sprintf($emailsubject, $mybb->settings['bbname']);
Change Into
$emailsubject = $lang->sprintf($emailsubject, $mybb->settings['bbname'], $pm['subject']);
Should result into [
attachment=18961]