Page 1 of 3

[CDB] Notify Admin on Registration

Posted: Sun May 03, 2015 1:59 pm
by dmzx
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

Re: [DEV] Notify Admin on Registration

Posted: Tue May 05, 2015 9:18 pm
by FomenkoAndrey
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

Re: [DEV] Notify Admin on Registration

Posted: Tue May 05, 2015 9:39 pm
by FomenkoAndrey
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.

Re: [DEV] Notify Admin on Registration

Posted: Tue May 05, 2015 9:42 pm
by nero
Is it possible to just send a notification?

Re: [DEV] Notify Admin on Registration

Posted: Tue May 05, 2015 9:46 pm
by FomenkoAndrey
if email activation - only email send

Re: [DEV] Notify Admin on Registration

Posted: Wed May 06, 2015 6:56 pm
by dmzx
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

Re: [DEV] Notify Admin on Registration

Posted: Sun May 10, 2015 3:56 pm
by forkless
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:

Re: [DEV] Notify Admin on Registration

Posted: Tue May 12, 2015 10:44 am
by Hartenheer
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

Re: [DEV] Notify Admin on Registration

Posted: Tue May 12, 2015 11:14 am
by Paul
@Hartenheer, please note that this is a English only forum, even if the extension author is Dutch you should write your messages in English.

Re: [DEV] Notify Admin on Registration

Posted: Tue May 12, 2015 11:21 am
by Hartenheer
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

Re: [DEV] Notify Admin on Registration

Posted: Tue May 12, 2015 1:07 pm
by dmzx
If your default lang file is not EN change it to NL (or other lang)

See some posts above here with same problem.

Re: [DEV] Notify Admin on Registration

Posted: Tue May 12, 2015 2:05 pm
by Hartenheer
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

Re: [DEV] Notify Admin on Registration

Posted: Wed May 13, 2015 3:43 pm
by Dr.Death
Added german email template via pull request.

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

Re: [DEV] Notify Admin on Registration

Posted: Wed May 13, 2015 4:22 pm
by FomenkoAndrey
russian translate

Code: Select all

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

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

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

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

{EMAIL_SIG}

Re: [DEV] Notify Admin on Registration

Posted: Thu May 14, 2015 12:54 pm
by ac_roma
good extension

thank you ;)