Reservation

Activities ::: mod_reservation
Maintained by RobertoRoberto Pinna
This activity module permits to schedule an event with a defined reservation time.
Latest release:
1031 sites
475 downloads
89 fans
Current versions available: 7

moodle-mod_reservation

Reservation module

This module permits to schedule an event with a defined reservation time. 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 and teachers may will notified by mail.

Reservation list may be downloaded in various formats.

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

Changelog

  • v4.0
    • Added support to Moodle 4.0
  • v3.9
    • Added support to Moodle 3.9
  • v3.8
    • Added support to Moodle 3.8
  • v3.7
    • Fixed request deletion
  • v3.6
    • Full code revision
    • Added option to make Note field required
  • v3.5
    • Added Moodle Privacy API support
    • Fixed note display to students
  • v3.4
    • Disabled overbooking when no reservation limit is set
    • Added option to do not show reservation number to students
    • No time limit to manual reservation
  • v3.3
    • Update to Moodle 3.3
    • Added options in what student can view in reservation page (number, list and when)
  • v3.2
    • Added options to choose which calendar events must be created with reservation
    • Moved italian translation on AMOS
    • Fixed long sheet name in excel downloading error
  • v3.1
    • Added Global Search support
  • v3.0
    • Fixed compatibility with Moodle 2.7/2.8
    • Changed plugin icon
  • v2.9
    • Added support on activity completion with rule reserved

Install

  1. Copy the plugin directory "reservation" into moodle/mod/.
  2. Check admin notifications to install.
  3. Done

Maintainer

The module is being maintained by Roberto Pinna

Thanks to

With thanks to various friends for contributing (Angelo, Matteo, Wiktor, Cecilia, Francesco). Thanks also to users who have taken the time to share feedback and improve the module.

Technical Support

Issue tracker can be found on GitHub. Please try to give as much detail about your problem as possible and I'll do my best to help.

License

Released Under the GNU General Public Licence http://www.gnu.org/copyleft/gpl.html

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Comments

  • Plínio Felipe Peçanha Oliveira
    Tue, 11 Sept 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 Sept 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
  • Roland Sherwood
    Wed, 12 Sept 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!
  • Mariann Abosné Lazányi
    Fri, 21 Sept 2018, 5:24 PM
    Hi,

    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).

    Thanks!

    Mariann
  • Roberto
    Fri, 21 Sept 2018, 6:31 PM
    Hi,
    I'm not implemented it in reservation plugin because you can already do it with assignment plugin.
    See to https://docs.moodle.org/35/en/Assignment_FAQ#Can_I_grade_work_that.E2.80.99s_been_done_offline_outside_of_Moodle.3F for details.

    HTH,
    Roberto
  • 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?
  • Bligh Hedges
    Mon, 4 Mar 2019, 4:34 AM
    Hi,

    I have this plugin installed on a Moodle 3.6 site, and am having problems with sending out messages to all reserved students. I think that the error has to do with the deprecation of print_textarea() (https://tracker.moodle.org/browse/MDL-50225).



    Is there anyway to get this plugin to work with Moodle 3.6? (Can attach error_log but it is quite long).
  • Roberto
    Mon, 4 Mar 2019, 4:47 PM
    Hi,
    i'm working on it in these days. I hope I can release a new version this or next week.

    Roberto.
  • Bligh Hedges
    Tue, 5 Mar 2019, 8:04 AM
    Hi Roberto,

    Great to hear, looking forward to getting the plugin back up and running again.

    Regards,
    Bligh.
  • Bligh Hedges
    Wed, 27 Mar 2019, 4:30 AM
    Hey Roberto,

    Just checking around what time you think the update will be available, or if you know a work around. The site we have is live at the moment, and this plugin is used quite frequently by the lecturers.

    Regards,
    Bligh.
  • Roberto
    Thu, 28 Mar 2019, 3:55 PM
    Hi,
    the 3.6 release it's out on moodle.org.
    If you want take the last release and help me to debug it you can get it from github.
    I'm still working on reservation plugin in these days.
    Next release on moodle.org will be in May.

    Stay tuned.

    Cheers,
    Roberto.
  • Aaron Cauchi
    Thu, 28 Mar 2019, 5:40 PM
    What's new in 3.6 Roberto??
  • Roberto
    Thu, 28 Mar 2019, 6:02 PM
    Hi Aaron,
    3.6 is a full code review to meet latest moodle UI and structure.
    There's no new features, just small fixes and enhancements.
    I'm working now on new things: moodle mobile support and multiple rounds in a single reservation are the big news.

    Regards,
    Roberto.
  • Bligh Hedges
    Fri, 5 Apr 2019, 4:17 AM
    Thanks Roberto,

    The team is testing the plugin now, will tell you if we come across any other big errors.

    Kind Regards,
    Bligh
  • Nicoleta Nae
    Mon, 6 May 2019, 2:45 PM
    Hi,

    Is there a way to take attendance for only for people that reserved a specific timeline, maybe creating a specific group automatically? We have several timelines to choose from and right now we see all the enrolled users.

    Thank you,
    Nico
Please login to post comments