Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: GazCBG on July 08, 2015, 12:17:45 PM

Title: New member notification - only send it to 1 admin not all
Post by: GazCBG on July 08, 2015, 12:17:45 PM
Hi,

On my SMF forum, we have 2 admins (me and another) and I have ticked the box on the registration settings to email admins when a new member joins.

Is there away to set it so, only I get the emails, but not the other admin?
Title: Re: New member notification - only send it to 1 admin not all
Post by: Illori on July 08, 2015, 12:19:12 PM
are you using SMF 2.1?
Title: Re: New member notification - only send it to 1 admin not all
Post by: GazCBG on July 08, 2015, 12:31:37 PM
Hi,

I am using SMF 2.0.10, which is the latest version I believe.
Title: Re: New member notification - only send it to 1 admin not all
Post by: GazCBG on July 08, 2015, 12:35:37 PM
Just notice I am in the wrong forum, can a mod more it please
Title: Re: New member notification - only send it to 1 admin not all
Post by: Sir Osis of Liver on July 08, 2015, 01:12:19 PM
You would have to modify the code, but shouldn't be too difficult.  Going off now, will have a look tonight if no one else gets to it.
Title: Re: New member notification - only send it to 1 admin not all
Post by: Sir Osis of Liver on July 08, 2015, 10:35:05 PM
/Sources/Subs-Post.php -



// And do the actual sending...
$row['email_address'] = '[email protected]';
sendmail($row['email_address'], $emaildata['subject'], $emaildata['body'], null, null, false, 0);



Title: Re: New member notification - only send it to 1 admin not all
Post by: GazCBG on July 11, 2015, 09:16:12 AM
Thank you Krash :)