Moodle Plugins directory: Restriction by course completion | Moodle.org
Restriction by course completion
Availability restriction ::: availability_coursecompleted
Maintained by
Renaat Debleu
Restrict module and section access based on course completion.
Latest release:
3017 sites
3k downloads
119 fans
Current versions available: 12
This availability condition makes it easy to show modules or sections only when a user completed a course. A course certificate is a good sample, but it can also be used to close discussion forums, hide quizzes or exams when a user finished a course.
Course completion is something else than doing all activities, read the docs on using course completion first! Also check the global documentation about conditional availability conditions.
Installation:
- Unpack the zip file into the availability/condition/ directory. A new directory will be created called coursecompleted.
- Go to Site administration > Notifications to complete the plugin installation.
Troubleshooting:
- Goto "Administration" > "Advanced features", and ensure that "Enable completion tracking" is set to yes.
- Make sure "Enable completion tracking" is set to "yes" in the course settings.
- Goto "Administration" > "Course administration" > "Course completion", and configure the the conditions required for course completion. Note: you must set some conditions, you cannot just set the "completion requirements" option at the top. Save.
- Goto "Administration" > "Course adminiatration". Make sure you can now "Course completion" listed under "reports". If you cannot see this report, then course completion has not been set correctly.
- Start restricting
Warning
This plugin is 100% open source and has NOT been tested in Moodle Workplace, Totara, or any other proprietary software system. As long as the latter do not reward plugin developers, you can use this plugin only in 100% open source environments.
Contributors
Renaat Debleu (Lead maintainer)
Please login to view contributors details and/or to contact them
I have 2 Course A and B Student Already Enroll Both course I need B course or B Course activity only access student must complete A course how to achieve this thing ? any Idea please help me
this plugin only restricts access to activities upon completion of this course. If you want to enrol a student when they complete a course, you can use the https://moodle.org/plugins/enrol_coursecompleted plugin.
Course A: configure course completion
Course B: add enrolment upon completion of course A
=> When a student completes course A, he/she is enrolled into course B
I can't get this plugin to work..
If I add the restriction "Course completed", I only get to choose "Yes" og "No".. There is no box to choose which course I want the student to have passed..
I have moodle version 3.8
this plugin restricts access until or after THIS course is completed. If you want to restrict access upon another course, you will need another plugin: restrict access upon other course completion.
R
exceçao - class availability completion/condition not found
Sorry my Portuguese in non existing.
You have an problem with the availability_completion plugin, not with this this plugin (we use availability_coursecompletion)
What to do?
- undo the changes you made to the availability_completion plugin
- check if other availability plugins depend on the availability_pluin are up to date
R
3.11---> 4.1
Exception : Class '\availability_coursecompleted\frontend' not found
cheers
Daniel
THX for the problem report. Can you report a complete error report in the tracker (https://github.com/ewallah/moodle-availability_coursecompleted/issues). I'm particularly interested in your PHP version.
Because the exception starts with a \ this is an auto load problem that should go away after you purge your caches.
Can you confirm?
R
Is this correct, or am I missing a way to do this? Thanks
You are correct. with this plugin you can only restrict access to modules and sections.
If you want to give access to a course, you need an enrol plugin: moodle-enrol_coursecompleted will do this job for you.
We'd like to do one other thing when the course is marked "Complete": put a mark in the gradebook to show a "Pass" for the student. Your documentation indicates that you can do other things by using this course-completion-restriction plugin ("close discussion forums, hide quizes or exams when a user finished a course"), but I can't see any examples for those. Do you know how we could set a grade in a gradebook?
Sorry, this plugin cannot give grades, Moodle would simply not know where the grade was coming from. Because only activities can generate a grade, you'll need a module (lesson/quiz/workshop/...) to do the job. Perhaps the most simple way would be to add a quiz where students always pass?
R
This way your gradebook, availability restrictions, groups and groupings, course completions, ... will continue to work fine.