Maintained by Picture of Felipe CarassoFelipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.
1324 sites
94 fans
Current versions available: 5

Please read the INSTALL file carefully

Moodle plugin to provide email self-registration with admin 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.

Email body needs to be customized within the language file.

Based on default email-based self-registration module.

What's new in 1.4.4

fix(ISSUE-29): repairs config reference for Captcha after Settings API migration

What's new in 1.4.3
fix(ISSUE-17): repairs lock user fields, db update
feat(ISSUE-18): adds support for notifying users with user update capability
fix(ISSUE-21): updates config to use settings api
fix(ISSUE-25): makes use of lib function to gather profile fields

What's new in 1.4.2
fix(ISSUE-26): adds login and capability check to confirm.php (fixes phantom user-confirm)


Screenshot #0
Screenshot #1


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

Comments RSS


  • Anthony Borrow
    Sat, Apr 6, 2013, 7:31 AM
    Thanks Felipe - I will take a look and see - we will probably want to put on the documentation page how to customize the language strings so that folks can change the text of the things regarding their organization without feeling that they have to change it in the code or on the server. Peace - Anthony
  • Anthony Borrow
    Wed, Apr 10, 2013, 12:23 PM
    Felipe - Thanks for your work at helping to fix up the various details. I have installed and done simple testing and things seem to work OK. For some reason when I created a new account it seemed to hang but that could be because how I have email setup. In any case, if others have issues they can let you know. Peace - Anthony
  • Anthony Borrow
    Wed, Apr 10, 2013, 12:26 PM
    p.s. - You may want to create a Moodle Docs page or setup a wiki on 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,
  • 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 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,
  • 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 ( and put all the information you get.

    Best regards,
  • 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.
Please login to post comments