Course enrolment upon approval (enrol apply) plugin for moodle
From Notes_Wiki
Home > CentOS > CentOS 6.x > Web based tools or applications > Moodle configuration > Course enrolment upon approval (enrol apply) plugin for moodle
enrol_apply moodle plugin installation
Login as admin in moodle by providing necessary credentials
- Check the version of the moodle in use by Home -> Site administration -> Server -> Environment
- To install a new plugin go to Home -> Site administration -> Plugins -> Install add-ons
- Click on “Install add-ons from the Moodle plugin directory”
- Browse plugins as guest. From moodle plugin categories go to Users -> Enrolment -> Course Enrolment upon Approval (enrol_apply) and download the plugin zip file
- Go back to Home -> Site administration -> Plugins -> Install add-ons and click on “Choose plugin type”. Choose enrolment. Do chown apache:apache for $MOODLE_HOME/enrol folder. so that necessary permissions for plugin installations are set.
- Click on “Choose a file” you will be directed to a dialog box from which choose upload file
- Click on “Acknowledgement”
- Click on Install add-on from the zip file
- As you pass the validation pass click on “Install add-on!”
- After installation click "Continue"
- Click on Upgrade Moodle database now
- For various values click the check-box or use following sample values in text-boxes
- subject for confirmation
- You have been enrolled in a course
- confirm email content
- You have been enrolled in course {content}
- subject for cancellation
- You enrolment for a course has been rejected
- confirm email content
- You enrolment for {content} course has been rejected
- Enable the course enrol confirmation plugin at Home -> Site administration -> Plugins -> Enrolments -> Manage enrol plugins
- Test the plugin so installed by adding it as an enrolment method for a course
Troubleshooting steps for sending email on moodle:
To enable confirmation and cancellation of enrollment over email do the following:
- Edit the /var/www/html/enrol/apply/lib.php and replace $contact with admin email address such as
- //$contact = core_user::get_support_user(); instance and add appropriate contact for moddle to send email.
- $contact = "saurabh@example.com";
-
- This replacement may be necessary at 4 or more places.
Change email content of email sent after approval
Subject and email content of emails sent by plugin can be customized at Home -> Site administration -> Plugins -> Enrolments -> Course enrol confirmation
Home > CentOS > CentOS 6.x > Web based tools or applications > Moodle configuration > Course enrolment upon approval (enrol apply) plugin for moodle