Activities: Scheduler

Maintained by Picture of Henning Bostelmann Henning Bostelmann
An appointment scheduler for planning face-to-face meetings between teachers and students. Teachers can set up time slots, and students can choose one of these on Moodle.
2426 sites
53 fans

The Scheduler module helps you in scheduling appointments with your students. Teachers specify time slots for meetings, students then choose one of them on Moodle. Teachers in turn can record the outcome of the meeting - and optionally a grade - within the scheduler.

Group scheduling is supported; that is, each time slot can accomodate several students, and optionally it is possible to schedule appointments for entire groups at the same time.

Please note that minor updates to this module will normally be released on github only.

For help and discussion about the module, please use the Scheduler forum on

For an earlier version supporting Moodle up to release 1.9, see the Scheduler 1.9 module.


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


Picture of Henning Bostelmann
Henning Bostelmann (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Henning Bostelmann
    Wed, 24 May 2017, 4:22 AM
    @Amr Al Kudeh
    Thanks for mentioning this. I have created an entry for this on the bug tracker, see CONTRIB-6908 . I think I don't understand the bug fully yet and would need some more information. Please comment on the bug tracker if you can.
  • Picture of Kevin Lu
    Tue, 6 Jun 2017, 12:05 AM
    Hi Henning and developers,

    Thank you for answering my questions. I have a question about "Add Single Slot" under Add Slots tab button. Which php file is it that displays the html code? I need to add a Javascript function to it so I need to know the name of the php file that displays the html code.

    Also, for the Save button, which file generates that Save button?

    Thank you!
  • Picture of Kevin Lu
    Tue, 6 Jun 2017, 3:32 AM
    Hi Henning and developers,

    On teacherview.php, under "View : Update single slot form" in line 138, what is the variable that I can use in order to access this slot's location and enrolled users (teacher and students)?

    Thank you again!
  • Picture of Henning Bostelmann
    Tue, 13 Jun 2017, 2:35 AM
    Hi Kevin, the form is generated using Moodle's formslib, which you can read more about here:
    Within Scheduler, see "slotforms.php".

    Regarding your second question, this would be the variable $slot. It's an object type, so you would get the location with $slot->appointmentlocation , for example. You can get a list of all appointments with $slot->get_appointments() (see documentation in model/scheduler_slot.php).
  • Picture of Kevin Lu
    Wed, 14 Jun 2017, 11:37 PM
    Hi Henning,

    Thank you for your response. I have a quick question. Is it possible to get the scheduler's name located in the tab in the right side? For example, in the tab, I have Summer Courses, Winter Courses and Spring Courses as scheduler name, is there a place in the code that I can retrieve the name? I am doing it because I need to identify which scheduler I am in so I can make changes to slots.

  • Picture of Henning Bostelmann
    Thu, 15 Jun 2017, 7:11 AM
    Hello Kevin, I think you're looking for $scheduler->name .
  • Picture of Kevin Lu
    Tue, 18 Jul 2017, 3:02 AM
    Hi Henning,

    Thank you for your response last time. I have a quick question, it looks like the student view page calls "get_slots_available_to_student" function on scheduler_instance.php file. However, the teacher view page (teacherview.php and teacherview.controller.php) don't use any query functions in scheduler_instance.php. Could you help me identify the query that teacher view page is using? Like what is the name of the function and inside what file. Thank you!
  • Picture of Olga Kim
    Tue, 29 Aug 2017, 6:55 PM
    How is it possible to make the scheluler visible for guests? I want everyone to see opened time slots and after they press "book" they will be redirected to the registration
  • Picture of Henning Bostelmann
    Thu, 31 Aug 2017, 11:01 PM
    Hello Olga,
    Scheduler is not intended to be used by guests. In order to use Scheduler, users will need to log in with a full user account.
  • Picture of Sebastien Jaffredo
    Fri, 1 Sep 2017, 8:52 AM
    Hi Olga
    You may let guests see available slots by making the course available to guests. They will see all available slots, but they won't have a "book" button. You may add a comment in the "introduction" section with a link to the login page.
  • Picture of Kevin Lu
    Sat, 2 Sep 2017, 3:29 AM
    Hi Henning and Sebastien,

    Thank you for your scheduler package. I have a question. After testing the scheduler package for 4 months, it appears if the slots are more than 10,000 then on the student page (studentview.php), the table of slots would not be displayed and it is actually a big white page under the scheduler name. I know the page dies out because I can see the scheduler name but under it, it is a big white page.

    In the file scheduler_instance.php, I know fetch_slot function returns the list of slots that are displayed on student page. I have modified query in function so it only queries slots for next 7 days, this does remedy "a bit" of the query time. My question is, is there another way of query the slots faster?

    Thank you!

  • Picture of Henning Bostelmann
    Tue, 5 Sep 2017, 3:12 AM
    Hi Kevin
    I have actually never tested Scheduler with so many open slots at the same time (our own use case hardly ever needs more than 100). The limit you see is (likely) either related to the available PHP memory or to a restriction on the database side. I suspect the latter. In that case, only an investigation on your specific database can show what the restriction is and whether a speedup is possible (e.g. by adding a suitable database index).
  • Picture of Nicolas Dunand
    Wed, 4 Oct 2017, 5:40 PM
    Hi Henning,

    I've just submitted a PR on GitHub to propose an implementation of core_calendar notifications in Moodle 3.3's new core block_myoverview block. Details are in the PR.

    Would you mind having a look at it?

  • Picture of Henning Bostelmann
    Fri, 6 Oct 2017, 7:39 PM
    Hi Nicolas, thanks for your patch (and rest assured that I do get notifications from github). I will have a look at it when I find the time. The next major release of Scheduler is not due before Moodle 3.5.
  • Picture of Henning Bostelmann
    Mon, 13 Nov 2017, 4:45 AM
    Note to plugin users: I believe that version 3.3.0 works with Moodle 3.4, and have marked it as such. Some individual behat test cases seem to fail, but as far as I could find out, these are problems entirely on the side of the test tool, and not with the actual functionality.
1 2 3 4 5 6 7 8
Please login to post comments