[MOD] Sender's Name and subject in PM Notification.

This is another very small modification I like
[size=99px]
...and to add the PM-subject as well
[size=99px]
REPLACE
[size=99px]
...and to add the PM-subject as well
[size=99px]
REPLACE
- Code: Select all
$emailer->assign_vars(array( 'USERNAME' => $to_username, 'FROM' => $userdata['username'], 'ABOUT' => $privmsg_subject, 'SITENAME' => $board_config['sitename'], 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br>', "n", "-- n" . $board_config['board_email_sig']) ]
[size=99px]
[b]REPLACE[/b][code] $emailer->assign_vars(array( 'USERNAME' => stripslashes($to_username), 'FROM' => $userdata['username'], 'ABOUT' => $privmsg_subject, 'SITENAME' => $board_config['sitename'], 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br>', "n", "-- n" . $board_config['board_email_sig']) ]
[size=99px][code]{FROM}{ABOUT}