ModernLMS / moodle-availability_othercompleted

This plugin allow to restrict access of activities and resources in your course based on other course completion.
6 stars 12 forks source link

"Available if other course is NOT completed" possible? #16

Closed VOOM108 closed 2 years ago

VOOM108 commented 4 years ago

The plugin only gives the option "course" "must be completed" but not "must not be completed". Thus I tried to revert the logic by adding it inside an availability-set with "following must not". The message shown looked promising: "You have incompleted course course2 (hidden otherwise)" - but it does not work.

(Moodle 3.5 with latest version of plugin)

VOOM108 commented 4 years ago

In addition: actually what happens is:

  1. The other course is completed - the activity is shown whether the availability is enclosed with a "must not" or "must"
  2. The other course is not completed - the acitivity is not shown whether the avail. is enclosed with a "must not" or "must"

So I presume that there is sth. in the logic of the plugin that enforces that...

sam-suresh commented 4 years ago

Adding on next update