Your Moodle version

Blocks: MRBS

Maintained by Davo Davo Smith
Based on the stand-alone MRBS project ( ), this allows users to book rooms and other resources from within Moodle.
Moodle 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

For a full description of this block, please see here

A Moodle 1.9 version of this plugin can be downloaded directly here: - this is not available on as there would be a lot of work involved in rewriting it to pass the automated database naming checks.


Screenshot #0


Davo Smith (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of John Mason
    Mon, Nov 9, 2015, 6:06 PM
    Hi Davo,
    We are considering using MRBS on Moodle however I have a couple of questions first if that is ok.

    To give you background information we are currently using Moodle 2.9.1 but will be migrating to 3 shortly. We currently use MRBS Version 1.4.2 so are significantly behind the times here.
    We currently have several versions of MRBS running in separate folders on the server for things like IT rooms, Function Rooms, Devices (cameras, iPads etc.).

    So the questions are:

    1) Is it possible to import data from a pre existing MRBS install into the moodle version? If yes how?

    2) Is it possible to run several versions of MRBS at the same time on Moodle?

    Thanks in advance,

  • Davo
    Mon, Nov 9, 2015, 6:13 PM
    The MRBS block originally started as a wrapper around MRBS. Since then it has diverged greatly from the original development.

    The MRBS block is now only compatible with the heavily modified (and very old) version of MRBS included within it - a couple of years ago there was a possibility of funding to restart the MRBS block in a way that would be compatible with upgrading the MRBS embedded within it, but that has not come to anything. There can only be this single MRBS instance running within Moodle (whilst you can still run the standalone, original version of MRBS outside of Moodle).

    There is an import facility in the Moodle version. I don't have enough experience of the standalone MRBS to know what range of formats it can export in, so I don't know whether such a transfer is possible.
  • Picture of Miguel Macías
    Tue, Dec 15, 2015, 8:38 PM
    I am interested in remote labs in moodle.
    Could I use the mrbs block to book other resources like urls of remote labs?

    Thanks in advance
  • Picture of Michael Woods
    Wed, Dec 23, 2015, 6:57 AM
    Hi guys,
    In web/request_vacate.php there is a call to deprecated function can_use_html_editor() . The helps suggests that the code should assume true.
  • Picture of António Godinho
    Tue, Jan 26, 2016, 8:16 PM
    I had 2 issues:

    on week.php Had to change:
    if ($room > 0) {
    $thisurl->param('room', $room); // $area changed to $room
    } else {
    $room = get_default_room($area); // Maybe the same thing should be donne here

    Print preview is not a real preview... It has a header, menu on the left... Is there any update, plugin or whatever?
  • Davo
    Wed, Jan 27, 2016, 5:48 PM
    Yes, the first line looks like a good correction (without trying it out, I'm not sure that it would have much impact, but it should be fixed). The second one is already correct - if the room is not set, you want to get the default room for the area.

    Not sure about the print view mode - I've not looked at that code for a very long time.

    I'm not sure what you mean by 'Is there any update, plugin or whatever?' - the latest code is available to download here, there aren't any plugins available for this plugin.
  • Picture of Peter de Groot
    Fri, Mar 11, 2016, 1:10 PM

    Fans of MRBS and have been using it FOREVER.

    A couple of things.

    1. An running Moodle 3.02. Seems to work ok. Envisage any probs ?

    2. I have the boss set up as an MRBS admin. Sadly, he cannot book any further ahead than the 21 days I have set in the preferences.
    The doc says that he should be able to. But he just gets the little red crosses...
  • Picture of Mark Jones
    Thu, Mar 24, 2016, 5:28 AM
    Installing Moodle 3.0 and get this error on install...Should i go in and make the change to see if it fixes the issue? mark


    Coding error detected, it must be fixed by a programmer: mark_context_dirty() is removed, please use $context->mark_dirty() instead.

    More information about this error
    Debug info:
    Error code: codingerror
    Stack trace:

    line 1867 of \lib\deprecatedlib.php: coding_exception thrown
    line 51 of \blocks\mrbs\db\install.php: call to mark_context_dirty()
    line 888 of \lib\upgradelib.php: call to xmldb_block_mrbs_install()
    line 429 of \lib\upgradelib.php: call to upgrade_plugins_blocks()
    line 1647 of \lib\upgradelib.php: call to upgrade_plugins()
    line 677 of \admin\index.php: call to upgrade_noncore()
  • Picture of Mark Jones
    Thu, Mar 24, 2016, 5:36 AM
    I am using php 5.5.3 and mssql server 14. it also does not show up in the block list to add to the page.
  • Picture of Juan Pablo Barrio Lera
    Fri, May 13, 2016, 4:47 PM
    I am tryting to install MRBS into my Moodle 2.9.5+ (build 20160506). I started with the file, changing the base folder to "mrbs" (the external module installator complained about the original folder name). There were no problems and the block validated, but on updating the dabatase an error was found:

    Invalid field definition in table {mrbs_entry}: XMLDB_TYPE_INTEGER field "timestamp" has invalid length

    Debug info:
    Error code: codingerror
    Stack trace:

    line 454 of /lib/ddl/sql_generator.php: coding_exception thrown
    line 306 of /lib/ddl/sql_generator.php: call to sql_generator->getFieldSQL()
    line 224 of /lib/ddl/mysql_sql_generator.php: call to sql_generator->getCreateTableSQL()
    line 248 of /lib/ddl/sql_generator.php: call to mysql_sql_generator->getCreateTableSQL()
    line 409 of /lib/ddl/database_manager.php: call to sql_generator->getCreateStructureSQL()
    line 364 of /lib/ddl/database_manager.php: call to database_manager->install_from_xmldb_structure()
    line 867 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
    line 426 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
    line 1630 of /lib/upgradelib.php: call to upgrade_plugins()
    line 433 of /admin/index.php: call to upgrade_noncore()

    I would like installing MRBS as i remember using it normally back in moodle verison 1.9.
  • Picture of Phil Brown
    Wed, Jun 1, 2016, 9:53 PM

    Quick question: Do I need the stand alone MRBS install as well, or is this a full blown moodle replacement?


  • Davo
    Wed, Jun 1, 2016, 9:55 PM

    This block includes a (fairly old) version of the MRBS plugin. Due to the customisations, only the included version of MRBS is compatible with this block.
  • Picture of Phil Brown
    Thu, Aug 4, 2016, 7:49 PM
    Hello Davos,

    I need to implement this for Moodle 3.0 and I'm having some issues. Does this work with Moodle 3.0 with some modifications, or will we have to wait sad Desperate to get it working, our school needs it!


  • Picture of Peter de Groot
    Fri, Aug 5, 2016, 10:36 AM

    Hi... have it running in moodle 3.05.

    Is also coming up with an error, sorry .,.. sorry cannot remember exactly where... when booking a room, from memory.. but it still works.
    The error also complains that it needs a programmmer to look at it..

    Are you going to revisit this block soon ? Is a mission critical one...
  • Picture of eli chan
    Wed, Aug 31, 2016, 11:31 AM
    Hi all, I also got the same error for latest moodle 3.1.1, this definitely help since we are now using two separated systems.

    Thanks in advance.
1 2 3 4 5 6
Please login to post comments