Moodle Plugins directory: Course schedules | Moodle.org

Course schedules
Blocks ::: block_horario
Maintained by
José Puente Fuentes
Restrict/allow access to course over a range of time.
Latest release:
154 sites
60 downloads
29 fans
Current versions available: 3
Restrict/allow access to course when the block is located in the course using cohorts.
Student must be in the selected system cohort(s) to control course access. If student isn't in selected system cohort(s), access is granted by default. Schedule is set using week days, hours and minutes.
There are two modes:
- Restrict user access in a date range.
- Allow user access in a date range.
Steps to follow:
- Create a course schedule block, turn editing on, and add the block "Course Schedule".
- Click Settings and select:
- Scheduling mode: allow or deny access in the selected time range
- Cohort to which it is applied
- Week days
- From/to hours
- Show block: show schedule information or not to students when they access to the course
- Where this block appears Display on page types: Any page. This ensures that the student cannot access any child page in the course
- On this page Visible: Yes
In the "Admin courses schedules" link within the block, it is possible to configure all the blocks added to the platform.
Useful links
Contributors
José Puente Fuentes (Lead maintainer)
Please login to view contributors details and/or to contact them
thank you
happy to solve your doubts.
In the course that you want to add the schedule you must activate the edition. Then you must add the block using the button that usually appears in a side panel.
Once the block appears, click on the gear so that the options appear, you must select "Configure block course schedules".
You add the cohorts and schedules, etc, and it is important that you select that the block appears on all the pages so that the student can not access
Once configured, you will have a link to configure all the configured time blocks and you can also access it from Site -> administration -> Plugins -> Blocks -> Course schedules.
I hope it helps.
If you do not solve it, contact again so I can guide you step by step
Regards!
Currently the plugin is not available for this version because I have not yet had time to test for that 3.4+ version.
I will update and test the plugin shortly.
Please, apologize for the inconvenience and the new version compatible with 3.4+ will be available very soon.
Regards!
Due to comments like yours it is worth taking the time to collaborate in these projects.
Thank you very much,
Regards
Really useful.
José I am looking for something like this for quiz where I can schedule quiz activity like this:
Quiz Opens
Date From: 14/08/2018
Date To: 18/08/2018
Time From: 07:00
Time To: 20:00
Means quiz open only in particular time frame daily.
Can you help?
I think that functionality is already acomplished by Activities rectrictions:
https://docs.moodle.org/35/en/Restrict_access_settings.
Check it out and ley me know if you need some help.
Regards!
Error
Coding error detected, it must be fixed by a programmer: Function get_categories() is removed. Please use appropriate functions from class core_course_category
I just retested it on version 4.0.1 and it works fine.
I've tried it before on version 4.0 but couldn't reproduce the error.
I've just tested your plugin on Moodle 4.0.x, set all the configurations like explained above, but the courses seems to be accessible every hours and every days. I don't see any warning or messages about dange range of accessibility.