## Activities: Reservation

mod_reservation
Maintained by Roberto Pinna
This activity module permits to schedule an event with a defined reservation time.
13k
425
7
Moodle 2.7, 2.8
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.

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

- 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;

### Contributors

• Mon, Dec 3, 2012, 4:26 AM
Hi,
I was translating the reservation plugin into spanish and noticed a possible typo in one English language string:

2.3 [configlocations,reservation] "In this page you can magage standard locations for reservations in this Moodle site"

"magage" should be "manage" (I think).

• Thu, Dec 6, 2012, 4:28 PM
Hi Roberto,
we've allways enjoyed you reservation-plugin. we hope you can make it moodle 2.4 compatible....
• Thu, Dec 6, 2012, 5:14 PM
I'm working on it in these days.
• Tue, Jan 15, 2013, 11:21 PM
Hello Roberto
then we will wait before updating our moodle site......
• Tue, Jan 22, 2013, 9:56 PM
Hello Roberto, thanks! for your 2.4 upgrade! Only one problem: our teachers have to assign the students, not the students themselves. However, when a reservation is still empty, there is no way to manually assign others. Only when there is already someone assigned, then you get the tabs with view and manage. Any Idees?
• Tue, Jan 22, 2013, 10:21 PM
• Wed, Jan 30, 2013, 8:42 PM
Bravo Roberto, thanks for your latest release, perfect!!!!
• Wed, Jan 30, 2013, 11:01 PM
hi Roberto,
Can i use this plugin to book equipments (like notebooks, etc), being the resources separated by category: classrooms, notebooks, books, etc.. ? thanks
• Thu, Jan 31, 2013, 3:33 PM
Hi Carlos,
sorry but reservation module can't do that.
Take a look to MRBS (block https://moodle.org/plugins/view.php?plugin=block_mrbs).
• Fri, May 24, 2013, 7:28 PM
Ciao Roberto,
ho installato il modulo sulla versione 2.5 e sembra funzionare.
Prima di passare alla piattaforma in produzione, volevo chiederti se avevi già fatto delle prove per questa versionedi moodle ed eventualmente riscontrato dei problemi.
Grazie!
• Thu, Oct 17, 2013, 7:58 AM
Hello!

There is a little issue with this plugin: when it sends e-mails to teachers, then the sender is Moodle administrator (lib.php line 375).
This is a bit confusing as the admin comes from get_admin() function -- witch is the first admin and may not be connected to the reservations at all.
Users may also reply to this administrator e-mail, witch is not good.

I suggest to make the sender to teachers the "noreplay" aadress -- seems much more logical.

lib.php line 375:

if (! email_to_user($teacher, get_admin(),$postsubject, $posttext,$posthtml)) {
-> if (! email_to_user($teacher,$CFG->noreplyaddress, $postsubject,$posttext, $posthtml)) { • Wed, Dec 11, 2013, 5:56 PM Caro Roberto, ho un problema con l'ultima versione per moodle 2.4. All'interno di un corso se provo ad inserire 2 o più eventi il sistema mi da il seguente errore : Debug info: ERROR: invalid input syntax for integer: "" SELECT * FROM mdl_reservation WHERE id =$1
[array (
0 => '',
)]
Stack trace:
line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 248 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
line 753 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 1382 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
line 1354 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
line 1333 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 175 of /mod/reservation/mod_form.php: call to moodle_database->get_record()
line 191 of /lib/formslib.php: call to mod_reservation_mod_form->definition()
line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
line 261 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

potresti aiutarmi a capire di cosa si tratta ??

Grazie per la disponibilità
• Fri, Jan 3, 2014, 6:49 PM
Hi, first of all great plugin, easy to use.

Quick question though - I need to create a lot of events with registration that will occur week after week and I am searching for the 'Repeated events' function from standard Calendar events - I can't seem to find it.

Is it possible to make 'repeating reservation events'?
• Tue, Jun 24, 2014, 3:04 AM
Hi Roberto,

I am wondering if there was a way to restrict the cancelling of the reservation if a teacher were to manually put a student in there. In other words, I don't want a student to cancel and teacher assigned reservation. Any ideas?
• Mon, Apr 6, 2015, 8:44 PM
Roberto and community, I have a problelma in the app (Versão 2.7).
My students make the Reservation, however the next day without my having given a time ok these are lost by chance something has already been reported in the same way? How to fix this problem because today the teacher will approve the date that the student will comparer, but the student can Reservation for future dates