Restriction by other course completion

Availability restriction ::: availability_othercompleted
Maintained by Sam Suresh
This plugin allows restricting access of activities and resources in your course based on other course completion status.
Latest release:
1662 sites
468 downloads
43 fans
Current versions available: 3

Now you can restrict your course activities and resources by the completion status of other courses. 

For example:

You have 2 courses

  • Course 1
  • Course 2

You want your students to complete Course 1 before accessing Course 2's first content.
Open Course 2's first content and restrict access by the setting the requirement of Course 1 Completed. Of course, you need to set Course Completion for Course 1 in the first place. 

How to use?

1. Install the plugins from Moodle

2. Open any activity or resource that you want to restrict. Click add restriction and choose Other course completion.

3. Choose which course you want the user to complete before being able to open this content. 

Screenshots

Screenshot #0

Contributors

Sam Suresh (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Tampilkan komentar
  • Yamna Ettarres
    Sel, 15 Nov 2022, 08:46
    Hi, The following message is displayed for users who didn't completed the second course, including teachers
    Notice: Trying to get property 'id' of non-object in /var/www/html/MOODLESITE/availability/condition/othercompleted/classes/condition.php on line 91
  • Kushan Rathnasekara
    Kam, 13 Apr 2023, 15:29
    Dear All , Any possibility to apply the same in an event of an activity completion of other course, instead of completing the entire other course?
  • Wynand Louw
    Sab, 29 Apr 2023, 22:35
    Is this compatible with Moodle 4.2?
  • Gurkan Cil
    Sab, 6 Mei 2023, 15:29
    Hi @Kushan Rathnasekara, I need this function as well.

    Access to an activity in one course will be provided if an activity is completed in another course!

    @Sam Suresh, if you can do this that would be really great!
  • James Peter
    Rab, 16 Agu 2023, 20:16
    Hi,
    how to restrict in course level, not activity level
    So user doesn't want to enroll to this course with out completing the other course
  • Jeff Shrek
    Rab, 30 Agu 2023, 11:04
    There is an issue where, as admin role, I see "Not available unless: You have completed MY CLASS NAME", but student roles see "Not available unless: You have completed {$a}"
  • Jeff Shrek
    Rab, 30 Agu 2023, 12:23
    If course completion is set to be when a Quiz has been PASSED, then when the user passes the quiz, it will successfully unlock the next course.
    However if the Quiz is failed, and then you manually adjust the user to passed grade (so the activity shows as complete), this plugin will not unlock the next course.
    So when the user actually passes the quiz themselves (which marks the activity as complete) then this plugin works.
    But if the teacher manually changes their grade from a fail to a pass (which also marks the activity as complete) then the plugin does not work as expected (bug).
  • Jeff Shrek
    Rab, 30 Agu 2023, 13:09
    Ok so my above report about it not working when the quiz grade is manually changed from fail to pass, is incorrect ... it DOES work, BUT it seems to take 2 or 3 runs of the cron before it is succesfully recorded. I have my cron set to run every 5 minutes, and it takes it 10 to 15 minutes to unlock after manually adjusting the grade.
  • Dima Akater
    Rab, 1 Nov 2023, 20:42
    > Open Course 2's first content and restrict access by the setting the requirement of Course 1 Completed.

    It is not clear to me how to do that. In the Restrict Access section, I only see the default choices of Date, Grade, User profile, Restriction set. The plugin (v4.0.1
    2023101400) is installed and enabled. Moodle version is 4.2.2.
  • Adam Devonshire
    Sen, 15 Jan 2024, 18:00
    I have the same issue as Jeff Shrek
    There is an issue where, as admin role, I see "Not available unless: You have completed MY CLASS NAME", but student roles see "Not available unless: You have completed {$a}". Please fix as this isnt very informative to the trainees. Thanks in advance
  • Adam Devonshire
    Sen, 15 Jan 2024, 18:02
    Apart from the above issue, this is an excellent plugin and works a treat, just has that little issue that if fixed would make this a great addition to any Moodle install
  • I V
    Sel, 13 Agu 2024, 20:53
    Hi, is this going to be updated to support Moodle 4.4 anytime soon?
  • Fernando Oliveira
    Sel, 10 Sep 2024, 00:49
    Hello, the current version of this plugin does not show the names of courses (You have not complete course ).

    A fix has been applied here https://github.com/ModernLMS/moodle-availability_othercompleted/compare/master...ned-code:moodle-availability_othercompleted:master

    I'm not sure if this plugin is still maintained, but if not, you can download a version with this fix here https://github.com/ned-code/moodle-availability_othercompleted/archive/refs/heads/master.zip
  • Jeff Shrek
    Rab, 18 Sep 2024, 07:33
    For the issue I posted above, where students see {$a} instead of course name, I posted a workaround here:
    https://github.com/ModernLMS/moodle-availability_othercompleted/issues/33
  • Kristina Luong
    Sen, 4 Nov 2024, 22:40
    Hi, will there be a version that is compatible with Moodle 4.3 and when will it be released?
1 2 3
Please login to post comments