Moodle Plugins directory: Invitation | Moodle.org

Invitation
Enrolment ::: enrol_invitation
Maintained by
Michael Milette
The Invitation Enrolment Moodle Plugin is a powerful tool for course instructors that simplifies the enrolment process by allowing instructors to send personalized email invitations with a unique token. This plugin offers control over who can use the invitation, tracks past invitations, and allows for resending or revoking invitations. It also supports inviting users even if they are not yet registered on your Moodle LMS site and limiting the lifespan of the invitation.
Latest release:
784 sites
432 downloads
77 fans
Current versions available: 2
Invitation Enrolment Moodle Plugin
The Invitation enrollment plug-in for Moodle LMS allows instructors to invite students to their course and site, and grant necessary access and role to them. The invitation is sent via email and contains a link with an unique, one-time use invitation token.
When the user clicks on the link and logs into the site, (s)he is automatically enrolled into the course and the invitation link is marked as used.
Features
The benefits of using this plug-in over an enrollment key are:
- You can control who can use the invitation.
- You can include a personalized message in the invitation.
- You can see a history of past invitations and their status.
- You can also see who used an invitation or which ones are expired.
- You can resend expired invitations or send reminder invitations.
- You can revoke the invitation if has not yet been accepted.
- You can invite users who do not yet have an account. However, they will need to create an account before they can accept the invitation.
- You can limit invitations to users with existing accounts.
- You can limit the lifespan of the invitation (e.g. 2 weeks)
Support
Invitation enrolment is a contributed plugin. You are welcome to submit Pull Requests on Github and to report issues. However, free support is not guaranteed.
Installation
See README.md for information on how to install and configure the plugin.
Useful links
Contributors
Michael Milette (Lead maintainer)
Jérôme Mouneyrac: Original maintainer
Please login to view contributors details and/or to contact them
we have the problem that more than 50% of the invited participants do not receive the emails.
It seems that most of the problems occur with Gmail recipients - but also some others.
Has anyone (had) the same problem?
I would appreciate any advice.
I've successfuly installed plugin, added it to test course, sent invite to non registered test email, received this email and followed invite link (clicked Accept invitation button). But after it i see standart login page where i should input login and password. Can you tell, what configs I missed? Or may be you can tell the direction where i should check logs or smth else?
If you are not seeing the option on the login page to create a new account, that option may need to be enabled on your site.
There is a way for sure. Just make your course available to guests and have them automatically login as guest. This functionality is all built into Moodle.
Then simply email them a link to the course. They won't need to login at all and no extra plugins required.
This will have some limitations though. Since they won't have an account, there will be no way to track their course progress or completion. Some activities, like a quiz require you to be logged in so those won't work either.
Hope you find this helpful.
Best regards,
Michael
How can a user immediately add a group?
It is hard to guess at why the user did not receive the email. You might want to take a look at an article that I wrote last month on the subject. See https://www.elearningworld.org/moodle-lms-email-deliverability-in-2024-best-practices-authentication-standards-and-troubleshooting/
You can also contact me directly for premium support.
Best regards,
Michael
Is there anyway that this plugin could be used at site level to invite for registration? Would some changes to the plugin be helpful in this case?
Thanks a lot,
Why not just email them a link to the site or to the site registration page? I am not clear on where you are going with your idea. Could you elaborate?
Best regards,
Michael
ULTRA MISLEADING
"It also supports inviting users even if they are not yet registered on your Moodle LMS site and limiting the lifespan of the invitation."
For those considering this plugin, out of the box it only sends invite emails to users already registered in moodle.
NO REGISTERED EMAIL = NO INVITE EMAIL SEND
1. Documentation does not provide any information on how this plug supports inviting users even if they are not registered. So why claim
"You can invite users who do not yet have an account. However, they will need to create an account before they can accept the invitation."
Either this worked on other versions, or explain yourself please.
Thank you for sharing your concerns. However, the Invitation plugin has been widely used across over 600 Moodle LMS sites around the world on 15 different major releases of Moodle LMS since it was first created 13 years ago, and it's unlikely that this issue would have gone unnoticed. If you have questions or need clarification, please feel free to ask for help. Let's maintain a respectful conversation. Please refrain from making unfounded claims to avoid unnecessary misunderstandings. If the discussion becomes unproductive, I will involve the moderator.
Thank you for your understanding.
Michael Milette
I am sorry, I seem to have missed your comment no 83079 dated Fri, Mar 29, 2024.
The purpose is to use it for users to register on the site without being enrolled in courses, just the registration with key.
The base idea was to allow 2 registration forms, one is based on the domain of the email, which is easy to set in Moodle while the other is based on invitation by any user who has the domain based email registration, I thought to substitute this with just a form with a key.
I hope this provides a clear idea. So the question, is there anything easy to change to make the invitation work for registration at site level?
Thanks a lot,
Registration (authentication) at a site level would be a completely different plugin type. You would need an Authentication plugin. Enrolment plugins only allow you to enrol in courses, not create and authencate users on a site. There might be some parts of the code which could be reused but unfortunately most of it would need to be different.
If you already know who you will need an account for on the site, why not just create the users?
Whether you enter it or the user does, users will need to have an account on the Moodle site which includes their first name, last name and email address. If you think about it, how could Moodle track a user's progress if it doesn't know who they are?
If you don't need to track user progress, do quizzes, complete feedback forms and activities like that, you could make a course open to guest account and enable automatic login so that it would be completely transparent to them.
Another approach is to find a plugin that lets you create tokens. This can be useful if you need to sell or otherwise allocate a specific number of seats to an organization before the users have been identified. As you assign a token, you enter the required infornation and the user is sent an email that includes a link to log in. Here is an authentication plugin that may be of interest to you:
Enrolment key based self-registration
https://moodle.org/plugins/auth_enrolkey
Hope you find this information helpful.
Best regards,
Michael Milette