2014-09-01, 07:54 PM
After changing the e-mail account in the User-CP the subject of the email is
It can be changed by editing the following lines at usercp.php
Quote:Change of Email at {1}
It can be changed by editing the following lines at usercp.php
$userhandler->update_user();
// Email requires no activation
$mail_message = $lang->sprintf($lang->email_changeemail_noactivation, $mybb->user['username'], $mybb->settings['bbname'], $mybb->user['email'], $mybb->get_input('email'), $mybb->settings['bburl']);
my_mail($mybb->get_input('email'), $lang->emailsubject_changeemail, $mail_message);
$plugins->run_hooks("usercp_do_email_changed");
redirect("usercp.php?action=email", $lang->redirect_emailupdated);
and change them to$userhandler->update_user();
// Email requires no activation
$mail_message = $lang->sprintf($lang->email_changeemail_noactivation, $mybb->user['username'], $mybb->settings['bbname'], $mybb->user['email'], $mybb->get_input('email'), $mybb->settings['bburl']);
$lang->emailsubject_changeemail = $lang->sprintf($lang->emailsubject_changeemail, $mybb->settings['bbname']);
my_mail($mybb->get_input('email'), $lang->emailsubject_changeemail, $mail_message);
$plugins->run_hooks("usercp_do_email_changed");
redirect("usercp.php?action=email", $lang->redirect_emailupdated);