Booking module

Jump to: navigation, search

Booking module for managing course participants (online course or offline course)


  • Max participants
  • Waitinglist
  • Automatic course subscription
  • Confirmation mail
  • Download userlist as xls or ods (you can select which custom fields to export)
  • Cancellation system
  • Subscription period
  • Automatic add events to Moodle calendar
  • Tags, categories
  • Automatic enrol users in groups
  • Attachments
  • Sending custom message to users
  • etc.

How to use the booking module

  1. General settings:
    1. Add an activity > Booking
    2. Give a general name (not your EVENT name), booking text will be shown at the top of page.
    3. Default booking limit Numbers can be defined at each event page too.
    4. Time period is very important.
    5. Yes to email settings
    6. Policy page is really useful.
    7. Save and display
    8. Edit booking option (See No3. in step2)
  2. Events settings
    1. Click on the ‘Manage x responses’ link at the top-right corner
    2. Click on the bottom/latest ‘Edit this booking option’ under ‘Mange column’
    3. Give an Event name into ‘Booking’ field.
    4. You can define ‘limit number’ and ‘Restrict time’ here again.
    5. Looks like you can book for other course, but, I think we can ignore this.
    6. Description will be shown on the booking table, very important.
    7. Click on ‘Save and add new’
  3. Editing
    1. You can delete a user’s booking
    2. You can delete an event with all bookings in it.
    3. You can click on the button ‘Download users as .xls’ to download bookings in spreadsheet for each Event, or click on the button at the bottom of page to get a full list (Great!)
  4. Permissions:
    1. Click on the ‘Permissions’ under the ‘Settings’ block.
    2. At the dropdown menu: ‘Advanced role override’ choose ‘Manager’ (or teacher, or any role)
    3. At table: Activity: Booking, tick ‘Allow’ Permission to all five lines (or less)
    4. Save changes
  5. Bugs
    1. Fixed all known bugs except:
    2. At the ‘Edit this booking option’ page. Site admin can select one or more user names and then choose ‘Delete’ under ‘With selected’ dropdown menu. The page will be redirected to a delete page to confirm. But, this not works in IE8. Please reminder users to avoid IE for this function.
  6. How to add a new booking option
    1. Go to "Manage XX bookings"
    2. Click on "Edit booking option", do not change anything and click "Save and add new"
  7. Special user profile fields
    1. If you want to have certain information about your users (phone numbers), you can define custom user profile fields in the Site admin settings. You have to make them "required", then users have to fill out the form with the information requested before they can proceed to book a course.

CSV import

Create booking options and add users.

Fields in CSV file are (must be in this order):

  1. name - name of booking option
  2. startdate - start date, 0 for no date
  3. enddate - end date, 0 for no date
  4. institution - institution
  5. institutionaddress - institution address
  6. teacheremail - teacher email - to match in users table
  7. useremail - user email to match with user in Moodle
  8. finished - if user has completed activity
  9. maxanswers - max. number of participants (default 0)
  10. maxoverbooking - max. number of places on waiting list (default 0)
  11. limitanswers - limit the number of participants Help with Limit the number of participants (1 for limiting or 0 to disable)
  12. location - location ex. room number

CSV import - activity completion

Fields in CSV:

  1. OptionID - Option ID
  2. UserID - User ID
  3. CourseCompleted - 1 - competed, 0 - not completed

  • Field delimiter: , (coma)
  • Enclosure field: " (quotation mark)
  • Escape character: \ (backslash)
  • Date parse format - format of startdate and enddate fields.


See also