Select Moodle version:

Authentication: Email-based self-registration with admin confirmation

auth_emailadmin
Provides email-based self-registration with admin confirmation instead of user confirmation.
Maintained by: Picture of Felipe Carasso Felipe Carasso
for Moodle
2.3, 2.4

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
  • Capt. Moodle
    Wed, Apr 10, 2013, 12:26 PM
    p.s. - You may want to create a Moodle Docs page or setup a wiki on Github.com for documentation
  • Picture of Vincent Chun
    Thu, Jun 20, 2013, 5:47 PM
    Hi Felipe, tried out your plugin but noticing that the email confirmations don't seem to be getting sent to the user? Wondering if you'd have any idea?
  • Picture of Felipe Carasso
    Thu, Jun 20, 2013, 10:42 PM
    Hi Vincent,

    I can propose the following to diagnose your problem:

    1- Check that your Moodle is able to send other email messages, like with the regular Email-based registration.
    2- If the email not being sent is to the Admin user, check that your Admin user has a valid email address configured. Note that my plug-in will only send the admin email to the "main" admin, meaning the one specified in the Moodle config.php file.
    3- Check for errors in your logs. Optionally, enable error display to the browser so that you can try it out and see what errors might appear.

    Hope that helps,
    Felipe
  • 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
1 2
Please login to post comments