Email-based self-registration with admin confirmation

Authentication ::: auth_emailadmin
Maintained by Felipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.
Latest release:
1301 sites
372 downloads
124 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.6
================
Issues fixed (thanks to KerstinSc, deds:, gmrsagar for their contributions):

ISSUE-50: Proper escaping of single qutoes in lang file,

ISSUE-45: User can login without admin's intervention (using Re-send confirmation button),

ISSUE-42: Privacy provider test failing,

ISSUE-38: Confirmation message to the admin gives randomly wrong user name.

What's new in 1.4.5
================
Compatibility fix for Moodle 3.9

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)


Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Comments

  • Anthony Borrow
    Sat, 6 Apr 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, 10 Apr 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, 10 Apr 2013, 12:26 PM
    p.s. - You may want to create a Moodle Docs page or setup a wiki on Github.com for documentation
  • Vincent Chun
    Thu, 20 June 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?
  • Felipe Carasso
    Thu, 20 June 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
  • Vincent Chun
    Sun, 7 July 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, 28 July 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
  • Felipe Carasso
    Wed, 31 July 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, 9 Aug 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
  • Felipe Carasso
    Fri, 9 Aug 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, 13 Aug 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.
  • Felipe Carasso
    Tue, 13 Aug 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, 13 Aug 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.
Please login to post comments