Reservation

Activities ::: mod_reservation
Maintained by RobertoRoberto Pinna
This activity module permits to schedule an event with a defined reservation time.
Latest release:
1003 sites
483 downloads
90 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

Commentaires

  • Giuseppe Pillera
    mar. 10 mai 2016, 19:19
    Ok, come non detto per il problema di aggiornamento. Tutto ok. L'unica cosa è che continua a non visualizzare l'icona nella struttura del corso e nella pagina di ogni attività di tipo prenotazione (il link errato all'icona è: http://www.icscalvino.gov.it/Moodle/theme/image.php/adaptable/reservation/1462874402/icon), mentre la visualizza correttamente nella pagina di panoramica plugin (questo il link corretto: http://www.icscalvino.gov.it/Moodle/theme/image.php/adaptable/mod_reservation/1462874402/icon)
  • Giuseppe Pillera
    mar. 10 mai 2016, 19:24
    Risolto finalmente tutto con l'aggiornamento del db. sourire
  • Lina
    mar. 28 juin 2016, 16:16
    Hi Roberto. Many thanks for providing this plugin to the community; its functionality is really appreciated by our staff and students, and we’re really grateful to you for your efforts to maintain and update it.

    On that note, please could I quickly query whether you have any plans to update the plugin to be fully compatible with Moodle v3.1, and its new Global Search feature in particular? To clarify: while we’ve tested the Reservation plugin under v3.1 and all of the core functionality seems to work fine, we’ve found that instances of the activity are not searchable via v3.1’s Global Search feature. Please see the following screenshot for details, which lists all of the available areas that can searched under v3.1 (note that these settings are available via: Site Administration -> Plugins -> Search -> Manage Global Search):

    http://imgur.com/lWWQByE

    Note also that the above screenshot was taken on a v3.1 system where the Reservation plugin is installed and available. However, as you can see, the Reservation activity is not listed as being available to be searched. Obviously, this is likely to be a significant problem/cause of confusion for users who might want to search for specific instances of the Reservation activity across Moodle.

    I’m not a developer, but my understanding is that mod plugins can be made searchable relatively easily via the addition of a new search class within the plugin’s codebase (located at ../classes/search/activity.php). Please see the following for further details:

    https://moodle.org/mod/forum/discuss.php?d=334938
    https://docs.moodle.org/31/en/Global_search
    https://docs.moodle.org/dev/Search_API

    We really hope this search capability can be added to Reservation as I’m sure it would be a huge benefit to our users (as well as those of other v3.1 systems) and, again, many thanks for all your efforts to develop this plugin and share it with the community.

    Best wishes,
    Lina
  • Valentino Santucci
    mar. 20 déc. 2016, 22:06
    Hi, I've discovered two small bugs. I provide the descriptions and the fixes in the following. Perhaps, it should be good to integrate them in the next realease.

    1) The option "Users can view requests list" doesnt work. The problem is a ">" instead of a "<" in line 878 of view.php as in the following:
    ($now < $reservation->timeclose) && (is_enrolled($coursecontext)))) {

    2) The list of teachers in the reservation settings shows also the managers inherited from the category where the course resides. A possible fix in mod_form.php is to replace the line
    if ($teacherusers = get_users_by_capability($context, $capability, 'u.*', 'u.lastname ASC')) {
    with these two
    $teacherRole = $DB->get_record('role',array('shortname' => 'editingteacher'));
    if ($teacherusers = get_role_users($teacherRole->id, $context)) {

    Bests,
    Valentino
  • Roberto
    mar. 20 déc. 2016, 22:22
    Hi Valentino,
    the first one is not a bug.
    Student can view request list, as for reservation number, only after the reservation time has expired.
    This is done because during reservation time the list numbering can change.
    A new feature for the next release could be to let the teacher choose when list or reservation number are shown.

    For the second I think could be useful to add a capability instead of using course one.

    Cheers,
    Roberto.
  • Valentino Santucci
    mar. 20 déc. 2016, 23:10
    Thanks for the reply. I think that the name of the option is misunderstandable. A lot of our teachers think that, setting that option, the request list should appear to every student at every time.

    To address the complaints I have now changed the if:
    if (has_capability('mod/reservation:viewrequest',$context) || (($reservation->showrequest == 1) && ($now > $reservation->timeclose) && (is_enrolled($coursecontext)))) {
    to this one
    if (has_capability('mod/reservation:viewrequest',$context) || $reservation->showrequest == 1 ) {

    Now, if the option is set, students can see the request list at every time. Moreover, also teacher/manager/admin can see the list if they switch the role to student.

    Bests,
    Valentino
  • Lina
    lun. 20 févr. 2017, 17:56
    Hi Roberto,
    Thanks for your contributions to this very useful plugin. We are using it for our staff training event booking.
    But I found that it won't send reminder emails to the user who has reserved the event. If we enable the "Create an event from start to end dates (the event)", all the students will have this event on their calendars. But what we want is just for the students who has reserved the event will have this event on their Calendar. Would it possible for your to provide this function?
    Many thanks.
    Best wishes,
    Lina
  • Roberto
    lun. 20 févr. 2017, 18:00
    Hi,
    thanks for your suggestion, I will implement it as soon as possible.

    Cheers,
    Roberto
  • Lina
    lun. 20 févr. 2017, 18:37
    Hi Roberto,
    Thanks for your prompt reply. I'll be looking forward to your update.
    Cheers,
    Lina
  • Roberto
    ven. 24 févr. 2017, 15:54
    Hi,
    I worked on a couple of requested features:
    - teacher can choose if reservation list or number will shown to the user at the end of reservation time or anytime
    - single user calendar events. When a user reserve in a reservation, a user calendar event could be added as a reminder.

    You can get them now, if you download Reservation module from https://github.com/bobopinna/moodle-mod_reservation, or wait 3.2 module version on moodle.org for some other features.

    Cheers,
    Roberto.
  • Carl Dennis
    mar. 9 mai 2017, 21:32
    Hi Roberto,

    I have teachers who want to schedule a great many events - they have some tutorial time every day, every week, for the whole course. I would like to make a lot of reservation events without making many hundreds of events. Is this possible?

    Cheers,
    Carl
  • Roberto
    mer. 10 mai 2017, 15:33
    Hi Carl,
    you can't do it with Reservation plugin.
    I think can look at Scheduler (https://moodle.org/plugins/mod_scheduler) plugin that it's developed also for that purpose.

    Cheers,
    Roberto.
  • Borko Kikić
    ven. 9 juin 2017, 21:36
    I get this message
    Parse error: syntax error, unexpected '=', expecting ')' in C:\moodle\server\moodle\mod\reservation\locallib.php on line 615
  • Roberto
    ven. 9 juin 2017, 21:45
    Please could you tell me which Reservation version did you use? You can find it in Adiminstration block ->Site Administration->Plugins->Activity Modules->Manage activities
  • Borko Kikić
    jeu. 15 juin 2017, 14:57
    Hi
    It's 2017022101 version
Please login to post comments