Email admin on new signup?

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
CraftyMc
Member
Member
Posts: 69
Joined: 16 May 2013, 14:46
Contact:

Email admin on new signup?

Postby CraftyMc » 23 Jan 2014, 14:21

Hey, anyone know of an add-on that will send out an email when a new registration is made or is this already possible?

What I basically need is a system that will send out a notify email to the admin group or send out an email to the email addresses I choose when someone new signs up.

I know you can do the by admin activation. But this isn't what I'm looking for. I don't want to have to activate everyone, (meaning they can't use the forum till i read their email).

I'm looking for just a notify email to say like, 'by the way, so and so has just signed up to your forum with username <username>.

Thanks.

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Email admin on new signup?

Postby steve » 23 Jan 2014, 19:06

Search in .com mate its already been asked and created iirc..
Steve ©

CraftyMc
Member
Member
Posts: 69
Joined: 16 May 2013, 14:46
Contact:

Re: Email admin on new signup?

Postby CraftyMc » 23 Jan 2014, 20:17

Had a look but couldn't find anything, will look again. Thanks

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Email admin on new signup?

Postby steve » 23 Jan 2014, 20:51

Possibly just changing the if and else statement in includes/ucp_register.php for activation type, to also send admins an email ,if i can get localhost on my pc to work with w8 ,i will have a play..
Steve ©

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: Email admin on new signup?

Postby martin123456 » 23 Jan 2014, 22:18

primehalo has a snippet that does just the job i'm sure it's on phpbb.com

Old mod so test on local (use gmail settings to enable emails on local) https://www.phpbb.com/community/viewtopic.php?t=583923 there is a few on phpbb.com find the newest.

This one works just tested https://www.phpbb.com/community/viewtopic.php?f=72&t=2172871#p13244911

Download:
notify_admin_on_registration_1_0_0.zip
(42.71 KiB) Downloaded 48 times
Last edited by martin123456 on 13 Jan 2015, 00:06, edited 4 times in total.
Reason: Zip of mod attached...not sure how long ktuk will be around

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Email admin on new signup?

Postby RMcGirr83 » 23 Jan 2014, 22:23


martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: Email admin on new signup?

Postby martin123456 » 23 Jan 2014, 22:29

Think his edit was on phpbb.com rich i found one that works.
http://www.rmcgirr83.org/viewtopic.php? ... 332#p25332

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: Email admin on new signup?

Postby martin123456 » 23 Jan 2014, 23:38

Attachments
user.png

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Email admin on new signup?

Postby RMcGirr83 » 24 Jan 2014, 01:50

Uhmmm, you posted the exact same code in your find and replace with.

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: Email admin on new signup?

Postby martin123456 » 24 Jan 2014, 08:15


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Email admin on new signup?

Postby RMcGirr83 » 24 Jan 2014, 10:43


martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: Email admin on new signup?

Postby martin123456 » 24 Jan 2014, 13:34

Oh i see now. No it don't, you need to install it from the zip then make the changes i posted.

CraftyMc
Member
Member
Posts: 69
Joined: 16 May 2013, 14:46
Contact:

Re: Email admin on new signup?

Postby CraftyMc » 24 Jan 2014, 18:01

Any idea how to debug this MOD as i have installed it, made the changes suggested for extra info, and waited for a new signup... New signup came, no email to my admin account or my alt founders account?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Email admin on new signup?

Postby RMcGirr83 » 24 Jan 2014, 18:43

What are your user email registration settings set at?

PS it works fine as I have it installed on here and on a few other forums that I administer

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: Email admin on new signup?

Postby martin123456 » 24 Jan 2014, 19:32

Just to clarify (what rich said) it and edits work perfect i have it installed on 3 forums.
one is 3.0.11 and the other 2 are 3.0.12


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 48 guests