Activities: Reservation

Maintained by Bobo Roberto Pinna
This activity module permits to schedule an event with a defined reservation time.
746 sites
42 fans
Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2
The main targets of this module are schedule laboratory sessions and exams but you can schedule everything you want.

Teacher can define the number of seats available for the event, event date, reservation opening and closing date.
A reservation may have a grade or a scale.
Students can book and unbook a seat and add a note about this reservation.

After the event starts the teacher can grade the event. Students will noticed by mail.

Reservation list may downloaded in several fomats.

- teacher can also define multiple sublimits for available seats basis on user profile fields;
- reservation permits overbooking, also for sublimits;
- teacher can manually reserve seats for other user;
- teacher can send messages to reserved users;
- admin can define which profile fields are shown in reservation list table in reservation module settings;
- reservation can be connected to another reservation so students can reserve to only one of them;
- managers and administrators can upload list of reservation through a CSV file;


Screenshot #0


Roberto Pinna (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Valentino Santucci
    Thu, 26 Oct 2017, 12:48 AM

    scrivo in italiano poiché vedo che Roberto è italiano smile

    Avrei una domanda. E' possibile collegare due (o più) istanze di prenotazione di modo che la seconda risulta visibile solo se i posti nella prima sono completi?
    Questo faciliterebbe al docente prevedere quanti turni predisporre per un'attività in laboratorio (dove il numero di posti è limitato).

    Grazie in anticipo,
  • Picture of László Pauer
    Mon, 18 Dec 2017, 5:15 PM

    Is there currently any way to set up a sublimit other than a specific number for a profile field? I'd like to set up sublimits e.g. that at least 2 medical professionals and at least 3 educators should be in the reservation, but there could be more from of each and other fields as well. Is this possible?

  • Bobo
    Tue, 19 Dec 2017, 9:43 PM
    Hi László,
    if set the number of seats grater than the sum of all sublimits you get it.

  • Aaron Cauchi
    Mon, 21 May 2018, 9:32 PM
    Hi Roberto, plugin works perfectly.
    The issue that I have now is with students who reserve a seating and do not attend. Once the reservation closing date has passed they are locked with that date and they cannot book another date which is bound to it. The only solution is that a tutor removes him/her from the previous booking. Is there an alternative solution where once the reservation date has passed user can be "auto unblocked" from the expired booked date?
  • Bobo
    Tue, 22 May 2018, 3:00 PM
    Hi Aaron,
    for now there is not other way with reservation plugin to unblock students.
    I think you can try to use moodle conditional rules to manage that without connected reservations.

    I make a note for a this new feature in reservation development roadmap.
  • Aaron Cauchi
    Tue, 22 May 2018, 3:02 PM
  • Picture of Roland Sherwood
    Tue, 11 Sep 2018, 8:09 PM
    Hi. We just to tried to update to version 3.5 under Moodle 3.5.1 and received the following error:

    Upgrading to new version

    Unknown error upgrading mod_reservation to version 2018100600, can not continue.

    More information about this error
    Debug info:
    Error code: upgradeerror
    Stack trace:

    line 304 of /lib/upgradelib.php: upgrade_exception thrown
    line 815 of /lib/upgradelib.php: call to upgrade_mod_savepoint()
    line 512 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
    line 694 of /admin/index.php: call to upgrade_noncore()

    Apologies for the lack of detail, but the above was generated with debugging switched on. I was able to reproduce this by attempting to upgrade twice, but the same error occurred each time. Other plugins can be installed and upgraded without issue, it's just this one that is causing us problems. Any advice very gratefully received - and thank you for such a useful plugin!
  • Bobo
    Tue, 11 Sep 2018, 8:25 PM
    Hi Roland,
    sorry there was a bug in upgrade procedure.
    I updated it a few second ago to fix it.
    Please download it again.

    Sorry again,
  • Picture of Plínio Felipe Peçanha Oliveira
    Tue, 11 Sep 2018, 11:14 PM
    In PLACE, the user can choose an option from the available ones. Thanks
  • Picture of Plínio Felipe Peçanha Oliveira
    Tue, 11 Sep 2018, 11:23 PM
    What I'm trying to say is this. I have created a reservation activity for a specific day, for example: 11/09/2018, where we have up to 20 different options for the user to select whether it is a room, an equipment or a laboratory. So just one activity per day and several reservations within this activity. Thank you!
  • Giovanni Marangelli
    Wed, 12 Sep 2018, 4:01 AM
    Dear Roberto,

    I send you the messages related to the error that is notified after updating the version of the plugin with the reservation 3.4 when trying to upgrade the database (moodle 3.5.1.):

    Si è verificato un errore sconosciuto durante l'aggiornamento del plugin mod_reservation alla versione 2018100600, non è possibile proseguire.

    Maggiori informazioni su questo errore
    Debug info:
    Error code: upgradeerror
    Stack trace:

    line 304 of /lib/upgradelib.php: upgrade_exception thrown
    line 815 of /lib/upgradelib.php: call to upgrade_mod_savepoint()
    line 512 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
    line 694 of /admin/index.php: call to upgrade_noncore()

    Thank you so much.

    Greetings Giovanni
  • Picture of Roland Sherwood
    Wed, 12 Sep 2018, 2:17 PM
    Hi Roberto. No problem at all! - and thank you very much for providing a fix so quickly, we really do appreciate it. The plugin updates fine now!
  • Picture of Mariann Abosné Lazányi
    Fri, 21 Sep 2018, 5:24 PM

    I can see from the Administration page that it is possible to upload reservation activities from CSV file. But is it possible, to upload reservations with users and grades from a CSV? The scenario is that teachers at a firm go out and teach on trainings. Then come home and want the training and its results for the students to show in Moodle (We would like to use the Reservation activity for this). But it would be a pain to add about 10 students to each Reservation activity one by one out of about 200 enrolled students each time.
    So is there a possibility to let's say create the attendance sheet in az Excel and then convert it to a CSV and then upload it to a certain reservation activity?

    We use Moodle 3.5, and reservation activity 3.4 (2017110300).


  • Bobo
    Fri, 21 Sep 2018, 6:31 PM
    I'm not implemented it in reservation plugin because you can already do it with assignment plugin.
    See to for details.

  • Picture of Majid Hussain
    Tue, 9 Oct 2018, 8:54 PM
    Hi Roberto.

    I have this plugin installed on a Moodle 3.3 site with PostgreSQL database server. I am using version 2017110300 of the plugin and when trying to add a new activity, I see the following error:

    Debug info: ERROR: invalid input syntax for integer: ""
    SELECT * FROM mdl_reservation WHERE id = $1
    [array (
    0 => '',
    Error code: dmlreadexception

    Stack trace:
    line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
    line 242 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
    line 776 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
    line 1558 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
    line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
    line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
    line 231 of /mod/reservation/mod_form.php: call to moodle_database->get_record()
    line 204 of /lib/formslib.php: call to mod_reservation_mod_form->definition()
    line 97 of /course/moodleform_mod.php: call to moodleform->__construct()
    line 141 of /course/modedit.php: call to moodleform_mod->__construct()

    Please can you help with this?
1 2 3 4 5 6
Please login to post comments