Restriction by section completion

Availability restriction ::: availability_sectioncompleted
Maintained by Stefan Scholz, bdecent gmbh
Restrict resources, activities and sections based on other sections being completed
Latest release:
884 sites
307 downloads
34 fans
Current versions available: 1

Motivation for this plugin

This plugin was built to enable teachers to easily restrict activities or sections to students that have completed another, usually the previous section. This is currently already possible by adding several restrictions; this plugin simplifies that for the teacher – and has also the nice and intended side effect that it looks better for the student.

Installation

Install the plugin like any other plugin to folder /availability/condition/sectioncompleted

See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins

Usage & Settings

After installing the plugin, it is ready to use without the need for any configuration.

Teachers (and other users with editing rights) can add the "Section Completed" availability condition to activities / resources / sections in their courses. While adding the condition, they have to pick the section the student is required to complete before accessing the activity / resource / section.

If you want to learn more about using availability plugins in Moodle, please see https://docs.moodle.org/en/Restrict_access


Try it out

You can see the plugin in action on our test site: bdecent.io


Potential privacy issues

None. The plugin does not store any personal data.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Stefan Scholz (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Enrique Terán Z
    Wed, Jun 15, 2022, 1:29 AM
    Existe un error al visualizar las actividad "tarea" "Not implemented (do not call unless is_applied_to_user_lists is true)". Este problema es visible para el usuario tipo admin y/o profesor. Adjunto imagen en el link https://ibb.co/wYFX77m
    /////traslate////
    There is an error when displaying the "task" activities "Not implemented (do not call unless is_applied_to_user_lists is true)". This problem is visible to the admin and/or teacher type user. Attached image in the link https://ibb.co/wYFX77m
  • Stefan Scholz
    Wed, Jun 15, 2022, 2:24 PM
    Hi Jose,

    I’m sorry, I don’t understand what you mean. “Task activities” do not exist in moodle, so you maybe actually mean assignments? Probably a translation issue I assume. Or do you use a custom plugin?

    Kindly create an issue in the plugins tracker (see link above), and provide steps to reproduce this issue in English and include the moodle version you use. If it relates to a third party plugin, please provide a link to it.

    Thanks
    Stefan
  • Cycle Touring in Portugal
    Wed, Jun 15, 2022, 2:32 PM
    Hey Stefan, I was wondering if you ever resolved the issues that myself and EPV Days brought up last summer in July? My courses are about to begin and if you did fix the issues, I'd like to try your plugin again.
  • Enrique Terán Z
    Wed, Jun 15, 2022, 11:00 PM
    Hi Stefan; Excuse me, I don't speak English, I'll try to explain myself to the translator.

    Moodle: 4
    Plugin: "Availability_sectioncompleted"
    Steps:
    1. Create 2 Sections: Week 1 and Week 2, in Course x
    2. Restrict section: Week 2 - "Availability_sectioncompleted" Complete: week 1
    3. Create activities type "assignment" in the section: Week 2,
    4. "Save changes and Show" button
    5. This error is displayed: https://ibb.co/wYFX77m.
  • Darrel Tenter
    Tue, Jan 10, 2023, 8:03 AM
    HI Stefan. Thank you for contributing this plugin. I can see so many ways it can be used.

    Do you have plans for showing Sections as completable items in the Completion Progress block? I don't know if this is even possible. But I can envision the block with the Sections listed in it rather than the activities.
  • Stefan Scholz
    Mon, Jan 16, 2023, 4:57 PM
    Hi Derrel,

    I suggest asking the developer of the block (Jonathon Fowler). We think that it is a good idea that the section has a completion state. That's why we built both this restriction as well as incorporated it into some of our other plugins. Designer (course format) does for example display the progress of a section. And the upcoming widget (Course enrolments) for Dash (a block) also features course progress via sections.

    Hope this helps
    Stefan
  • Clovis Tristao
    Sat, Feb 4, 2023, 12:48 AM
    Hi Stefan,

    When will the plugin be updated again, because on the Moodle website it says that it has not been updated for more than 20 months.
    Thx,
    Clóvis
  • Jorge Cruz
    Fri, Feb 17, 2023, 10:50 PM
    Hello! Are there any plans to update the plugin and certify its compatibility with Moodle 4.1? This is a very good plugin, with several pedagogical possibilities. However, at my institution, it is a rule not to use plugins with a long time without updates (21 months in this case).
  • Stephany Méndez
    Sat, Jun 17, 2023, 3:13 AM
    ERROR ASSIGN:
    "tarea" "Not implemented (do not call unless is_applied_to_user_lists is true)"
    Solution:
    I commented out the 'function is_applied_to_user_lists()' in condition.php and apparently the error with users who have editing permissions disappeared. However, further testing needs to be conducted to ensure there are no subsequent complications.
  • Dr. Nellie Deutsch
    Mon, Nov 6, 2023, 5:00 PM
    Is it compatible with Moodle 4.3?
  • Sergio Luciano
    Wed, Dec 20, 2023, 11:32 PM
    Is the plugin compatible with Moodle 4.3? I'm looking at the code and it seems moodle 4.3 changed something in the information of completion, and it is not working anymore in 4.3

    Anyone can help?
  • Dr. Nellie Deutsch
    Sun, Jan 7, 2024, 10:10 PM
    It doesn't work on my Moodle 4.3. What a disappointment to have to redo the restrictions in 8 courses!!!
  • Stefan Scholz
    Sun, Jan 7, 2024, 10:44 PM
    Hi Nellie, we're working on a compatible version with 4.3 Sorry that it's probably to late for you! Best, Stefan
  • David Bernardes
    Mon, Jan 6, 2025, 10:45 PM
    Hello,

    I was wondering if there is any way to have this plugin work with completion data from another course

    For example i have Course A which has the course material, and course B which has Expectation Questionnaires and etc, and I would like to be able to restrict what content is available on course A, to the completion of a questionnaire in course B.

    I'm using Moodle 4.5 at the moment, so I'm still going to test if even the normal behaviour of the plugin is working correctly.

    Thank you very much
1 2 3
Please login to post comments