Reservation
Maintained by
Roberto Pinna
This activity module permits to schedule an event with a defined reservation time.
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
there was a problem with PHP 5.4 now fixed. For info see: https://github.com/bobopinna/moodle-mod_reservation/issues/8
You can download latest release to resolve it.
I don't think I ever tested it with other DBs but it use Moodle DB library functions to make queries.
Did you notice particular issues with another DB?
Roberto.
Has your module only been tested with MySQL or have you checked it with other DBs? Thank you.
- Derek
It's 2017022101 version
Parse error: syntax error, unexpected '=', expecting ')' in C:\moodle\server\moodle\mod\reservation\locallib.php on line 615
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.
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
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.
Thanks for your prompt reply. I'll be looking forward to your update.
Cheers,
Lina
thanks for your suggestion, I will implement it as soon as possible.
Cheers,
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
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
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.
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