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:
1383 sites
406 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
Thanks
I can't help with that as I can't reproduce the problem. The best I can suggest is to ensure the server can send email messages to the concerned users, i.e. using command-line 'mail' from the same OS account that runs Moodle (could be www-data). If Moodle can't send email to a given address, most likely the server and/or the OS account itself can't.
id: 30
auth: emailadmin
confirmed: 0
policyagreed: 0
deleted: 0
suspended: 0
mnethostid: 1
username:
password:
idnumber:
firstname:
lastname:
email:
emailstop:
icq:
skype:
yahoo:
aim:
msn:
phone1:
phone2:
institution:
department:
address:
I just want to display first name, surname, email, password and custom user field only.
One more question, after admin click on the the confirmation link, the notification email should be sent to user, but the user did not received the email, and sometimes it take few hours for user to received the email.
Please help, thanks
For now, you'd need to modify the plug-in's code (auth.php) to have your custom user info available to the message. I'll evaluate the possibility of making that available on the next version.
Intermittent email delivery is not related to this plug-in, but to how Moodle, PHP and email servers in general deal with email messages.
Best regards,
Felipe
I think these are the lines of codes that need modification:
Lines 257:
$data->userdata .= $dataname . ': ' . $datavalue . PHP_EOL;
But, where should i find the list of user data..for example, i need to remove emailstop, icq, skype, yahoo, aim, msn field and etc.
For the intermittent email delivery, can you suggest where should i look to configure so the user email will received instantly after admin approve?
Thank you so much!
Best regards,
Felipe
@Alan: If you use the regular 'email self-registration', does the user get the notification? Maybe you customized the notification and made a mistake?
I am using the latest release of 2.9.4 and an up to date plug in. I have not modified or customized the any code. The registration results page displays over 1200 lines of code to the end user and still does not send a message to the self registering user. The email is going to the site administrator.
(FYI if a single site admin is selected in the pluggin setting the message is going to all)
Based on the logs in the Apache error log, the problem is with the script (Premature end of script headers: confirm.php):
CT-19331-bash-4.1# tail -f /usr/local/apache/logs/error_log
[Wed Jan 13 13:07:47 2016] [error] [client 209.50.226.20] Premature end of script headers: confirm.php
When install new calendar and set it on site administration- appearance- calendar- calendar type
If new user create new account
Automatically In profile set Gregorian for preferred calendar
But calendar type must set to preferred calendar
Please check it
I just released a new version where you can use specific user fields in the notification message. See default notification message for example.
id: 30
auth: emailadmin
confirmed: 0
policyagreed: 0
deleted: 0
suspended: 0
mnethostid: 1
username:
password:
idnumber:
firstname:
lastname:
email:
emailstop:
icq:
skype:
yahoo:
aim:
msn:
phone1:
phone2:
institution:
department:
address:
I just want to display first name, surname, email, password and custom user field only.