Course schedules

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

Show comments
  • José Puente Fuentes
    Thu, 22 Dec 2016, 3:44 AM
    Ok,
    thank you Dinis!

    Changed
  • Irakli Kurdiani
    Mon, 6 Nov 2017, 7:56 PM
    hi! i instaled plugin on my moodle site, it installed successfully but settings are not avalable therefore i'm not able to use this plugin. can you heplp me with it?
    thank you
  • José Puente Fuentes
    Tue, 7 Nov 2017, 4:02 AM
    Hi Irakli!,
    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!
  • Andrew O'Brien
    Tue, 9 Jan 2018, 6:19 PM
    I've installed this plugin on a Moodle 3.4+ site and added the block to a course page. When I want to select cohorts, there is only a list of about 30 available and I can't access all of the cohorts we have (we have a cohort for every class in the school). Am I missing something? Manythanks!
  • José Puente Fuentes
    Thu, 11 Jan 2018, 7:01 AM
    Hi Andrew,
    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!
  • Andrew O'Brien
    Mon, 15 Jan 2018, 5:51 PM
    Wow... updated version available this morning: installed, tested and working. Thank you very, very much! Saves me a headache to start the week giving time restricted access to a course. Just fantastic!
  • José Puente Fuentes
    Tue, 16 Jan 2018, 7:05 AM
    Hi Andrew,
    Due to comments like yours it is worth taking the time to collaborate in these projects.
    Thank you very much,
    Regards
  • Aditya Dubay
    Tue, 14 Aug 2018, 7:37 PM
    Great Work José smile
    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?
  • José Puente Fuentes
    Tue, 14 Aug 2018, 10:38 PM
    Thank you Adytia!
    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!
  • Javad Soltani
    Mon, 18 May 2020, 6:54 PM
    Thanks José, in moodle 3.8 it doesn't work. could you please check it and upload a new version of plugin
  • Damiano Borzì
    Fri, 9 Jul 2021, 5:54 PM
    hi, it works with 3.10?
  • Youyou B
    Fri, 17 Sep 2021, 4:43 AM
    Exactly what i want however... i get this message any help please

    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
  • Sreekanth Chakravarthy
    Mon, 6 Jun 2022, 8:02 PM
    I installed this plug in on Moodle 4.0. But I see blank when I go to Plugins > Blocks > Course Schedule. Please advise where I went wrong.
  • José Puente Fuentes
    Thu, 7 Jul 2022, 3:49 AM
    Hello!
    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.
  • Giovanna Gabriele
    Thu, 29 Jun 2023, 10:53 PM
    Instalei esse plugin no 4.1, está funcionando perfeitamente bem. Mas pensei que essa restrição funcionava para professores também. Será que é possível restringir professores tbm?
1 2
Please login to post comments