Your Moodle version

Authentication: Email-based self-registration with admin confirmation

auth_emailadmin
Maintained by Picture of Felipe Carasso Felipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.
2k
7
Moodle 2.3, 2.4, 2.5, 2.6, 2.7

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.

Note that the admin must use the confirmation link in the email for the user to receive the automatic notification. Approving the account from the user admin interface does not trigger it.

Email body is customizable within the language file.

Based on default email-based self-registration module.

You can customize the e-mail messages by editing the language file or using Moodle's language editor.

Screenshots

Screenshot
Screenshot

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 Gianinazzi Giorgio
    Sat, Nov 1, 2014, 8:24 AM
    Hola Felipe....i noticed that i get a Confirm in the add user environment....so i can confirm manually but of course i love the idea of receiving the email message......should i change the setting in add user as well? thanks ciao Giorgio
  • Picture of Felipe Carasso
    Mon, Nov 3, 2014, 9:19 AM
    Gianinazzi, it sounds like your Moodle can't send the email to the admin.

    if you use the default "self-registration" plugin (the one that sends the confirmation to the user instead of admin), do you get the email?

    Is your admin account setup with a proper email address?

    Hope that helps.
    Felipe
  • Picture of Michel DENIS
    Mon, Dec 8, 2014, 1:25 AM
    Hello,

    Your plugin is great.
    A question: how can we add an additional profile field to the few ones required in the form that are sent to the admin for approval ?
    Thanks -- michel
  • Picture of yasin yılmaz
    Mon, Dec 8, 2014, 6:20 PM
    Eklenti "auth_emailadmin" yanlış yere yüklendi "$CFG->dirroot/mod/emailadmin", yüklenmesi gereken yer "$CFG->dirroot/auth/emailadmin"

    Debug info:
    Error code: detectedmisplacedplugin
    Stack trace:
    line 608 of /lib/upgradelib.php: plugin_misplaced_exception thrown
    line 420 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1615 of /lib/upgradelib.php: call to upgrade_plugins()
    line 434 of /admin/index.php: call to upgrade_noncore()


    hi i wrote in turkish.
    i am from turkei.
    how can i edit this?
  • Picture of Kirill Astashov
    Tue, Dec 30, 2014, 7:49 PM
    Hi Felipe,

    I've added a new feature to the plugin which allows admins to define who will receive confirmation emails.

    - Added a new capability "auth/emailadmin:receiveemails" in the system context,

    - Added a new selector in config.html to define who will receive emails, with the following options:
    1. All site admins,
    2. Only the first site admin,
    3. Users with the "auth/emailadmin:receiveemails".

    - Added code to support the new setting and select users accordingly.

    The behaviour of the updated plugin is backward compatible with that of the current version.
    I'm intending to issue a pull request to add this functionality to the plugin on a permanent basis.
    Please confirm if it makes sense.
  • Picture of Felipe Carasso
    Wed, Dec 31, 2014, 12:06 AM
    Hey Kirill! It makes total sense. I don't have the need myself, but I'm sure it can be useful. Go right ahead and when you're ready I'll review it and update it in the main Moodle site.

    Best regards,
    Felipe
  • Picture of Michel DENIS
    Mon, Jan 5, 2015, 6:03 PM
    Hi Felipe,

    Happy New Year !

    I have an issue common to emailadmin as well as to the base autoregistration : it relates to the approval screen for the site policy :

    When using manual account creation and connecting, the site policy page (a standard html file) comes well and nice, ie with the theme's template dress and so on (ie integrated with Moodle). But with emailadmin and base autoregistration, the site policy comes as a base html doc, ie without the theme's template banners and so on. Of course I cannot put that doc within Moodle because at that time the user has not yet access to Moodle ...

    I tried to remedy to that and created a Moodle "static page" (using the plugin) for the site policy. This time, it comes nicely dressed using emailadmin and base autoregistration, but when used with manual account creation there are "cascading" windows, ie 2 times the theme's template banners and so on.

    What do you think ? Isn't it possible for me to patch the emailadmin code so that it goes to "another document" even with fixed name and location (instead of picking up the standard sitepolicy name & place) ?

    Thanks in advance,
    -michel
  • Picture of Michael Burnett
    Thu, Feb 5, 2015, 8:53 AM
    Will the current version work on moodle 2.8?
  • Picture of Michel DENIS
    Thu, Feb 5, 2015, 3:14 PM
    Yes Michael, it works well with 2.8 (I run it OK with a 2.8.1)
    -michel
  • Picture of Paul Burgo
    Thu, Feb 12, 2015, 1:32 AM
    One of my admins inadvertently installed this in a moodle 2.8 installation. Not sure how it passed validation. When I go to manage authentication there is not an uninstall link.

    Can I delete the folder from the server to uninstall?
  • Picture of Felipe Carasso
    Thu, Feb 12, 2015, 9:19 AM
    I guess that being able to uninstall is not a mandatory feature...

    Deleting the directory would render it unusable, but would not completely uninstall because there are some settings in the database.

    You can always disable it in Manage Authentication.
  • Picture of Zeid Fanous
    Sat, Feb 21, 2015, 3:16 AM
    Great plugin,,,,thanks felipe smile
  • Picture of Lars Anderson
    Mon, Mar 23, 2015, 8:29 PM
    Hi Felipe

    Any chances that Kirill Astashov's patch for setting who to email is going in to the plugin soon? It would be very useful for us. smile
  • Picture of Felipe Carasso
    Tue, Mar 24, 2015, 6:52 PM
    I never saw the patch... But I'all consider adding that feature when I get a chance
  • Picture of Aisha Abdul Rahman Wells
    Sat, Apr 18, 2015, 1:44 PM
    I am able to create usernames and logins, however the email confirmation never comes to the inbox. sad
1 2 3
Please login to post comments