Your Moodle version

Authentication: Email-based self-registration with admin confirmation

auth_emailadmin
Maintained by Picture of Felipe Carasso Felipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.

The confirmation email is sent to the main admin account's email address.

When the admin clicks on the confirmation link, a "welcome" email is sent to the user.

Note that the admin must use the confirmation link in the email for the user to receive the automatic notification. Approving the account from the user admin interface does not trigger it.

Email body is customizable within the language file.

Based on default email-based self-registration module.

You can customize the e-mail messages by editing the language file or using Moodle's language editor.

Screenshots

Screenshot
Screenshot

Contributors

Picture of Felipe Carasso
Felipe Carasso (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Vincent Chun
    Sun, Jul 7, 2013, 11:55 AM
    Thanks for you help Felipe - much appreciated.
    That's rather interesting - my Moodle is certainly able to send other email messages and yes, it the email being sent to the admin works perfectly. It's just the email user confirmation doesn't ever seem to be sent (in the 'lang' folder - 'auth_emailadminuserconfirmation').
    I can work around it by manually sending a message from the link to the user profile on the list of users under site admin when I confirm the user there (incidentally, the link in the admin email to confirm doesn't work for me either: "500 - Internal Server Error" page)
    As for the logs suggestion - I had a look but didn't notice anything in the logs (under site admin>reports?) - I shall check again, but in the meantime, the workaround I mentioned will have to do. Apart from that, great plugin though!
  • Me at the Moodle Moot NZ11
    Sun, Jul 28, 2013, 7:41 AM
    I can confirm the same behaviour as Vincent regarding the email link. I've installed the plugin (great work by the way Felipe!) but the email that goes to Admin, when I click on it, I get the "invalidconfirmdata" message sad Using Moodle 2.4.1+ (LAMP). Any ideas how to resolve this - it's going to be perfect for reducing spam accounts on our www.freemoodle.org site if the link in the Admin email works! smile Stu
  • Picture of Felipe Carasso
    Wed, Jul 31, 2013, 12:16 AM
    Hi Stuart,

    I'd need to see errors from your logs to be able to try to diagnose the problem. Unless you're willing to give me access to your Moodle so that I can investigate.

    Otherwise, I don't see what else I can do to help...

    Best regards,
    Felipe
  • Me at the Moodle Moot NZ11
    Fri, Aug 9, 2013, 8:47 AM
    Hi Felipe
    Unfortunately I can't give access so easily (personal data issues), but I'm happy to look through logs for information and report back smile
    Where do you want me to start / test ?
    Stuart smile
  • Picture of Felipe Carasso
    Fri, Aug 9, 2013, 9:33 AM
    Hey there.

    First of all, double-check that you followed the install instructions bundled with the plug-in. Maybe you missed adding some file.

    After that:

    Log in to your Moodle as an Administrator, then go to Site Settings --> Debugging. There, check that you have your Debug Messages set to at least NORMAL. then, as mentioned on that same page, look for your PHP's error_log configuration.

    If you had to change your Debugging Messages level, redo the full registration process then check the file pointed by your PHP's error_log configuration.

    If you can't find any of that, temporarily enable debug messages to the webpage and redo the full registration process.

    Open an issue on github (https://github.com/hrimhari/moodle-auth_emailadmin) and put all the information you get.

    Best regards,
    Felipe
  • Me at the Moodle Moot NZ11
    Tue, Aug 13, 2013, 7:14 AM
    Thanks Felipe smile
    Well firstly, when I unzipped the download I noticed README and LICENSE both ended with .md (so I changed these to .txt). There are no "install instructions" so I used the standard method of unzipping the file in the auth folder (so no files are missing). Unfortunately I'm on holiday for two weeks now, so will look at this again in September.
  • Picture of Felipe Carasso
    Tue, Aug 13, 2013, 9:22 AM
    Hi Stuart,
    I just checked. The INSTALL is there. Maybe you didn't see it because there's no extension, but it's a text file.
    Best regards,
    Felipe
  • Me at the Moodle Moot NZ11
    Tue, Aug 13, 2013, 11:18 AM
    Thanks Felipe. OK, yes found INSTALL (I unzipped on a Mac and there was no file extension so no association). Now I've read this, I'm going to Purge the Cache, because I DID alter the automated email text, so maybe this is causing the error. Will test, and let you know.
  • Picture of Sue M.
    Sun, Aug 25, 2013, 6:09 AM
    Any plans to update this for Moodle 2.5.x?
  • Picture of Dennis Mix
    Mon, Sep 23, 2013, 1:02 AM
    I cannot get the notification email to admin to work in 2.5
  • Picture of Damien Wendlinger
    Thu, Oct 3, 2013, 12:05 AM
    @Dennis Mix.. I think this plugin is not intended to work (yet) with Moodle 2.5... When accessing the plugin page from my Moodle platform, this plugin has no "download" button, but others have (and they are stamped "Moodle 2.5".)
    I also ask Felipe if any plan for Moodle 2.5 ?
  • Picture of Felipe Carasso
    Thu, Oct 3, 2013, 12:46 AM
    Hi all, as you correctly guessed, this plug-in has not been ported to 2.5 yet.

    It will probably wait until the Moodles that motivated the creation of this plug-in to be upgraded to 2.5. I don't have any date to give regarding that.

    If any of you feel like porting it, let me know.

    Best regards,
    Felipe
  • Picture of Jun Padilla
    Thu, Jun 19, 2014, 11:27 AM
    Hi Felipe,

    The plugin works perfectly at 2.7

    Just want to ask it is possible to add a custom field on the registration?
    Basically I want a field that will allow a student to upload his/her credentials for the Administrator to verify

    Thanks
    jun
  • Picture of Felipe Carasso
    Sat, Jun 21, 2014, 10:14 AM
    Hi Jun,

    I'm not sure I understand your request, but if you're looking for plain text custom fields, I'm pretty sure that Moodle supports that.

    Best regards,
    Felipe
  • Picture of Claudio Bartoloni
    Fri, Jun 27, 2014, 11:59 PM
    Hi I have installed this plugin which will be very useful to me.
    But when a new user register the admin do not receive any email.
    After changing the debug settings I was able to receive the following errors ad registration time.
    generate_email_supportuser is deprecated, please use core_user::get_support_user

    line 4677 of /lib/deprecatedlib.php: call to debugging()
    line 235 of /auth/emailadmin/auth.php: call to generate_email_supportuser()
    line 92 of /auth/emailadmin/auth.php: call to auth_plugin_emailadmin->send_confirmation_email_support()
    line 70 of /login/signup.php: call to auth_plugin_emailadmin->user_signup()

    I noticed that another user posted similar errors in github but no answer.

    Thank you for your attention
1 2
Please login to post comments