Restrictions / Booking plugin

Restrictions / Booking plugin

by Doug Henner -
Number of replies: 2

Hi,


in a course of our Moodle - Site (Moodle 3.5, Boost Theme)

we use the booking - Plugin (mod_booking) for user to book a language

tests. The Language course should only be displayed in the course 

for the users, who have registered via an instance of the 

mod_booking - Plugin (Registration Language Tests).

course view



So e.g. the French tests we put in an extra section. 

In the settings of the section "French" we configured registration:

The language registration must be completed as a restriction 

necessary to let the section "French" show.


restriction


In the backend of the registration we can see, that user "Titus Testus"

has registered. On the attachment we can see his registration is not

confirmed. But if we confirm it or not, it has no influence on the 

visibility of the "French" section. 


booking1


Can you help me to set restriciton, that only shows the French section,

if the users has registered?



Thanks a lot for your help.


Best,



Doug 


Average of ratings: -
In reply to Doug Henner

Re: Restrictions / Booking plugin

by David Bogner -
Picture of Core developers Picture of Plugin developers
Hi Doug,

there is a difference between setting the booking option as completed and the booking activity as completed for a user. Standard Moodle availability only works with completion status on activity level. So if you want to control access to a course section based on the completion of the booking activity, you must set the completion criteria in the booking instance level (booking activity settings) not in the booking option settings. If you want to have a custom access condition implemented based upon booking option completion, that has to be done via an additional plugin.
The wording of the table column "Activity completed" is maybe misleading. That does not mean necessarily, that the booking activity is completed, only the booking option is completed.

I hope I could help.

Kind regards,
David
Average of ratings: Useful (2)
In reply to David Bogner

Re: Restrictions / Booking plugin

by Doug Henner -
Hi David,

that works!

have thanks for your patience!

We let the users register via the booking plugin. So I set
"Show activity as complete when conditions are met"
under "Activity completion" in the settings of the booking instance.
(...course/modedit.php?update=504&return=0&sr=0)
Now the administrator still has to mark the users in the booking options in or to make it complete but
that's working.


Thanks a lot !

Best,

Doug