Maintained by Picture of Felipe CarassoFelipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.
901 sites
1k downloads
75 fans

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)


Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Show comments
  • Picture of Felipe Carasso
    Wed, Jun 26, 2019, 10:25 AM
    @Nothy Wu, you shouldn't do that. Doing it should break the possibility of having the admin confirm the user by clicking the link from the email. See https://docs.moodle.org/dev/Authentication_plugins#can_confirm.28.29

    Best regards,
    Felipe
  • Picture of Nothy Wu
    Wed, Jul 3, 2019, 7:30 AM
    @Felipe Carasso Thanks for your information. Other than change this function, is there any other solution to stop auto confirm user? I'm new to Moodle, so please correct me if I'm wrong. smile
    In my setting, if I return false in can_confirm(), link doesn't work but in Site Administration->User works.
    Regards,
    Nothy
  • Picture of Felipe Carasso
    Thu, Jul 4, 2019, 2:09 AM
    @Nothy Wu I can't reproduce your problem. When I request a new account with this plug-in, the account remains "unconfirmed". If I list it under Administration -> Users, I see a link to confirm it. If I try to login using the unconfirmed account, Moodle tells me so and logs me in as Guest.
  • Picture of Felipe Carasso
    Fri, Jul 5, 2019, 7:48 AM
    @Nothy Wu I managed to reproduce the issue. I think that my phone is trying the link out to confirm it's a link and that Moodle doesn't check if there's a valid session before executing it. I'll look into it.
  • Picture of Rob Woof
    Fri, Jul 5, 2019, 9:58 AM
    I'm finding it working well in 3.6.4+. I have added some additional user fields, and these are showing up on the user account request form OK. How do I add them to the email to administrators? The idea is to allow prospective users to give more info than just their name and contact details to allow admins to decide whether or not to approve.
  • Picture of Felipe Carasso
    Fri, Jul 5, 2019, 10:35 AM
    @Rob Woof, the original message contains examples on how to see user fields. Check it out.

    @Shaun Sant, @Nothy Wu, version 1.4.2 should solve the issue.
  • Picture of Rob Woof
    Mon, Jul 8, 2019, 1:50 PM
    Thanks, @Felipe Carasso! The examples are very helpful. However, the fields I am concerned about are *additional* user fields, set up in the "Other fields" section of Site Administration->Users->Accounts->User profile fields (https://you_moodle_address.com/user/profile/index.php). I tried putting their 'shortname' in the email template using the form {$a->fieldshortname}, but without success. Is there a format I can use to access these fields?
  • Picture of Felipe Carasso
    Tue, Jul 9, 2019, 4:18 PM
    @Rob Woof, these fields are what the message calls 'custom fields'. You can't just pick one of those. You either add them all to the message, or you don't.
  • Picture of Felipe Carasso
    Tue, Jul 9, 2019, 4:19 PM
    Hi all, I released 1.4.3 with many fixes and some enhancement. Check out the description.

    Best regards,
    Felipe
  • Picture of Rob Woof
    Wed, Jul 10, 2019, 8:46 AM
    Aaah yes! I missed that bit. I should have read the text more thoroughly. I do want all of the custom fields, so I'm in business! Thanks for your patience!
  • Picture of Arkadiusz Malkowski
    Tue, Jul 23, 2019, 11:17 PM
    Hi,

    I found a problem in 1.4.3.

    Settings "Enable reCAPTCHA element" and "Notification strategy" do not work.

    It does not work because of plugin refers to database, table config_plugins and looking plugin name auth/emailadmin and not auth_emailadmin
  • Picture of Felipe Carasso
    Wed, Jul 24, 2019, 5:13 AM
    Hi Arkadiusz, thank you for the heads up. Would you mind to create an issue on Github if not already done? I'll look into it.

    Thank you,
    Felipe
  • Picture of Felipe Carasso
    Wed, Jul 24, 2019, 1:37 PM
    New version available with the Captcha fix.
  • Picture of Mahendra Kumar
    Sat, Oct 5, 2019, 12:23 AM
    I have install this plugin. But I want edit to message of confirmation email. Please suggest How I can edit to this message step by step.

    "Welcome to (My Organization)! Your account has been approved. If you have not already done so, please tell us how you discovered (My Organization)............."
  • Picture of Felipe Carasso
    Mon, Oct 7, 2019, 2:02 AM
    Hi Mahedra, the answer to your question is in the INSTALL file and in previous messages. I'll soon add the information to the notification messages themselves to try to improve the chances of avoiding this recurring question in the future.

    Felipe
1 2 3 4 5 6 7 8 9 10 11
Please login to post comments