[CDB] Notify Admin on Registration

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[CDB] Notify Admin on Registration

Post by dmzx » Sun May 03, 2015 1:59 pm

This extension requires at least phpBB version 3.1.4-RC1

Extension Name: Notify Admin on Registration
Author: dmzx

Extension Description:

When a new user registers on your board, a short e-mail with basic user info will be sent to all administrators of the board.

Extension Version: 1.0.0


Screenshots:
Image

Image

Extension Download:
http://dmzx.github.io/notifyadmin

Installation:
  1. 1. Download the latest release.
    2. Unzip the downloaded release, and change the name of the folder to `notifyadmin`.
    3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
    4. Copy the `notifyadmin` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/notifyadmin/composer.json
    5. Navigate in the ACP to `Customise -> Manage extensions`
    6. Look for `Notify Admin on Registration` under the Disabled Extensions list, and click its `Enable` link.
This extension requires at least phpBB version 3.1.4-RC1
Last edited by dmzx on Sun Dec 13, 2015 9:19 am, edited 2 times in total.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [DEV] Notify Admin on Registration

Post by FomenkoAndrey » Tue May 05, 2015 9:18 pm

when user registretion, press SEND

Code: Select all

Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "admin_notify_registered.txt" (looked into: ).' in /home/motobra2/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:202 Stack trace: #0 /home/motobra2/public_html/phpbb/template/twig/loader.php(106): Twig_Loader_Filesystem->findTemplate('@dmzx_notifyadm...') #1 /home/motobra2/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(138): phpbb\template\twig\loader->findTemplate('@dmzx_notifyadm...') #2 /home/motobra2/public_html/vendor/twig/twig/lib/Twig/Environment.php(265): Twig_Loader_Filesystem->getCacheKey('@dmzx_notifyadm...') #3 /home/motobra2/public_html/vendor/twig/twig/lib/Twig/Environment.php(312): Twig_Environment->getTemplateClass('@dmzx_notifyadm...', NULL) #4 /home/motobra2/public_html/phpbb/template/twig/environment.php(166): Twig_Environment->loadTemplate('@dmzx_notifyadm...', NULL) #5 /home/motobra2/public_html/vendor/twig/twig/lib/Twig/Environment.php(288): phpbb\template\twig\environment->loadTemplate in /home/motobra2/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 202

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [DEV] Notify Admin on Registration

Post by FomenkoAndrey » Tue May 05, 2015 9:39 pm

there wasnt RU lang files.
replace EN to RU - now work.

another question. can You add a link to an new user profile? Now there is no link, only a nickname.

User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [DEV] Notify Admin on Registration

Post by nero » Tue May 05, 2015 9:42 pm

Is it possible to just send a notification?

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [DEV] Notify Admin on Registration

Post by FomenkoAndrey » Tue May 05, 2015 9:46 pm

if email activation - only email send

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Notify Admin on Registration

Post by dmzx » Wed May 06, 2015 6:56 pm

FomenkoAndrey wrote:there wasnt RU lang files.
replace EN to RU - now work.

another question. can You add a link to an new user profile? Now there is no link, only a nickname.


Yes working on link
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
forkless
Registered User
Posts: 54
Joined: Mon Jan 19, 2009 3:20 pm

Re: [DEV] Notify Admin on Registration

Post by forkless » Sun May 10, 2015 3:56 pm

Nice extension :)

I realize this is not quite in the scope of the extension but this extension seems to have the necessary functions to expand onto this concept.

So I was wondering if it would be possible to send a message not only on registration but optionally also on post (to Global Moderators) while a user is still in the 'Newly Registered Users' group.

It would actually create somewhat of a workflow and make the end-user experience potentially better as new 'waiting for moderation' posts could be picked up on trigger rather than being picked up by a moderator on checking in on the board.

EDIT: never mind, I just noticed this is already possible :lol:

User avatar
Hartenheer
Registered User
Posts: 740
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [DEV] Notify Admin on Registration

Post by Hartenheer » Tue May 12, 2015 10:44 am

Helaas niet bruikbaar.

Nadat ik het geinstaleerd had was het voor nieuwe leden niet mogelijk om in te loggen.
Zij kregen het volgende probleem

https://www.dropbox.com/s/rn9cz779b6cwo ... 0.png?dl=0
Sorry English is not my native language :oops:
regards: Willem

<a href="https://bierfijnproevers.nl"><img src="https://bierfijnproevers.nl/image/banner.png" /></a>

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25194
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [DEV] Notify Admin on Registration

Post by Paul » Tue May 12, 2015 11:14 am

@Hartenheer, please note that this is a English only forum, even if the extension author is Dutch you should write your messages in English.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Hartenheer
Registered User
Posts: 740
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [DEV] Notify Admin on Registration

Post by Hartenheer » Tue May 12, 2015 11:21 am

Paul wrote:@Hartenheer, please note that this is a English only forum, even if the extension author is Dutch you should write your messages in English.

Sorry, I'll try.
My English is poor

Unfortunately, not usable.

After I geinstaleerd it was not possible for new members to log in.
They had the following problem
https://www.dropbox.com/s/rn9cz779b6cwo ... 0.png?dl=0
Sorry English is not my native language :oops:
regards: Willem

<a href="https://bierfijnproevers.nl"><img src="https://bierfijnproevers.nl/image/banner.png" /></a>

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Notify Admin on Registration

Post by dmzx » Tue May 12, 2015 1:07 pm

If your default lang file is not EN change it to NL (or other lang)

See some posts above here with same problem.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
Hartenheer
Registered User
Posts: 740
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [DEV] Notify Admin on Registration

Post by Hartenheer » Tue May 12, 2015 2:05 pm

dmzx wrote:If your default lang file is not EN change it to NL (or other lang)

See some posts above here with same problem.
Now it works perfectly.
Thanks for your advice
Sorry English is not my native language :oops:
regards: Willem

<a href="https://bierfijnproevers.nl"><img src="https://bierfijnproevers.nl/image/banner.png" /></a>

User avatar
Dr.Death
QA Team
Posts: 363
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany
Contact:

Re: [DEV] Notify Admin on Registration

Post by Dr.Death » Wed May 13, 2015 3:43 pm

Added german email template via pull request.

Maybe you could add another event if the newly registered user has "activated" his account ?
Doc.

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [DEV] Notify Admin on Registration

Post by FomenkoAndrey » Wed May 13, 2015 4:22 pm

russian translate

Code: Select all

Регистрация нового пользователя

Новый пользователь зарегистрирован на сайте "{SITENAME}".

Подробная информация:

Имя пользователя:		 {USERNAME}
E-mail:			{USER_MAIL}
Зарегистрирован:		{USER_REGDATE}
IP:				{USER_IP}

{EMAIL_SIG}

User avatar
ac_roma
Registered User
Posts: 302
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [DEV] Notify Admin on Registration

Post by ac_roma » Thu May 14, 2015 12:54 pm

good extension

thank you ;)

Locked

Return to “Extensions in Development”