Enrol Notification
Maintained by
e-ABC Learning
Send notifications to users when any enrolment event is executed
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
The plugin works great and is very useful to us! Do you see a possibility to only select Teachers/Managers to be notified when enrolled into hidden courses? that functionality would be great!
I've tested the plugin on Moodle 4.4 and confirm, so far, that it works properly.
- Use HTML editor in messages
- Fixed: instance enable/disable message.
- Additional course fields, enrollment fields, and user profile fields have been added to the message template.
Tested in moodle 4.x
Saludos
{COURSENAME} = course fullname
{USERNAME} = username
{NOMBRE} = firstname
{APELLIDO} = lastname
{URL} = course url
I found a way to add another user fields by adding some code. Below is example adding "myfield" from User profile fields
1. Find and open file ./moodle_data/enrol/notificationeabc/lib.php
2. Locate to public function "process_mensaje"
3. Replace "global $CFG"; to "global $CFG, $DB;" at the beginning
4. Add 2 strings before "return $m;" and dont forget "profile_field_" prefix if you add additional field from from User profile fields:
profile_load_data($user);
$m = str_replace('{MyField}', $user->profile_field_myfield, $m);
5. Save file
6. Add text with {MyField} to message body at plugin settings
7. That's all.
I am in the United States and language set to English Language, however with this plugin the Subject still uses "enrolment" . I've recently completed a very large course enrollment (>5K people) and some students thought the notice was spam due to the perceived spelling error. This plugin really needs an update to allow the Subject Line to be customized. Aside form that, it works great and thank you.
It is a great plugin. Is it possible to draw records of who the notifications was sent to? Logs or Records?
TIA