I know this is a core edit,
but When a member registers and I have my ACP set to --> send random password on registration.
How can I send it to the Super Admin email as well?
Figured it out, if anyone is interested:
Obviously you could make a plug for this and probably should
but for core, its adding 1 line of code to member.php
around line 280 find
Directly after that line add:
This will send your admin mail account the copy of the random login and password.
I actually changed the the $emailsubject to include the account name so I could archive the emails for reference.
but When a member registers and I have my ACP set to --> send random password on registration.
How can I send it to the Super Admin email as well?
Figured it out, if anyone is interested:
Obviously you could make a plug for this and probably should
but for core, its adding 1 line of code to member.php
around line 280 find
my_mail($user_info['email'], $emailsubject, $emailmessage);
Directly after that line add:
my_mail($mybb->settings['adminemail'], $emailsubject, $emailmessage);
This will send your admin mail account the copy of the random login and password.
I actually changed the the $emailsubject to include the account name so I could archive the emails for reference.