Course schedules

Blocks ::: block_horario
Maintained by José Puente Fuentes
Restrict/allow access to course over a range of time.
Latest release:
172 sites
119 downloads
28 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:

  1. Create a course schedule block, turn editing on, and add the block "Course Schedule".
  2. 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.

Potential privacy issues

https://github.com/JosePFs/moodle-block_horario

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

José Puente Fuentes (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Wed, Oct 26, 2016, 3:35 PM

    Thanks José for sharing the block with the community. I like the idea of the plugin and the trick it uses to eventually block the user from accessing the course. While testing the block functionality and reviewing the code, I spotted some tiny bits that should be fixed before the plugin is approved here. Please see your issues tracker for details. Looking forward the updated version with fixes!

  • Thu, Oct 27, 2016, 10:08 AM
    Thank you David,
    I've upload new version with corrections that you mentioned.
    I hope that this version fix all problems.
    By the way, it is posible remove old plugin version when was already uploaded and are hidden now?
    Thank you again!
  • Thu, Oct 27, 2016, 3:31 PM

    I've upload new version with corrections that you mentioned.

    If you believe you are done with all fixes, please use the button "Request re-approval" to get the plugin back into the queue.

    posible remove old plugin version

    We just hide the old versions here in the Plugins directory, they are kept archived for eventual later reference

  • Thu, Oct 27, 2016, 5:49 PM
    Ok,
    Thank you very much David.
  • Wed, Dec 14, 2016, 9:46 PM

    Thanks José for the updated version of the block. I was able to successfully test the functionality again and I left some suggestions for your consideration into your tracker. I found the code well structured and designed, making it easy to follow, unit-test and debug eventually. Well done on that. I am happy to approve this now, welcome to the Plugins directory!

  • Tue, Dec 20, 2016, 6:21 AM
    Hi David,
    thank you very much for your comments, I really appreciate it.
    I've made the changes that you recommended and I've updated plugin.

    Regards
Please login to post comments