Moodle plugins directory: Email-based self-registration with admin confirmation | Moodle.org
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):
================
Compatibility fix for Moodle 3.9
What's new in 1.4.4
================
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)
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)
Contributors
Felipe Carasso (Lead maintainer)
Please login to view contributors details and/or to contact them
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
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!
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
Unfortunately I can't give access so easily (personal data issues), but I'm happy to look through logs for information and report back
Where do you want me to start / test ?
Stuart
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
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.
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