## Blocks: MRBS

block_mrbs
Maintained by Davo Smith
Based on the stand-alone MRBS project ( http://mrbs.sourceforge.net ), this allows users to book rooms and other resources from within Moodle.
659 sites
17 fans

For a full description of this block, please see here http://docs.moodle.org/en/MRBS_block

A Moodle 1.9 version of this plugin can be downloaded directly here: https://github.com/arborrow/moodle-block_mrbs/zipball/MOODLE_19_STABLE - this is not available on Moodle.org as there would be a lot of work involved in rewriting it to pass the automated database naming checks.

### Contributors

• Fri, 7 Oct 2016, 3:33 PM

Thank you so very much.. much appreciated.. School resumes next week....

FWIW... am running the latest version of moodle Moodle 3.1.2+ (Build: 20160929). on Ubunbtu 16.04.

Of possibly more interest... is that I did quick browse of some entries in the database that I created.

And the times seemed to go in as zero ? Hence the 1970 ??

Full texts id start_time end_time entry_type repeat_id room_id timestamp create_by name type description roomchange
Edit Edit Copy Copy Delete Delete 43974 1474603380 1474603500 0 0 18 1474585014 e2061190 B Mitchell I Eng 0
Edit Edit Copy Copy Delete Delete 43975 1474603380 1474603500 0 0 5 1474587497 e4082562 e4082562-Reeves I . 0
Edit Edit Copy Copy Delete Delete 43976 1476072180 1476072240 0 0 26 1474595895 e4022098 Carson cert 2 s&r I vv 0
Edit Edit Copy Copy Delete Delete 43977 1476158640 1476158700 0 0 26 1474595908 e4022098 Carson cert 2 s&r I c 0
Edit Edit Copy Copy Delete Delete 43978 1476072180 1476072240 0 0 17 1474602446 e0203572 Dowling I Yr 11 History 0
Edit Edit Copy Copy Delete Delete 43979 1476158640 1476158700 0 0 17 1474602470 e0203572 Dowling Yr 11 I Yr 11 0
Edit Edit Copy Copy Delete Delete 43980 1476417780 1476417840 0 0 17 1474602499 e0203572 Dowling Yr 11 I Yr 11 0
Edit Edit Copy Copy Delete Delete 43981 1476417840 1476417900 0 0 17 1474602517 e0203572 Dowling Yr 11 I Yr 11 0
Edit Edit Copy Copy Delete Delete 43982 1476072240 1476072300 0 0 4 1474955016 e4025536 GTELD_1 RUDOLPH I palm cards for oral 0
Edit Edit Copy Copy Delete Delete 43983 1476158820 1476158880 0 0 4 1474955050 e4025536 GTENG_3 RUDOLPH I palm cards for oral 0
Edit Edit Copy Copy Delete Delete 43984 0 60 0 0 2 1475740256 e2052982 e2052982 I dsadas 0
Edit Edit Copy Copy Delete Delete 43986 0 60 0 0 4 1475801365 e4050714 e4050714 I adeline 0
Edit Edit Copy Copy Delete Delete 43987 0 60 0 0 17 1475801934 e0203572 Dowling Yr 11 I Yr 11 0
Edit Edit Copy Copy Delete Delete 43988 0 60 0 0 1 1475817218 e2052982 e2052982 I dsadsadas 0
Edit Edit Copy Copy Delete Delete 43989 0 60 0 0 22 1475818873 e2052982 e2052982 I dasdsa 0
Edit Edit Copy Copy Delete Delete 43990 0 60 0 0 26 1475821422 e2052982 e2052982 I dsaasd 0
• Thu, 13 Oct 2016, 3:28 PM

Sorry for the hassle .. I know it is annoying . ......... but have you had a chance to have a look yet.

Peter
• Thu, 13 Oct 2016, 9:17 PM
When there is an update it will be posted here.
• Mon, 17 Oct 2016, 6:35 PM
After a long delay, I've been able to take a look at this plugin again. To respond to the above queries:

Phil, Peter, Eli - I've got MRBS up and running with Moodle 3.1 without any error messages (I've done a bit of a tidy up, but nothing major) - please could you get the latest code from the github master branch then, if you still have problems, send me step-by-step instructions about how to reproduce the problems.

If I don't hear any feedback to the contrary, I'll assume this now works with Moodle 3.1 and put up a new version here later in the week.
• Tue, 18 Oct 2016, 10:40 AM

Appeared to work fine for me .. and I have put it out there for the users.. and will forward any feedback,

Many many thanks for your work on this. Much appreciated..
• Tue, 7 Feb 2017, 9:19 PM
Does anybody know whether this will work with 3.2?
• Wed, 8 Feb 2017, 2:20 AM
Not done any extensive testing (at some point I really should write some automated tests, but that will be quite a big job in this case), but a quick check suggests it works OK with Moodle 3.2.
• Mon, 12 Jun 2017, 7:23 PM
We have got this installed now and its working really well, but is there any way to stop the repeat function? We have staff who need to know when events are happening and the repeated events or getting overlooked.

I've set the repeat options to 1 so that staff can't actually make a repeat booking but it doesn't overly tell them why they can't make that booking when they try to. Is there any way to hide the text so that it doesn't show repeat bookings as being an option?

Many thanks
• Mon, 12 Jun 2017, 8:36 PM
There is no built-in way to do that, but you may be able to hide the elements by adding some custom CSS to your theme.
• Fri, 1 Sep 2017, 12:08 AM
People struggling with "repeat" bookings returning with a booking conflict with a date of 1970 change line 326 of web/mrbs_sql.php from $entrys = ''; to$entrys = array();

Worked for us
• Fri, 1 Sep 2017, 2:48 AM
@Overnet Data - if that's a bug fix, could you post it on github (via the 'source control URL' linked above) or, even better, submit it as a patch (via github) and I can look at integrating it properly. It would be helpful it you gave clear instructions about how to reproduce (I've not tried yet).
• Tue, 12 Dec 2017, 10:50 AM
@Overnet Data, Thanks it works for me too.
• Thu, 18 Jan 2018, 2:24 PM
Sorry mate...
During database upgrade and afterwards it comes up with this error a lot of times..

Sadly .. it also seems to break moodle in a lot, especially in other site administration tasks too.

It seemed to work fine in 3.3 ... so it appears that something about 3.4 is not handling errors very well either...

I am going to have to go back to 3.3.. Have tried the upgrade twice with the same problem..

Pity .. as 3.4 has a new module to convert to https...
• Fri, 19 Jan 2018, 5:12 AM
Looks like there's a new restriction in Moodle 3.4 about characters such as '-' appearing in config settings. I'll look into it when I have a chance, but I'm not sure when that will be.
• Sat, 24 Feb 2018, 7:28 PM
Hi Peter - sorry for the slow reply. The error you have reported is not really related to the MRBS plugin. It seems you have created a role called 'mrbs-admin' (shortname) and that is causing a problem with auth_ldap, which generates its config names from role shortnames (and, hence, is creating the invalid setting).

You should be able to fix this by renaming the role to 'mrbsadmin' instead of 'mrbs-admin' (note that 'mrbsadmin' is the name used by default when installing block_mrbs).