1 |
efrain |
1 |
# Availability coursecompleted
|
|
|
2 |
|
|
|
3 |
Restrict module and section access based on course completion.
|
|
|
4 |
|
|
|
5 |
## Idea
|
|
|
6 |
|
|
|
7 |
This availability condition makes it easy to show modules or sections only when a user
|
|
|
8 |
completed a course. A course certificate is a good sample, but it can also be used to close
|
|
|
9 |
discussion forums, hide quizes or exams when a user finished a course.
|
|
|
10 |
|
|
|
11 |
## Conditional availability conditions
|
|
|
12 |
|
|
|
13 |
Check the global documentation about conditional availability conditions: https://docs.moodle.org/en/Conditional_activities_settings
|
|
|
14 |
|
|
|
15 |
## Installation:
|
|
|
16 |
|
|
|
17 |
1. Unpack the zip file into the availability/condition/ directory. A new directory will be created called coursecompleted.
|
|
|
18 |
2. Go to Site administration > Notifications to complete the plugin installation.
|
|
|
19 |
|
|
|
20 |
## Requirements
|
|
|
21 |
|
|
|
22 |
This plugin requires Moodle 3.11+
|
|
|
23 |
|
|
|
24 |
## Troubleshooting
|
|
|
25 |
|
|
|
26 |
1. Goto "Administration" > "Advanced features", and ensure that "Enable completion tracking" is set to yes.
|
|
|
27 |
2. Make sure "Enable completion tracking" is set to "yes" in the course settings.
|
|
|
28 |
3. 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.
|
|
|
29 |
4. Goto "Administration" > "Course administration". Make sure you can now "Course completion" listed under "reports". If you cannot see this report then course completion has not been set correctly.
|
|
|
30 |
5. Start restricting
|
|
|
31 |
|
|
|
32 |
## Theme support
|
|
|
33 |
|
|
|
34 |
This plugin is developed and tested on Moodle Core's Boost theme and Boost child themes, including Moodle Core's Classic theme.
|
|
|
35 |
|
|
|
36 |
## Plugin repositories
|
|
|
37 |
|
|
|
38 |
This plugin will be published and regularly updated on Github: https://github.com/ewallah/moodle-availability_coursecompleted
|
|
|
39 |
|
|
|
40 |
## Bug and problem reports / Support requests
|
|
|
41 |
|
|
|
42 |
This plugin is carefully developed and thoroughly tested, but bugs and problems can always appear.
|
|
|
43 |
Please report bugs and problems on Github: https://github.com/ewallah/moodle-availability_coursecompleted/issues
|
|
|
44 |
We will do our best to solve your problems, but please note that due to limited resources we can't always provide per-case support.
|
|
|
45 |
|
|
|
46 |
## Feature proposals
|
|
|
47 |
|
|
|
48 |
Please issue feature proposals on Github: https://github.com/ewallah/moodle-availability_coursecompleted/issues
|
|
|
49 |
Please create pull requests on Github: https://github.com/ewallah/moodle-availability_coursecompleted/pulls
|
|
|
50 |
We are always interested to read about your feature proposals or even get a pull request from you, but please accept that we can handle your issues only as feature proposals and not as feature requests.
|
|
|
51 |
|
|
|
52 |
## Moodle release support
|
|
|
53 |
|
|
|
54 |
This plugin is maintained for the latest major releases of Moodle.
|
|
|
55 |
|
|
|
56 |
## Status
|
|
|
57 |
|
|
|
58 |
[](https://github.com/ewallah/moodle-availability_coursecompleted/actions)
|
|
|
59 |
[](https://coveralls.io/github/ewallah/moodle-availability_coursecompleted?branch=main)
|
|
|
60 |
|
|
|
61 |
## Copyright
|
|
|
62 |
|
|
|
63 |
2023 eWallah.net
|
|
|
64 |
|
|
|
65 |
This program is free software: you can redistribute it and/or modify it under
|
|
|
66 |
the terms of the GNU General Public License as published by the Free Software
|
|
|
67 |
Foundation, either version 3 of the License, or (at your option) any later
|
|
|
68 |
version.
|
|
|
69 |
|
|
|
70 |
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
71 |
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
72 |
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
73 |
|
|
|
74 |
You should have received a copy of the GNU General Public License along with
|
|
|
75 |
this program. If not, see <https://www.gnu.org/licenses/>.
|