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
411 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

  • Peter Chikubula
    Thu, 18 Jan 2018, 5:21 PM
    Hai team once i confirm a user to my moodle Email-based self-registration with admin confirmation, they receive a customised moodle message which i want to change to my own. please advise were i can change the message. my users recieve this message,

    Hello Peter Chikubula,

    Welcome to (My Organization)! Your account has been approved. If you have not already done so, please tell us how you discovered (My Organization).

    For student accounts, please let us know the project you would like to participate in and we will create your teacher account. The information for creating student accounts is at http://www.my.org/student-accounts here.

    The first name needs to be the students "first name" and "first initial of the last name." The students last name will be the school name. Passwords need to be at least 8 characters long.

    We're delighted you have joined us and hope to see you and your students participating in some of our projects. You are now a member of a rapidly growing community of educators and students using (My Organization) to share projects, work and knowledge. If you ever need help don't hesitate to write to us at myorg@gmail.com here. We'll try to address any questions, comments or concerns you may have regarding the (My Organization) with Google Resources, Services and Tools. Check out our web pages at http://www.my.org here
    * * *

    What is (My Organization)?

    (My Organization) is an easy-to-use, Internet-based collaborative environment that enables educators to develop and manage Web-based curricular projects, share information, and work together on an international level. (My Organization) provides a variety of Google tools and gadgets including integrated messaging, conferencing, and calendars, to support collaboration among teachers and students within (My Organization).

    (My Organization) welcomes your projects and is looking forward to sharing a rich variety of projects and activities with your participating students. When you login, list of popular categories appears. Click on one of the categories to browse the projects specified by it. As you browse through these projects (click on the titles), they may help you generate an idea or two for you to use in developing a project of your own in (My Organization) or they may help you to identify projects in which
    you may like to collaborate with other teachers and their students.

    * * *

    Because (My Organization) is project driven and run by volunteers, we would like you to consider creating a project in (My Organization) or volunteering to help with one. If you decide you would like to create a project or volunteer to help or support other projects, please email us at myorg@gmail.com here. (My Organization) leaders and volunteers are here to support your needs.

    Remember, online support for all (My Organization) participants is provided by (My Organization) volunteers. Please take what you learn from us and help other teachers learn too! We look forward to working with you and seeing your new projects!


    Thank you,

    My Name, Director


  • Aaron Johnson
    Wed, 31 Jan 2018, 5:10 PM
    Dear Peter,

    The text of the email can be changed in the language customization: Site Administration > Language > Language Customization. Then open the language pack you are using. You can find all the strings for this plug-in under auth_emailadmin.php or search for the string auth_emailadminuserconfirmation.

    Regards,
    Aaron
  • Aaron Johnson
    Wed, 31 Jan 2018, 5:39 PM
    Dear Felipe,

    I actually had a question related to this same feature. As I said in my post above, I've customized the text of the confirmation email, but I am also using multiple languages. I've customized this text in both languages, but the email is sent in the language of my admin account not what the person registering was using.

    For example, a student signs up for an account in German, but the admin uses Moodle in English. The admin gets an email (it seems like this is always the English version too, but a less critical point) and clicks on the link to confirm the account. The student gets a confirmation email in English.

    Would it be possible for the confirmation link to include information about the student's language setting, so that the email sent is the same language?

    Thanks,
    Aaron
  • Felipe Carasso
    Tue, 6 Feb 2018, 1:41 AM
    Hello all,

    I'm adding Moodle 3.4 to the list of supported versions on a leap of faith. I didn't have the opportunity to upgrade my Moodles yet to confirm that it works as expected, but considering that this is a minor version upgrade, there shouldn't be any breaking changes.

    Let me know if you see anything unexpected.

    Thank you,
    Felipe
  • Felipe Carasso
    Tue, 6 Feb 2018, 1:44 AM
    Hello Aaron,

    The latest version takes the language preferences of the recipient when sending a notification.

    The behavior you describe makes me believe that your translations were not rendered available to users.

    Maybe a 'clean cache' could help...

    If not, check out the logs around the sending of a message to see if there's anything unusual. If there is, feel free to communicate directly with me through my email address. You'll find it in the README.

    Best regards,
    Felipe
  • PDM Produce
    Wed, 2 May 2018, 7:02 PM
    Hello - Just put this onto our Moodle 3.4.2 (Build: 20180319) site and it's working well - APART from when a user clicks on the create account button, the form submits and we get a "500 - Internal server error.

    There is a problem with the resource you are looking for, and it cannot be displayed." error.

    The emails are sending and the accounts authenticating but I can't work out what is causing the error.

    Has anyone encountered this before?
  • Felipe Carasso
    Sat, 5 May 2018, 11:05 AM
    @PDM produce: are you running on a language other than English by any chance?
  • Michael Milette
    Tue, 10 July 2018, 6:49 AM
    Has anyone try this with Moodle 3.5?
  • Henry Patz
    Fri, 3 Aug 2018, 2:35 PM
    We just updated to moodle 3.5.1+ The auth_emailadmin works.
    BUT: It does not work with (extra) profilfields as we used for ages to specify the class/group, where new users are to registrate. The selfregistration shows the categorie for the (in our case dropdown) additional user-profilfield. The field is not there... And: Because it was a needed field, the registration failed without a visible error... Thanks for helping ...
  • Felipe Carasso
    Fri, 3 Aug 2018, 7:32 PM
    Hi Henry,

    I'll look into it this weekend.

    Thank you,
    Felipe
  • Felipe Carasso
    Sun, 5 Aug 2018, 2:35 PM
    Hi Henry Paz,

    I tried it out and what I found was that the user profile field has to be configured to "Display on registration".

    I added such a field (checkbox) on my Moodle 3.5.1. It showed on the registration form. If I didn't check it, the form was not submitted.

    Let me know if there's anything else I can do to help.

    Best regards,
    Felipe
  • Henry Patz
    Sun, 5 Aug 2018, 5:06 PM
    Hello Felipe, thanks for checking and trying,
    it is -for ages and I just checked again- of course configured to "Display on registration"...
    What I realised: It does not work in the core's auth_email-plugin...
    Henry
  • Andreas Klimm
    Thu, 13 Sept 2018, 8:45 PM
    Hello Felipe,
    we have the same problem with the (extra) profile-fields we created for our students... they are not shown on the registration page even though we enabled it.
  • Abubakar Islam
    Wed, 6 Feb 2019, 1:34 PM
    applied to moodle 3.6 and the email is receiving to users than admins. please fix.
  • SVI eSolutions
    Thu, 7 Feb 2019, 12:32 AM
    Hi there, I just installed your plugin and I was wondering how and admin could refuse the user ou account creation...
Please login to post comments