Booked Scheduler Community Support
February 26, 2020, 09:00:47 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Login Register  
Pages: [1]
Author Topic: Admin Check Only  (Read 442 times)

Karma: 0
Posts: 1

« on: December 13, 2019, 07:01:14 AM »

Hi, I created a simple plugin for Booked Scheduler and decided to leave it here in case someone is interested.

This plugin allows specific resources to be checked only by the administrator or resource administrator.

To use the plugin you need to extract the plugin files to "booked/plugins/PreReservation". Next, select "AdminCheckOnly" in Booked's configuration settings, on the "PreReservtion" field to activate the plugin.

Next you have to create 2 custom attributes for resources: one to turn on AdminCheckIn and another one for AdminCheckOut (This will allow you to choose CheckIn or CheckOut for admins independently for each resource). Both attributes must be checkboxes.

Then you need to go to the configuration settings of the plugin "AdminCheckOnly" and specify the IDs of the attributes created. In the settings, you can also write the messages that are to be shown to the user, in case he doesn't have permissions to CheckIn/Out.

Finally, just tick the boxes in what resources you need AdminCheckOnly and you are all set.

I will leave the GitHub link here:

If you have any trouble or suggestions feel free to post here.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!