Restrict availability to resources

1. Three types of conditional activities
     1.1 By dates
     1.2 By grade condition
     1.3 By activity completion
          1.3.1 Activity completion settings
          1.3.2 Require view
          1.3.3 Require grade
          1.3.4 Require posts
          1.3.5 Require discussions
          1.3.6 Require replies
2. Setup conditional activities


1. Three types of conditional activities

Conditional activities allow teachers to restrict the availability of any activity by dates1, grade obtained2, or activity completion3.

Restricting availability

1.1 By dates1

Access from/to dates determine when students can access the activity via a link on the course page.

1.2 By grade condition2

This setting determines any grade conditions which must be met in order to access the activity.

1.3 By activity completion3

If enabled, activity completion is tracked, either manually or automatically, based on certain conditions.

A tick next to the activity name on the course page indicates when the activity is complete.

1.3.1 Completion tracking4

There are three options:

  • Do not indicate activity completion - this will not show checks(ticks)next to the activity;
  • Students can manually mark the activity as completed - students press the check(tick) to change it. (Note: they can do this even without doing the activity!)
  • Show activity as complete when conditions are met - the selected completion criteria must be met before the check(tick) will change style.

1.3.2 Require view4

When this option is turned on, students have to view the activity in order to complete it.

  • In most cases, clicking the link is enough to 'view' the activity.
  • You should usually not turn on the 'view' condition if you have other requirements - this makes extra work for the server and it's unlikely that a student could meet any other conditions without viewing the activity.

1.3.3 Require grade4

When this option is turned on, students have to get a grade on the activity in order to complete it. For example, a quiz would be marked completed as soon as the user submits it.

It does not matter how well the student did. Getting any grade will mark the activity completed.

1.3.4 Require posts4

This setting is seen in forums. For the forum to be classed as "complete" the student must either start a discussion or reply to a discussion. The number of posts they must make can be specified in the box.

1.3.5 Require discussions4

This setting is seen in forums. For the forum to be classed as "complete", the student must start a discussion topic. The number of posts they must make can be specified in the box.

1.3.6 Require replies4

This setting is seen in forums. For the forum to be classed as "complete" the student must reply to a discussion. The number of posts they must make can be specified in the box.

2. Setup conditional activities

  1. turn editing on in the course homepage
  2. click at the edit icon to update the activity or add a new activity
  3. edit the items in the blocks "Restrict blocks" and "Activity completion"
    Restricting availability
  4. click the button "Save and return to course"

Figure 1 - Edit the items in "Restrict blocks" and "Activity completion"