Restriction by time

Availability restriction ::: availability_time
Maintained by Stefan Hanauska
Restrict activities / sections to a time period
Latest release:
231 sites
99 downloads
15 fans
Current versions available: 2

This plugin allows you to restrict activities / sections to a time period (every day).

You can use this for example for showing a greeting label or a warmup task to your students in the morning.

The plugin respects users timezone - so be aware that it can be manipulated by choosing another timezone.

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Show comments
  • Plugins bot
    Thu, 29 Dec 2022, 5:40 AM
    Approval issue created: CONTRIB-9169
  • Daniel Gandolfo
    Thu, 27 Apr 2023, 6:57 PM
    Hi Stefan, I have a question if you don't mind.
    Applied to a section of my course, your plugin will allow the section to be open for a given duration.
    Question: when the time is up, will the section be automatically closed to the student?
    More precisely, currently in moodle, you can put restrictions on access to a section for a given time. However, when the time is up, unless the course page is refreshed, the section will remain open to the student...
    Will your plugin automatically close the section at the end of the specified time?
    Thank's for comments.
    All the best.
    Daniel
  • Stefan Hanauska
    Thu, 27 Apr 2023, 7:24 PM
    Hi Daniel,
    that's an interesting idea! Right now, availability_time does not support this kind of feature. But the restriction is effective for all activities in the section, so even if the list of activities is still visible to the students, the activities can't be used by them.
    Best
    Stefan
  • Daniel Gandolfo
    Thu, 27 Apr 2023, 7:56 PM
    Thank you for your comment Stefan.
    But then, what is the difference between your plugin and what moodle allows to do with date and time restrictions to sections access, I don't see.
    Sorry if my question is stupid...
    Daniel
  • Stefan Hanauska
    Thu, 4 May 2023, 8:09 PM
    Hi Daniel,
    the plugin allows to do that for every day. So you can make some content visible only from 8:00 to 9:00.
    Best
    Stefan
  • H D
    Sun, 8 Oct 2023, 10:00 PM
    Can we define different time for different groups?
  • Stefan Hanauska
    Tue, 10 Oct 2023, 9:55 PM
    You can achieve this by using restriction sets (one group restriction and one time restriction per set).
Please login to post comments