Currently, I'm thinking of adding the link into the admin block (similar to Database for PHPMyAdmin) such that if is_teacher then show the Schedule Lab link otherwise do not show the link. This would prevent students from scheduling rooms. I would welcome any thoughts, feedback, comments, suggestions, or warnnigs. Peace.
I created a course with a complex enrolment key and then manually added the teachers as students, followed your lead on the authentication and it works easily.
Putting the mrbs home page as a resource, web link, works but if anyone finds the url and types it in and is a member of the site they will have access - so not perfect ...thinking off the top of my head, haven't tried this yet - I could put a new field in the database table and manually make it equivalent to the moodle username (for teachers), this would keep students who used the URL out...my (lack of) knowledge of php stops me automating this part.
I have had some good programmers busting their heads trying to make a scheduling sytem to fit into moodle, with mixed success...
do you have a screenshot or a link I could follow
described here (http://docs.moodle.org/en/MRBS_block). But do not got any link on the homepage for accessing mrbs block or even did not get any activity for MRBS.
It has created the required tables in the database for MRBS.
How will I access MRBS from within moodle.
Can anyone suggest me???
Thanks
This is the screenshot of my mrbs - it's not integrated within moodle just hosted and shown as a resource. The authentication uses the moodle username and password, but does require a login at this point - note that the user here is logged into moodle but not mrbs. The user logs in using the same login details as their moodle account and is authenticated against the same database, they just have to do it twice - I sell this to staff as an extra security layer, but the truth is I'm too dumb to figure out how to integrate it.
We are also looking at the integration of this. We can get it to work as a resource with two logins but would like to integrate further.
My current idea is to make MRBS a new course format, thus potentially allowing multiple instances and hopefully simplifying authentication.
I am looking at specifying no authentication for MRBS but assigning the levels (0,1,2) according to issteacher etc. in Moodle. I would like to add the option for students to be able to book time slots for computer labs etc.
This should also include customisable language strings and CSS support.
I have attached a screenshot of my current progress to give an idea of the course format, which still allows section 0 for resources/activities/information to be added.
Let me know what you think and if it will be beneficial to try and collaborate on this.
Yours
James
I am having difficulty getting the calendar to function correctly as a course format, so I took step back and worked on the integration of single sign on.
I now have MRBS running as a resource with the Moodle config included on day.php, admin.php, and edit.php.
I have then created a new session and authentication that work as follows.
- User name is taken as current Moodle user.
- Access permissions are set as follows:
- Guest Users (if allowed) can view bookings (level 0)
- Site administrators or creators have access to admin (level 2)
- All other users with Moodle accounts can book (level 1)
$auth["session"] = "moodle";
$auth["type"] = "moodle";
Currently I haven't tested distinguishing between students and teachers because I have the resource set up on the main page in a folder that sits outside of the Moodle directory. I will have to investigate the potential for course ids to be involved as well.
I have attached the files for people to test if they can.
Anthony,
Yours
James
PS - In my inital course format attempt I singled out a lot of the layout generation and started seperating these from actual functions. If anyone has any thoughts on the layout etc. within Moodle then feel free to post. I will try - time depending - to create customisable CSS for this, so it can be better incorporated into your Moodle theme.
While I like the idea of levels, it does not necessarily fit what I am looking for since I want teachers to be able to schedule but not students. My thought is to add the Meeting Scheduler link to the admin block and show it if it is a teacher. I would also like to have the MRBS authentication use Moodle's isTeacher function so the course id would have to be passed into MRBS. Peace - Anthony
Thanks for the files
The levels I used are inherent to MRBS so changing them would mean reworking the whole MRBS authentication - MRBS defines 3 levels of access so I am assigning those based on Moodle parameters. I can add isteacher (level 1) and isstudent (level 0) to the authentication but I haven't got round to testing if it will work at course level.
Currently my MRBS sits outside of the Moodle_data and there is only one instance of MRBS. Unfortunately there are no teachers on the main page, only admins, creators, guests and users so I started with these. I am going to alter it later this week to see if a course resource behaves differently. If it does then isteacher will also work.
Alternatively it is possible to manually add the access level of a Moodle user but that is a pain to maintain if you have more than a handful of teachers using it.
My plan to allow multiple instances is awkward unless you do an install of MRBS per course or convert it to a course format, block, or activity, which all have their difficulties. I almost have a course format working but something from /course/view.php prevents the calendar working and only the current day can be displayed. I also need to merge the databases to include a course id field.
I'll report back when I've run a few more tests in different areas and tidied up the multiple versions I currently have.
Yours
James
FYI - I made some minor changes to the MRBS code so that the teachers name is automatically filled in. I like the idea of pulling as much information out of Moodle into the MRBS to limit data entry. I was trying to make it a few click experience for convenience.
Unfortunately my summer duties do not currently allow for me to spend much time on this. Hopefully in July I will be able to play some more. I am happy with how my current setup works for my site but would like to have it be more flexible and usable for others.
Peace - Anthony
sorry, I can't find a entry in the database under your link.
But let me say, this is really a fantastic tool to combine with moodle, I can't wait to integrate it into my moodle plattform. Actually, I started the integration into my 1.7.1. moodle yesterday with the package you provide on your site and the MRBS_Changes.zip.
The Installation workes fine and the users (admin/username) are recignized by the MRBS. But I wasnt able to have admin-rights in the MRBS or login again to the System with my moode user/pass.
Is this one of the problems solved by the MRBS-Moodle Integration Pack you mentioned?
thanks for your work and greetings from Hamburg
Stefan
Hi James,
I am excited about MRBS. COuld you let me know where and how I could get information on Integrating MRBS into Moodle.
GArry
I guess this page is the only source of information at this time. You could try following the advice James gave in his reply to my question.
- Olli
As far as I am aware myself and Anthony are the only ones who have released some progress on this.
In a sense they technically don't integrate as such - the two run seperately, although you could share the same database if you like.
What we have done is made MRBS take user information from Moodle to remove the double log in scenario - now if you are logged into Moodle you are logged into MRBS and authentication for MRBS is based on your user status in Moodle (e.g. if you are an admin on Moodle you are an admin in MRBS). This allows you to use MRBS as a resource within Moodle, which is what we wanted.
As part of this Anthony converted all the MRBS files to PHP form and added the Moodle includes. That is the version I have provided a link to below.
Further details on installing MRBS can be found at:
http://mrbs.sourceforge.net/INSTALL.html
Hope that helps
Yours
James
I've installed your zip package in the same directory as moodle:
webroot/
-moodle/
-mrbs/
-auth_moodle.inc
-session_moodle.inc
Then I put include_once("../moodle/config.php"); in the beginning of day.php, edit_entry.php (there is no edit.php?) and admin.php
$auth["session"] = "moodle";
$auth["type"] = "moodle";
As a result, mrbs only gives empty pages anywhere.
If I use $auth["session"] = "php"; I get a working mrbs on those pages where I haven't included moodle's config (week.php). Otherwise, it's all blank. Any thoughts?
The idea for me is to use rmbs as an exam reservation system for moodle so that students could reserve exams in advance and then go to a special computer where it's allowed to do exams. mrbs would then check if that student has a reservation at that time and if so, would show her/him just that exam.
I've since used Anthony's conversion of MRBS to PHP pages along with the authentication I mentioned and have included this all in the following:
www.barkingcollege.ac.uk/cw/moodle/mrbs_moodle.zip
If you alter the config.inc.php file to suit your settings it should all work. I am using 1.6 but am unaware of any conflicts it would cause 1.5.
I place the MRBS folder within the Moodle directory and then link to it as a weblink resource from either a course page or the main page. User information should then be taken from that particular page so you can use the same MRBS tables across multiple Moodle courses.
Alternatively if you download Anthony's version I think that one uses the Moodle DB for authentication whereas mine uses the global $USER variable from the session. I am not sure what difference the two make.
In the auth_moodle.php file you can alter the levels of access for different users.
Hope that helps
Yours
James
You forgot the http:// and the link didn't work though, here's a workin' one. http://www.barkingcollege.ac.uk/cw/moodle/mrbs_moodle.zip
I see you've included the entire mrbs in the package. The problem with this approach is that I've no way of knowing which files have been changed (though I guess I could try to run diff or sth) - I work for a university so I need to be sure of the integrity of the code as well as about the possibilities to upgrade should there be a new version of mrbs (or moodle, for that matter). Also, we have our own customizations to make to rmbs as well so things seem to get out of hand pretty quickly :P. So could you tell me what's actually changed. Thanks .
Gonna try your version now anyway.
in at least edit_entry.php at least if I:
- open mrbs
- click an entry to edit it (says I can't since not logged in)
- in another window log in as student in moodle
- reload the edit_entry page
This got me a lot forward in my work, so thank you again muchly !
The problem arises because you shouldn't be accessing MRBS directly but through Moodle - unfortunately I didn't get that far - I did try restricting the page to force logins but it didn't work.
Regarding the changes from MRBS standard:
- All pages were renamed to have a .php or .htm ending instead of .inc as original.
- All pages include the Moodle config.php file via require_once
- Some of the language strings were altered to reflect different nature of rooms (e.g. internal/external booking is now class/non-class)
- Username is automatically filled into form - I am looking at making this a hidden field when I get time so that we can track who made bookings.
- print_header function in functions.php is changed to print_header_mrbs to avoid conflict with Moodle's print_header function and subsequent pages are modified to reflect this
- auth_moodle and session_moodle are new files
I also started work on making room booking a course format, which would give it greater flexibility as a Moodle integration and allow multiple instance but I had difficulties with the calendar and a couple of smaller issues to iron out. I may pick this up again when I have time after sorting out our 1.6 upgrades.
Yours
James
A course format would be great, too - if we could completely deny users access to mrbs directly. It would probably also make it easier to make the outlook of mrbs more compliant with moodle, and also the CSS could be integrated. It would probably be smart to cooperate with the original MRBS project since the changes you have are so small, so as to build the original one to work with moodle effortlessly. I can imagine that this could be required by wider audiences, too.
Though for my need, I'll probably need to edit mrbs a _lot_ to make it more wizard-like. The current system doesn't have all the fields we need and the UI is also too complicated for novice users.
Update: I commented out the following in in auth_moodle.php, and as actually in my project we probably won't need teachers of specific courses to have any rights to the system anyway, it's pretty ok - - though I still don't perfectly understand what the problem is/was.
// Set access level for teachers, if at course level
/* if (isteacher()) {
return 1;
}*/
I'm in fact trying to extend mrbs to an extent - the database is OK but a new interface is required. Thus, I've made a new php file which works along the lines of week.php or edit_entry.php.
Now, although in MRBS isteacher() only gives the error in the screnario described above, in any file created by me I get it however I access the file, even if it's a resource on moodle and displayed in a frameset: "Coding error: isteacher() should not be used without a valid course id as argument. Please notify the developer for this module error". The only exception is that
Any thoughts? Thank you.
test source:
header("Content-type: text/html; charset=utf-8");
require_once('grab_globals.inc.php');
include "config.inc.php";
include "mrbs_auth.php";
if(!getAuthorised(1))
{
showAccessDenied($day, $month, $year, $area);
exit;
}
?>
we are in!
the result:
<HTML><HEAD></HEAD> <BODY> <DIV class=notifyproblem align=center>Coding error: isteacher() should not be used without a valid course id as argument. Please notify the developer for this module.</DIV><BR> we are in!</BODY></HTML>Update: I commented out the following in in auth_moodle.php, and as actually in my project we probably won't need teachers of specific courses to have any rights to the system anyway, it's pretty ok.
// Set access level for teachers, if at course level
/* if (isteacher()) {
return 1;
}*/
Re: MRBS Integration - Test Single Sign On-MOODLE 1.6
Hi James,
I have installed MRBS . It works all thanks to your suggestions above.
I have had to do the following:
Set parameter $unicode_encoding = 0 The value has been changed from 1.
A LITTLE HELP REQ.:
For the integration of Moodle with MRBS with with the Moodle_MRBS Download which has been graciously provided on the site.
Where is the integration to be placed . Under moodle at the Moodle Direcory?
Under Mod or any other place.
Any precautions that you suggest.
After the integration how does the single sign implemented/ work??
Thanks in advance.
Garry
Re: MRBS Integration - Test Single Sign On-MOODLE 1.6
Place the MRBS folder in the main Moodle directory rather than a subdirectory, otherwise you will need to change the require_once to reflect the new relative location of the config.php file.
We haven't noticed any problems, although I would not say it is a full integration and more of a workaround to remove a second login.
The basic idea behind the single sign-on is to take the user data from the PHP Moodle session and authenticate against that user's permissions in Moodle. This will depend on where you link to MRBS from so that if you link from the main page all users are considered students and there are no teachers, whereas a link from a course page can allow teachers to be given different access to students.
Hope that helps
Yours
James
Re: MRBS Integration - Test Single Sign On-MOODLE 1.6
Hello James and Anthony,
I have installed the mrbs in the moodle directory. But I am not sure how a single log in will work.
I have copied the files from the zip into MRBS folder The link works and the mrbs opens but anyone can open it.
How to ensure that only limited users can open it.
Any ideas.
Garry
Re: MRBS Integration - Test Single Sign On-MOODLE 1.6
I will update the zip on the demo site. There are 2 files to customize for your site. The first is the /web/config.inc.php to setup the db host, username, and password variables.
//hard coded course id (1492) for faculty (all faculty members who can schedule a room are teachers of this course)
if ( (!isset($user)) or (!isteacher(1492,$USER->id)) )
the 1492 should be changed to the course id of the course you want to use for such purposes.
From there it is just a matter of creating a link to the /mrbs/web/index.php file. Let me know if you have any questions or have any other problems.
Peace - Anthony
Re: MRBS Integration - Test Single Sign On-MOODLE 1.6
Anthony,
Thanks for reply.
Well I tried but failed.
It appaers that I am doing something wrong. Could you put put up the file with the changes so that I could replicate the same??
Thanks
Garry
Re: MRBS Integration - Test Single Sign On-MOODLE 1.6
- I added some include config/require logins on several pages, so it is now only accesible from Moodle.
- I added if isteacherinanycourse { } to let the teachers do the reservations and the students do the lookup
One question: on this moment only the admin can set the specs for the rooms and the building and overrule a reservation. How can I give this right also to our local coursecreators?
I believe there is an iscreator function that can be run alongside the isadmin like:
if (isadmin() || iscreator()) {...} where MRBS level is set
Yours
James
Any news on updating this for 1.7 roles yet?
Julian
I also want to look at the latest release which is now at 1.2.5 and see what has changed. I am not sure when I will actually have a significant amount of time to dedicate to this. I may have to wait until the end of the school year for things to settle down.
P.S. I just moved to a Jesuit College here in Sydney. So howdy from Down Under
I had noticed something similar but it was working Ok so I didn't touch it. I believe isteacher should contain an argument such as:
isteacher($course->id)
or
$course = get_record('course', 'id', $this->instance->pageid);
if (isteacher($this->instance->pageid))
I tried the former of these and it generated an error for isteacher but not isstudent, and I am wondering if ids are being carried across pages correctly in MRBS or whether it starts using it's own system and loses the Moodle course ids, which is quite likely.
Yours
James
Does MRBS let you set limits on numbers of attendees?
Re: Does MRBS let you set limits on numbers of attendees?
It's not the same though, I know.
Re: Does MRBS let you set limits on numbers of attendees?
Re: Does MRBS let you set limits on numbers of attendees?
I am trying to implement Anthony's version in 1.61+ - I am getting these error even though the files are there:
Warning: main(lang.da): failed to open stream: No such file or directory in /home/myaccount/public_html/moodle/mrbs/web/language.php on line 141
Warning: main(lang.da): failed to open stream: No such file or directory in /home/myaccount/public_html/moodle/mrbs/web/language.php on line 141
Warning: main(): Failed opening 'lang.da' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myaccount/public_html/moodle/mrbs/web/language.php on line 141
Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/moodle/mrbs/web/language.php:141) in /home/myaccount/public_html/moodle/mrbs/web/index.php on line 47
Can you please help me to the next step there?
Thank you!
I needed for our application to use the moodle language menu in our MRBS based application, so created the below little snippet of code. It's Public Domain, do as you please.
<?php
/*
* moodle_lang_to_mrbs.php
* Olli Savolainen
*
* Based on
* 1. if not empty, the language selected on the current page (GET param), else:
* 2. if not empty, $moodle_curlang, else:
* 2. if not empty, moodle session user language, else:
* 3. moodle site default language
* sets the language both in the moodle user language settings
* (session and if $modify_user_preferred_lang===true, also
* in the user preferences in moodle database)
* and for mrbs for the current page ($override_locale and
* $default_language_tokens).
*
* This means that you can have the moodle language menu, but still use
* the mrbs i18n and its simple language files to allow users to switch languages.
* After executing the below code, the mrbs function get_vocab() should
* return strings in the selected language.
*
* Requires access to moodle functions, that is, moodle's config.php
* has to be included/required before this code is executed. The
* code here should be executed before including/requiring mrbs's
* config file, and the lines, which set $override_locale and
* $default_language_tokens should be commented out in that file.
* Assumes mrbs charset is utf-8. You will probably need to comment out
* $override_locale and $default_language_tokens lines in mrbs/config.inc.php.
*
* Only calls moodle library functions in addition to PHP's,
* and uses only moodle's globals.
*/
require_once("config.php");
require_once "./mrbs/grab_globals.inc.php";
require_once "./mrbs/config.inc.php";
require_once "./mrbs/functions.php";
require_once "./mrbs/$dbsys.php";
require_once "./mrbs/mrbs_auth.php";
//print_r($CFG);
$modify_user_preferred_lang=true;
$langs_check_arr=(get_list_of_languages());
$moodle_curlang=current_language();
if(!empty($_GET['lang']) && isset($langs_check_arr[$_GET['lang']])){
$langstring=$_GET['lang'];
if(!(isset($USER->username) == FALSE)){
$langstring=$_SESSION['USER']->lang=$_GET['lang'];
if ($modify_user_preferred_lang){
set_field('user', 'lang', $_GET['lang'], '', '');
}
}
}else if(!empty($moodle_curlang)){
$langstring=$moodle_curlang;
}
else if(!empty($_SESSION['USER']->lang)){
$langstring=$_SESSION['USER']->lang;
}
else if(!empty($CFG->lang)){
$langstring=$CFG->lang;
}
else{
exit("No language selection could be retrieved. Check your moodle installation.");
}
$override_locale = $langstring[0].$langstring[1]."_";
$default_language_tokens = $langstring[0].$langstring[1];
if (ereg ("([a-z]{2})_([a-z]{2})_utf8", $langstring, $regs)) {
$override_locale .=strtoupper($regs[2]);
$default_language_tokens.="-".$regs[2];
}else{
$override_locale .=strtoupper($langstring[0].$langstring[1]);
}
$override_locale .= ".utf8";
/* End of language setting, print the moodle language menu.
* You will probably want to move the following somewhere else in your
* output, or assign it to a smarty var, but just for demonstration.
*/
/*
if (empty($CFG->langmenu)) {
$langmenu = "";
} else {
$currlang = current_language();
$langs = get_list_of_languages();
$langmenu = popup_form ($page_constants->menu_http_path."?lang=", $langs, "chooselang", $currlang, "", "", "", true);
}
echo $langmenu;
*/
?>
I got this running (thanks for all the advice above), now im having a strange problem.
I have set both Area Admins and Room admins, but when a client books a room, the Area/Room admin do not recive an e-mail.
However , if the client delete's the booking, they are sent an e-mail.
Below are my settings;
###############################################
# Email settings
###############################################
define ("MAIL_ADMIN_ON_BOOKINGS", TRUE);
define ("MAIL_AREA_ADMIN_ON_BOOKINGS", TRUE);
define ("MAIL_ROOM_ADMIN_ON_BOOKINGS", TRUE);
define ("MAIL_ADMIN_ON_DELETE", TRUE);
define ("MAIL_ADMIN_ALL", TRUE);
define ("MAIL_DETAILS", TRUE);
define ("MAIL_BOOKER", TRUE);
define ("MAIL_DOMAIN", 'bsfc.ac.uk');
define ("MAIL_USERNAME_SUFFIX", '');
define ("MAIL_ADMIN_BACKEND", "mail");
#****************************
# Miscellaneous settings
define ("MAIL_ADMIN_LANG", 'en');
define ("MAIL_FROM", $mrbs_admin_email);
define ("MAIL_RECIPIENTS", $mrbs_admin_email);
define ("MAIL_CC", '');
$mail["subject"] = "BSFC E-Booking Entry/Modification";
$mail["subject_delete"] = "BSFC E-Booking Entry deleted";
$mail["new_entry"] = "A new entry has been booked, here are the details:"; $mail["changed_entry"] = "An entry has been modified, here are the details:"; $mail["deleted_entry"] = "An entry has been deleted, here are the details:";
Could anyone offer up an idea as to why when a booking is made, the area/room admin do not get an e-mail, but when a booking is deleted they do get an e-mail
does it matter that our vle is on vle.bsfc.ac.uk domain and our mail is on the root on the domain bsfc.ac.uk
if not please feel free to tell me to go away.
Cheers
This application is very interesting hope someone will reply?
I had modified it for my local installation to work with the new roles and capabilities included in Moodle 1.7+.
Attached is a zip file with the changes.
There are two parts.
1. Is an updated copy of auth_moodle.php from the MRBS integration. This copy works with 3 Moodle defined roles.
mrbs:administermrbs - Allows the user to have administrator rights to the MRBS installation
mrbs:editmrbs - Allow the user to edit content in the MRBS installation
mrbs:viewmrbs - Allow the user to view the MRBS installation (If the user does not have at least this level of access, the MRBS block does not show up)
These permissions need to be assigned at the site level not the course level.
2. A Moodle block used to add the capabilities to the define roles page.
There is 1 bug with the block however. It will not work correctly until you configure it from the administration page. The block is designed to only appear on the front page and the MyMoodle pages.
The idea behind these changes was to allow for me to assign editing or administrator rights to specific users while allowing other users read-only access.
I hope you find this useful
-Steve
mrbs:viewmrbs - granted to: student, teacher, editingteacher, coursecreator, and admin
mrbs:editmrbs - granted to: teacher, editingteacher, coursecreator, and admin
mrbs:administermrbs - granted to: admin
These capabilities are assigned using the "CONTEXT_SYSTEM" which is site level. You may need to change the context used to another context (such as CONTEXT_COURSE) to make this more usable. (There were issues with Moodle 1.7 assigning users the student or teacher roles on the site level.)
-Steve
As for installation I thought it was pretty straight forward. After I copied the auth_moodle.php file to the /mrbs/web directory the only problem I had was that I needed to require ../../config.php because I had to go up an additional level because I kept the files as they were in MRBS (i.e. /mrbs/web). I think we should probably just go ahead and rename the web directory mrbs and place that immediately under the Moodle root.
Thanks again for a wonderful contribution! I am going to repackage the whole thing with your included files and use that as the 1.7 and 1.8 download version.
Another thing that I was not able to do was to assign the URL within the block - it did not seem to retrieve. I noticed that in the config_global.html file it references $CFG->block_mrbs_serverpath; however, in the mdl_config table there is a record with the name of block_mrbs. I suspect that these should be the same. I changed the references in config_global.html and /blocks/mrbs/block_mrbs.php to reference what was in the database; however, we can append server_path if you think that would be cleaner and should we want/need to add other variables.
Peace - Anthony
There was a typo on line 6 of config_global.html.
The line
<input name="block_mrbs" type="text" size="38" value="<?php
should have been
<input name="block_mrbs_serverpath" type="text" size="38" value="<?php
It's fixed in the updated zip file I posted in my other reply
>> I went in and did not see where the mrbs capabilities were. How do I assign those to a role?
The Roles are assigned under Administration -> Users -> Permissions -> Define Roles
There should be a section called "Resource Scheduling" It will appear just above the RSS Client section. See the attached screenshot.
In the blocks/mrbs folder there should be the following files:
block_mrbs.php
config_global.html
DB
Lang
The language file can either remain at blocks/mrbs/Lang/en_utf8/block_mrbs.php or you can move it to the Moodle lang directory. It will find it at either location.
The DB folder should contain the following files.
access.php
mysql.php
mysql.sql
Just unzip the attached file into your moodle/blocks folder and everything should work (hopefully)
I have installed your code into 1.8 and the block installs and displaysd correctly.
I do not however have the ability to see resource scheduling in the roles are as you described above. Any ideas?
Can you check in your database for the table mdl_capabilities and look to see if you have the following 3 entries:
p.s. - I would like to make sure that the /block/mrbs/db folder is lowercase - in your zip it is uppercase. Also, the mysql.sql file seems to be empty. Might this explain the lack of records? And while I am thinking about it, since the block can setup some things it would be ideal if we tested to see if the mrbs tables were created and if not go ahead and create them. This would make for an easier install.
The mysql.sql file is empty because I wasn't creating any DB tables. The only DB table I ended up using was added to mdl_config.
I do like the option of creating the MRBS tables using the block. I'm not quite sure how to do that however. My current install is using a seperate MRBS database.
I built the block for a windows 2003 server. MS Windows doesn't seem to care if the folder is uppercase or lowercase. I'm wondering if that is the issue. if you change the folder to lowercase and re-install the block, does that fix it?
Just to make sure that I understand how the roles work, you users to the student, teacher, and admin roles of the Resource Scheduling block to give them the appropriate access to the MRBS calendar. I ask because when I logged in (actually login not through Moodle's login as) the student account was not able to see the block.
p.s. I updated the MRBS4Moodle17.zip file to include the updated mysql.sql - AFAIK this should work nicely for a clean install. Thanks again to Stephen for his help in greatly improving this integration.
The block is hidden if they do not have at least the role mrbs:viewmrbs assigned to their account in moodle
This block was designed this way because I wanted the teachers to be able to view the schedules but only allow a few users to actually perform the scheduling. Students were not to see the schedules.
(For example I didn't want teacher who were not trained on how to use our mobile computer labs, to be able to schedule the mobile computer labs. Once the teacher was trained, I could give them the ability to schedule the labs)
By default the Moodle Guest users (members of the role "guest") do not have the privlidge mrbs:viewmrbs, so the block is hidden. If you want these users to view the block, you will have to give that role access by adding the mrbs:viewmrbs capability (Admin-> users->permissions-> define roles)
You can change this behavior of the block by modifying the if statement on line 25 of the block_mrbs.php file (This is the line that hides the block for users who don't have the appropriate capabilities)
OK, changing to lower case fixed the issue. Our linux servers are alot more specific than the windows boxes.
New question.
I notice that the block is designed to work on 'site' alocated roles. The issue I have with this is that when I assign teacher at the site level, they are given teacher access on every course which goes against our current model.
I would like it so that the block picks up the permissions from the course it is in. Now I have allready adjusted the block to make it available in courses, but I dont knwo where to start to have it loko at the course permissions.
Any ideas?
00025: // context definitions
00026: define('CONTEXT_SYSTEM', 10);
00027: define('CONTEXT_PERSONAL', 20);
00028: define('CONTEXT_USER', 30);
00029: define('CONTEXT_COURSECAT', 40);
00030: define('CONTEXT_COURSE', 50);
00031: define('CONTEXT_GROUP', 60);
00032: define('CONTEXT_MODULE', 70);
00033: define('CONTEXT_BLOCK', 80);
Changing the roles behavior of the block is the easy part...
look at line 21 and line 22 of block_mrbs.php.
The code is there it is just commented out.
The problem I ran into was trying to the the mrbs/auth_moodle.php file to recognise the lower contexts. that's why I went with CONTEXT_SYSTEM.
You'e welcome to take a look at it. You would just need to adjust line 67 of auth_moodle.php
>>Could each teacher then create separate blocks in their courses and if so would/could they add their own list of students?
I'm not entirely sure how this would work. Wouldn't this require more than 1 MRBS install otherwise anyone assigned to the "student" role would be able to work with the sites MRBS install.
>>I notice that the block is designed to work on 'site' alocated roles. The issue I have with this is that when I assign teacher at the site level, they are given teacher access on every course which goes against our current model.
I had encountered the same problem while I was building the block. The simplest work around is to create a new role called "MRBS_Editor" or something like that and give that role the capability "block/mrbs:editmrbs". Just leave all of the other capabilities at "inherit"
Finally just assign this role (on the site level) to the people who you want to be able to edit the MRBS install. (Users can have more than 1 role assigned to them)
On my current installation I have 3 site wide roles defined for MRBS:
MRBS_Viewer which is set to:
block/mrbs:viewmrbs - Allow
block/mrbs:editmrbs - Inherit
block/mrbs:administermrbs - Inherit
MRBS_Scheduler which is set to:
block/mrbs:viewmrbs - Allow
block/mrbs:editmrbs - Allow
block/mrbs:administermrbs - Inherit
MRBS_Admin which is set to:
block/mrbs:viewmrbs - Allow
block/mrbs:editmrbs - Allow
block/mrbs:administermrbs - Allow
I just assign these as needed to users on the site level.
I was able to do this by going to /admin/roles/assign.php?contextid=1 ; however, I did not see a GUI way of getting to this. Is there a manage roles icon for the main page?
Yes,
Site Administration Block, Users-> Permissions->Assign Roles
Then just click on the name of the Role
You said These capabilities are assigned using the "CONTEXT_SYSTEM" which is site level. You may need to change the context used to another context (such as CONTEXT_COURSE) to make this more usable. (There were issues with Moodle 1.7 assigning users the student or teacher roles on the site level.)
I am wondering what the best default contextlevel is for most users. I want all of my teachers to be able to schedule one of our computer labs. I want the students to be able to view the calendar in case they need to lookup if their teacher is going to be in a computer lab. I want admin users to be able to administer the site. I'm just not sure how the various contextlevels work. I do not want to make all of the teachers a teacher of the main site page - that is reserved for our administrators and Moodle admins. Since you seem to have a functional understanding of these things might you be willing to explain how it would be behave with various contextlevels. Is it simply a matter of changing the contextlevel value in the mdl_capabilities table? I really need to do some more reading on roles so that I understand them better.
Peace - Anthony
p.s. Thanks for your patience with my questions. I'm very pleased with this block and feel that once we get this last piece worked out I would feel comfortable checking it in to CVS contrib under blocks. Also, I switch the table creates in the mysql.sql to create if not exists mrbs_table so that there would be no error if the table already existed or gets moved into the database from an external one. This allows the capabilities to be added regardless of whether the table exists.
As for how to set up the scenraio you describe above, I would look at doing the following:
For teachers:
Create a new site wide role "MRBS_Scheduler" and give it the following capabilities:
block/mrbs:viewmrbs - Allow
block/mrbs:editmrbs - Allow
block/mrbs:administermrbs - Inherit
Leave everything else to "Inherit". Assign all of your teachers to this role on the site level
For the Students:
Modify the default user role: "Authenticated User"
and add to it the capability:
block/mrbs:viewmrbs - Allow
(Authenticated user is specific to moodle 1.8, moodle 1.7 uses the guest role for everyone who is logged into the site)
The default user role is assigned under administration > Users > permissions>user policies
I was just testing the MRBS plugin with my new Moodle 1.8 installation. The installation went on well but I am getting a blank screen when I click on the MRBS block's link.
For your info, I am using xampp v1.6.1
I made a small changes to the MRBS config.inc.php and index.php files. As the directory structure of MRBS was different, I made the following changes to access moodle's 'config.php' file.
I changed the line: require_once("../config.php");
to: require_once("../../../config.php");
in both the files. Now I started getting a blank screen. Please help me fix this issue.
Thank you in advance.
I've managed to install mrbs4moodle OK I think. I'm running version 1.8.2 of moddle and downloaded the MRBS files for that version.
I put the folder mrbs under the /blocks folder, changed the config file, uploaded everything, created the tables in phpmyadmin, went to the /admin page in the browser and it seemed to work OK.
Problem is, when I go to the page /blocks/mrbs/web/ it just gives me a blank page.
Any suggestions?
Warm regards,
Tom.
Anthony, thanks for your work on this.
I think the readme file needs to be updated.
I am having problems. Users only seem to be able to book events if they are assigned a role globally is this true (or is it just me - I created a role MRBS user and gave permissions to mrbs.
yes it is. I guess it will be soon in the Modules and Plugins Area. Anthony sent me the Integation, so I am glad to give you a downloadlink so you can start with the integration.
http://www.medianopoly.de/mrbs/mrbs4moodle17.zip
With a little help I was able to make it run in 1.7.1. I you have a question, we can maybe also talk in german about it.
Greets
Stefan
Thanks for posting the link Anthony. There seams to be an issue with it however as the link appears to be broken.
El archivo anterior estaba con UTF-8 (lo he probado en la versión 1.8)
Lo vuelvo a subir con codificación 8859-1
Hasta pronto y gracias.
Jesús
$string['adminview'] = '¿Cuál es la ruta de tu instalación de MRBS?';
$string['mrbs:administermrbs'] = 'Acceso MRBS (Lectura / Escritura / Administración)';
¿Es un error o deben estar asi?
---
Please forgive my ignorance of character sets and codification. From what I can tell, the lang.es.php file is the same as that which is currently on CVS. I am assuming that everything should be UTF-8. However, it seems to me that there are a few strange characters in the mrbs_block_php file as seen above. Do they need to be corrected?
Estoy hecho un lío... así que los envío en las dos codificaciones. Espero que esta vez vaya todo bien. Si no... me lo dices y empezamos de nuevo.
Jesús
---
Thanks for sending the files with both codifications. I think that I have it fixed. The problem was (as I understand it) that my computer (editor) was not displaying correctly the special character in the UTF8 codification, but after uploading the files to CVS those letters seem to be fine. If we need to change the files please let me know but for now I think they are fine. Peace.
I'm very excited on this module.
I'm wondering whether any kind soul here can give me a guide to the installation of this wonderful module.
I'm using Moodle 1.8
Thanks in advance
I had trouble installing it at first too but it's actually very very simple.
Upload the whole folder mrbs to the /blocks folder which is in your moodle directory.
Then, go to www.yoursite.com/moodledirectory/admin
The tables will automatically be created in the database.
If you then go to www.yoursite.com/moodledirectory/blocks/mrbs/web/ you will find your working calendar!
Thanks to Anthony and all others who have put the time and effort into doing this for all those of us who run schools and have desperately been seeking a software solution like this.
Regards,
Tom.
Hi this block seems verry verry good.
But I think i done something wrong because when I have added this block to my moodle page,
for the first I can only add the block at my main page not in the courses,
for the second and the worst part when i try to log in as a teststudent i cant find the block. Can any one help me were to change this.
Kind regards /Daniel
Hi i found where to change the access so that the students could se and do the nessesary booknings. But now i have a new question and that is if it is possible to stop the time from ticking in the block, the reason i am asking is that i think that this module could be used as an index for our frezzer storage if i could stop time and have a fixed week displayed. do you think this is possible?
Kind regards
Daniel
Hi what i meen is when you are in mrbs like me attached screenshot, what i would like to do is to make the time stand still that you always display the same week in this case monday 31/12 - 6/1. is this possible?
Kind regards
Daniel
Re: Svar: Re: Svar: Re: Svar: Re: MRBS Installation
Svar: Re: Svar: Re: Svar: Re: Svar: Re: MRBS Installation
I think that actually will be suficient for me at this point thanks Anthony.
Kind regards Daniel
Re: Svar: Re: Svar: Re: Svar: Re: Svar: Re: MRBS Installation
HI I was wondering if there is anyone out there that can help me with a (hopefully) simple problem. I have too many areas and rooms in my mrbs to be convenient for using one list or dropdown boxes. Is it possible to have those lists divided into columns? Just so you know I am old fashion and use version 1.2 for moodle 1.9.4, since it is to heavily modified to fit our needs, to be easily upgraded.
Kind regards Daniel
Svar: Too many areas to be in one list, needs columns
I have one more question that maby could be quite easily answered, I would like to modify the del_entry file. so that when you are done you come back to the week wiew of that perticular room. To get to the week wiew is easily done. you just change for day.php?.... to week.php?... after Location: but the problem is to get the $room_id any idea how to get access to that data?
Kind Regards Daniel
Svar: Too many areas to be in one list, needs columns
One ide i have how to make this possible is to copy the following part of the week.php "
# Show all areas
echo "<td width=\"30%\"><u>".get_vocab("areas")."</u><br>";
}
# show either a select box or the normal html list
if ($area_list_format == "select") {
echo make_area_select_html('week.php', $area, $year, $month, $day); # from functions.php
$this_area_name = sql_query1("select area_name from $tbl_area where id=$area");
$this_room_name = sql_query1("select room_name from $tbl_room where id=$room");
} else {
$sql = "select id, area_name from $tbl_area order by area_name";
$res = sql_query($sql);
$sql = "select id, area_name from $tbl_area order by area_name";
$res = sql_query($sql);
if ($res) for ($i = 0; ($row = sql_row($res, $i)); $i++)
{
if ( $pview != 1 )
echo "<a href=\"week.php?year=$year&month=$month&day=$day&area=$row[0]\">";
if ($row[0] == $area)
{
$this_area_name = htmlspecialchars($row[1]);
if ( $pview != 1 )
echo "<font color=\"red\">$this_area_name</font></a><br>\n";
}
else if ( $pview != 1 ) echo htmlspecialchars($row[1]) . "</a><br>\n";
}
" And add it as many times as you want columns and there after select in the red marking on what number you want the column to star. The only thing you need to add more then is when the column should stop. so that you can define the interval you want to write in each column. Any onw knowing how to do that? or have a better solution?
Kind Regards Daniel Håkansson
Thank you very much for the mrbs block for moodle.
This option was recently moved to the admin settings page in the latest version of MRBS.
-Steve
# $typel["A"] = "A";
# $typel["B"] = "B";
#$typel["C"] = "C";
# $typel["D"] = "D";
$typel["E"] = get_vocab("external");
# $typel["F"] = "F";
# $typel["G"] = "G";
# $typel["H"] = "H";
$typel["I"] = get_vocab("internal");
# $typel["J"] = "J";
How do I set it so that, for example, "A" shows "Holiday" in the drop down menu?
# $typel["A"] = "A";
to
$typel["A"] = "Holiday";
-Steve
Thanks for designing this nice tool. I tried the demo and it is what i am looking for..
however, after I installed is asking me the follwing message on notification page...
I put my moodle page link but doesnt do anything?
can anyone help me?
thanx in advance...
What is URL to your MRBS Install? | |
i.e. http://localhost/mrbs | |
Thanks for the quick respond.
I have 1.8.4. honestly I am kind of new to moodle.
I unzipped the MRBS files and put the block.mrbs.php into my moodle Lang file, and then move the entire mrbs folder into my moodle blocks folder.
i went to notifications and get the message that was asking where the mrbs file install.
I haven't made any changes on codes. please let me know where should I make changes.
I appreciate
-ahmet
http://download.moodle.org/plugins/blocks/mrbs.zip
should allow you to simply copy the mrbs directory into the /blocks folder resulting in /blocks/mrbs and the various subdirectories /blocks/mrbs/lang, /blocks/mrbs/web/, etc. You should be able to leave the path blank and it should find it OK. After the notifications page, go to the front page and try adding in a Resource Scheduling block and see if that creates a link to the MRBS code that works. If not let me know and we will walk through and see what is happening.
Peace - Anthony
Cheers,
Vitor
I have copied the folder to the right place and i accessed to the moodle with admin login. When i access to "notofications->modules->blocks->manage blocks" this ask me for that: "What is URL to your MRBS Install?" so....i don't know what i must put here. i already tried some URL's all didn't work. Can you help me please?
Cheers,
Vitor
http://yourmoodlesite.com/blocks/mrbs/web
Please give that a try and let me know what happens. I'll try to break away from the books and see how this works on a fresh install in Moodle 1.9. Peace - Anthony
I have installed Moodle 1.9 on a new server and it is up and running. I am trying to get the MRBS block to work. I have copied the files and created the tables and I hae added all the roles that were specified. I am able to add it as a resource but it will not open from that link. No URL I put in works even though I can go the the same URL in my browser and it will open up. However it opens up to the admin page with me already logged in. If I log out and try to login again using the administrator password I am not able to login. I have tried numerous installs today and read many posts but I am still at a stand still.
Thanks
Sylvia Wingo
Ok, just check the following:
1) login as Admin
2) Block Websiteadministration / Modules / Blocks
3) Resource Scheduling
4) check MRBS Installation path it must be like: "http://yoururl.de/moodle/blocks/mrbs/web"
Was this the problem?
or
Sometimes your webserver can not handle the .htaccess file in the block/mrbs/web directory. Delete/rename this file...
Was this the problem?
Jens-Peter
I just installed the MRBS block et al into my Mooodle 1.9 beta 2 build.
As cited in an earlier post by another member of this site, it is only accessible at the site level.
Here's my situation. Hopefully you can shed some light on whether this is possible or not.
We use a booking system to allow teachers and students to schedule live video chats (using Marratech) for large group instruction and small group collaborations ... hence the need for students to be able to book an a/v classroom.
Is there any way that all users can be given the rights to book (and delete their own) rooms using MRBS but not have any other admin rights?
I looked at the roles capability for this block but no users appeared when I clicked on the roles icon (since none are defined at the site level).
It's ok that the booking system be viewed at the site and course level to allow students in different courses to see when the common resources (rooms) are booked by someone in different course.
We currently use phpScheduleIt by linking to it externally. But this requires adding to the external database when new users are added to Moodle.
Hope this is clear enough.
larry
Try this:
Add to the "Authenticated User" role the capability "block/mrbs:editmrbs"
Every logged in user on your site is automatically assigned to this role. This way the users will be able to view and book rooms. They should not be able to change the bookings for other users as they will not have the capability "block/mrbs:administermrbs" assigned to them.
As to adding the block to the courses that can be done by modifying line 13 of the file "blocks/mrbs/block_mrbs.php" by changing:
return array('site' => true,'my' => true);
to
return array('site' => true,'my' => true, 'course' => true);
Much appreciated.
Both adaptations worked ... with one minor desired adjustment.
Is it possible to have the page navigation visible using this block?
If not, I noticed that by adding the link as an added resource link to page, I can still keep it with the header and breadcrumbs still showing?
larry
-Steve
I did this and hid the block that I created at the site level. Since I gave all authenticated users the read/write capabilities, the link still works for them and keeps the mtbs system within the moodle portal.
I had to comment out the link back to the server in the config.inc.php file (//$mrbs_company_url = $CFG->wwwroot;) to avoid a cascading effect when the name of the server is clicked.
larry
Hi Anthony. i am wondering if you can help me with a little modifications of the entery page for new bookings? What i would like to do is to hide the the rows:
"date" pre defined as the date you clicked on to get to the booking,
"Length" always 1 hour/period
"Room" the one you were in when clicking
"sort"
"repeats" weekly ...
"end of repetition"
"number of weeks".
When i have tried to delete this fields i get errors or wrong settings do you have any ide how to do this?
And finaly when clicking on save i would like the user to go back to week wiew not day as it is now.
Thanks Daniel
Hi a have mutated the mrbs moodule a bit. It's no longer used for bookings of rooms etc but as a inventory system that can be used for example for freezers (as we do) etc. It's not a pritty code but i think it's works quite good, I am not a profesional, so I beg for pardon if it insults any one. its only one thing that i cant get to work, not a major problem but it would be nice if the last column in the search results would show the "Rack" (former "area") and "Box" (former "room") insted of "place" (former "date") i would realy appriciate if any one can help me solve this.
I dont know if any one else will have any use of it but here it is...
Kind Regards Daniel
I already have posted some doubts here but in fact i still with the same problem. I will try to explain what is functionality that i would like to have on moodle. So...in the moodle server we have some school subjects. In one of these subjects the students can book the access to one computer(for example) if the desired student's time slot is empty. The interface that i would like to have when the students access to the booking activity is a kind of week calender, where each day is divided by one hour time slots. So each time slot has one icon where the student can click and make his reservation to that time slot, and after done, this reservation can be viewed for other students that also would like to do their reservation. I think there are more then on module to fulfill this goals (like MRBS, Scheduler module or WebCalendar. Can you please advice me which module i should use and what kind of modifications i must do? By the way, I am using moodle 1.9
Cheers,
Vitor
Once you have installed the block you need to go to Admin > modules > Blocks >mrbs and edit the setting to
http://<your web site>/blocks/mrbs/web
Thanks
I like your mod. It is so easy to install (much easier than the BRBS itself).
But, the role is not working in my Moodle1.9. Only Admin can edit a schedule. No any other teacher or student. The error msag says: no permission.
I've checked your default role for teacher is "allow" to edit. But, no teacher nor students can do anything.
I am in PHP4.4.7 and MySql4.0
I would not suggest assigning users to the student and teacher roles on the system level as they will appear in every course. Instead I would suggest creating roles specifically for MRBS as outlined in this post:
http://moodle.org/mod/forum/discuss.php?d=38604&parent=177615#p304105
If you want everyone to have at least read access, assign the block/mrbs:viewmrbs permission to the "Authenticated User" role since this would apply to every user who is logged in.
Dear Stephen and Anthony,
Thank you very much for your quick replies and valuable suggestion. It works on my Moodle1.9
To install the software:
- Upload mrbs to blocks
- upload block_mrbs.php to lang/en_utf8
- In Notifications, let moodle to install it.
- In block setting, set the url to yoursite/moodle/school/blocks/mrbs/web
- At front page, add mrbs block, and click on it to open a new window of booking system. The magic is, the name of the moodle site already at the left-top banner and the admin’s name at the top-right corner. So easy and smooth installation!
To assign role:
- Front page > Front page role > Override permissions > Authenticated user > Resource Scheduling: Access MRBS (Read only) to Allow
- User > Permissions > Define roles > Add a new role > name as ‘mrbs’ > allow Access MRBS (Read / Write)
-
User > Permissions > Assign system roles: Assign a user to ‘mrbs’. This user will be able to add new booking. Thank you very much. It is fantastic!
But, only one small problem.
At the very top, shows:
[Warning: Server failed to set locale to "en_US.utf-8" (Unix)] Since this mrbs is so easy to use, I’ve installed it into different host (some with PHP4, some with PHP5), but all show same warning.
Looks like it require some language file. In config.inc.php, I tried to # out the language override, encoding, tokens, then it shows (no utf-8 at the end)
[Warning: Server failed to set locale to "en_US" (Unix)]
Would you please tell me how to stop this warning? The mrbs is working very well but this warning is annoying.I guess it might because: In moodle setup > Language settings > Sitewide locale Default: Empty
Choose a sitewide locale - this will override the format and language of dates for all language packs (though names of days in calendar are not affected). You need to have this locale data installed on your operating system (eg for linux en_US.UTF-8 or es_ES.UTF-8). In most cases this field should be left blank.
This field is empty for all of my Moodles on different servers. What I should enter here?Thank you very much.
A small trick to overcome following error, as its still present with Moodle v1.9.
Error-> Warning: Server failed to set locale to "en_US.utf-8 (Unix).
Once mrbs is installed (blocks directory), this is for unicode encoding
Edit: blocks/mrbs/web/language.php
Line 263
$locale .= ".utf-8"
change this to
$locale .= "_utf-8"
C.
Zbysiu
It installed just fine.
It's running fine but... it's impossible to make a repeated booking.
Bug?
HTH
Zbysiu
Are you using the same (latest) version of this block?
I installed version 1.4 2008/08/07
I did make the mistake of first putting it in the Modules folder and wondering why it wasn't showing.
p.s. - I've taken a quick look at the code and it looks like when I was patching up the sql injection problem I was a little over zealous. Actually, it looks like I forgot to pass the repeat parameters from edit_entry.php to edit_entry_handler.php.
I filed the bug in the tracker: contrib-653
I hope I've not misinterpreted your question.
Zbysiu
You would still need to assign the permissions at the system level but only to the members of the course.
You could then either modify the code for the mrbs block to appear in a course as described in this post (http://moodle.org/mod/forum/discuss.php?d=38604#p374489) or just add a resource pointing to the URL of your mrbs instalation. If you modify the code for the mrbs block, it will be possible for any teacher to add it to their course.
-Steve
1. I just found that I can see the mrbs block pages (.../mrbs/web/day.php?day...) without having to login.
Is there a way to prevent this?
I know there is a read only permission in roles but what's the use of it if you don't need to be logged in to see bookings?
2. When addressing such a page without Moodle
login and clicking on the add booking sign I'm asked to log in.
Unfortunately this doesn't bring me to the Moodle login screen.
Is there a way to change this?
It's rather confusing for users.
>> Is there a way to prevent this?
>> I know there is a read only permission in roles but what's the use of it if you don't need to be logged in to see bookings?
MRBS works internally by using 3 separate access levels:
Level 0 - Read
Level 1 - Edit
Level 2 - Admin
By default MRBS assigns all unknown / non-logged in users to access level 0 (read only) access.
The three Moodle permissions were set up to correspond with the three MRBS access levels.
block/mrbs:administermrbs - is assigned MRBS Level 2 permissions.
block/mrbs:editmrbs - is assigned MRBS Level 1 permissions.
block/mrbs:viewmrbs - is assigned MRBS Level 0 permissions.
Since MRBS assigns read level access to everyone, the block/mrbs:viewmrbs permission in reality only determines if the user can see the mrbs block inside of moodle.
The access levels are determined by the file: block/mrbs/web/auth_moodle.php
-Steve
Now I noticed some strange behaviour of the block using IE7.
Loading (or refreshing) a page takes way over 20 seconds (and even CPU load of my computer goes up to 50%).
No such problems usinf FF2 or the old version of the block.
Turning it off or opting for the bgcolor highlite method eliminates the problem. So, is this a IE7 issue?
I hope this helps,
-Steve
I have installed the MRBS block on 1.9.2 and it seems to be working. But is there a way of bulk uploading room bookings I need to import our timetable into it and wandered if it can be done quickly?
Thanks
Sarah
Yes it is possible, I do it each year but there are some tricky sections to watch out for. I use 'periods' not time so the start_time and end_time values work slightly differently. Also BST causes a little problem and I have to adjust those timings. My spreadsheet on this is at school not at home so it will be next week before I can look at it in more detail, but if you have any questions feel free to reply or message me...I'm in Kent, did I hear you have moved on elsewhere?
Dave
Hi David
I am planning on using time rather than periods but if the spreadsheet would help that would be great.
I still live in Kent but have left CCW now self employed as an ICT Consultant.
Sarah
A day is 86400 seconds and a week 604800, so once you get the values for the first week then just add these...I'll dig out my spreadsheet next week and see if I can tweak it to do timings and then put a link in this forum.
I took care of the daylight saving by doing a SQL update for times between the start and end dates.
Couldn't find my spreadsheet but for straight forward 'time' entries...
=(DateCell-25569)*86400
converts an Excel date/time to the unix timestamp. This (I think) does GMT, so to get the daylight saving you have to either add or subtract 3600. If you can get your yearly timetable into Excel it's then a case of swapping your room designations to the room_id in mrbs, and if you want the teacher to be able to alter their timetables setting the 'create_by' field to their login id.
The csv file I upload to the mrbs_entry table:
start_time and end_time use the above
entry_type is 0
repeat_id is 0 (I avoided using repeating sessions as I found it easier)
timestamp is 0 (but could be anything you like - it can make deleting groups of records easier if you give it a set value)
name is text (appears as the booking - I use the class designation eg 10IT1)
type is I
description can be anything but I set it to 'Timetabled' to separate it from ad hoc bookings.
Thanks a lot,
Mike
Thanks
Ken
if ( has_capability('block/mrbs:viewmrbs', $context) or has_capability('block/mrbs:editmrbs', $context) or has_capability('block/mrbs:administermrbs', $context)) {
where $context is defined as:
$context = get_context_instance(CONTEXT_SYSTEM, SITEID);
Could you provide a step-by-step as to how you assigned the roles? Peace - Anthony
here's the details you requested....
Moodle 1.9.2+ (Build: 20080813)
Meeting Room Booking System - MRBS 1.2.5
DatabaseMySQL 4.1.22-log
SystemDarwin mhscluster.aps.edu 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
PHP: 4.4.8
I assigned the roles, by going to the admin settins block, front page, front page roles, select the role (scheduler) and click on appropriate names in the list to move them to that role. I did give some folks the read only role..same process.
again, for the majority of folks this worked as advertised. but for at least a couple of people, the module doesn't show up, no matter what role I assign to them.
hope that helps find the answer.
thanks again.
I know this was asked over a year ago, but has anyone done anything getting mrbs running ms sql?
I have no idea about php programming but I'm more than happy to give it a go.
I'm looking for a way to prevent users booking more than 14 days in advance.
I found a hack on the MRBS mailing list.
Unfortunately I have no idea which file to change.
Did anybody in this forum tried doing this?
Any help would be appreciated.
Jean-Pierre
From the Sourceforge page, I've got some code that looks plausible (though may not be quite right). When I plug it into edit_entry.php it simply has no effect. It might be that the code is wrong, or possibly it's in the wrong place in the file.
$user = getUserName();
$usr_level = authGetUserLevel($user, $auth["admin"]);
$SevenDays = time() + (7 /* days */ *
24 /* hours */ *
60 /* minutes */ *
60 /* seconds */);
if (($starttime > $SevenDays) && !getAuthorised(2)){
$err = "You cannot book a room more than 7 days in advance. Please contact
reception.<BR> ";
return $err;
exit;
}
You'll need to patch 3 files:
function.php , edit_entry_handler.php , and config.inc.php.
Mind that this patch doesn't prevent a user to make a repeated booking.
(So we had to limit the repeated bookings to 1 .)
I actually have trouble installing MRBS into moodle.
I get it running (MRBS for Moodle 1.9 and newest version - I do have Moodle 1.9.2). I can make entries, but:
1) only the first entry I make shows up in the calendar. All other entries are written to the database and can be found via search as well but do not show up in calendar.
2) All entries get strange durations even if I don't change the number of periods. The first entry block the whole day starting fron the period I choose as beginning. But it blocks even more periods than I tell it.
Anything else seems to work. I cann edit ressources and rooms via admin.
Might that be because my phpAdmin tells me that the database uses latin1?
Thanks for your help...
René
After reinstalling mrbs several times (I really tried all versions available) I got the newest version running correct and stable.
BUT WITH ONE BUG: Set to periods (I need that because my server (Webspace) is located in USA and I want to use German time zone - so I want to use periosds) the mrbs blocks all periods of a day starting from the one choosen in the calendar. Opening the entry it shows a number totally different from what was entered. Even changing the existing entry does not fix it.
So how can I get mrbs using the number of periods I tell it?
Thanks for your help...
Update: It does not work: The first entry is shown. But any further entry does not appear in the schedule (but is written to the database). ((
I want to be able to disable students from being able to even view the MRBS booking if they happen to get the URL. I know how to revoke permissions on the block, but that doesn't help if they happen to stumble across the URL and go there automatically.
I understand this is probably an extension of MRBS, rather than Moodle, but if someone has a clear idea of how this is possible, it would be great! Thanks.
I have not tried but this, albeit ancient post from 2005, post points a way it can be done:
http://sourceforge.net/mailarchive/message.php?msg_id=430C982C.7010509%40redux.org.uk
I installed the newest version of MRBS plugin into moodle 2.4.2 and it runs .
I am able to setup erverything correctly - even access by different user groups.
But I have a big problem: Whenever I enter a new entry I choose the number of periods which should be blocked. That entry is writen to the database (checked) and is searchable by the mrbs search. But it does not appear in the timeptable. When I search the entry and open it from within the search results, following strange duration is shown: "3.41606E+15 periods" instead of my choosen 1 period.
when I change the end time manual in the database, the entry appears in the timetable.
What is going wrong with end time?
The server and database are running on a US-Server with US-time. Moodle is set to german timezone and German language.
Thanks...
René
I am using moodle 1.9.3 and downloaded the latest version of mrbs plugin.
I can create rooms but if I create an event it will not schow up in the timetable. When I search it, it is found but it the event details it says "duration: 3.41606E+15 periods".
The database is mysql and I changed all the tables from latin1 to utf8_unicode.
I don't know, how to fix that - I tried so much
Thanks for your help...
René
Hi there Anthony -I hope this is the right place to ask this question; I wasn't sure
I went out to a school today just starting in Moodle and they have MRBS on their front page for teachers but also want the students to be able to see sitenews on the front page. My understanding is that for students to see sitenews the default front page role has to be set to student instead of authenticated user but what happens then is that the teachers lose the ability to see the resource scheduling block. How can we resolve the two please? (I have only ever added this block myself once at a school so have very little experience of it and they didn't have sitenews showing)
you find in the block "Site Administration"/"Users"/"Permissions"/"Define Roles" every Role of the System.
When you install the mrbs-Block you get 3 more Permissions (Access MRBS (read/write/admin), (Access MRBS (read/write), (Access MRBS (read only)).
Here you can define what you want....
Jens
extra role ist the easy way to solve your problem. Only read/write permission, and the give all teachers this role....
Jens
Hi Anthony and all,
I installed mrbs block and it is working, I can see calendar and time slots but now I don't know how can I insert mrbs block to my moodle or my website front page? is it by linking to the mrbs URL directory?
My second question is: what should I do to match a booked time slot to the specified ressource?
Regards,
when you install the block correct, you find after login with your admin acount in moodle at the block site administration , modules/blocks/resource scheduluing the global configuration area of this block.
when you have configured that, go to the start page of your moodle, turn editing on and add the Block resource scheduling.
Is this the tip you need?
Jens
Hello Jens-Peter Misch,
ok, so I add the Block Resource Scheduling by specifing the URL of this block
adding new rescource>> link to a file or website and I put in location this URL http://127.0.0.1/blocks/mrbs
now I want to link the time slot to the rescource URL in booking.
for exemple when some one book for room 1 or area 1 how can I match these area to the specified URL rescource?
thanks
the link should be like this:
http://127.0.0.1/blocks/mrbs/web/week.php?year=2009&month=2&day=12&area=3&room=8
You have to find out which area id is which text in your mrbs. This is very easy. Go to your mrbs, then move the cursor over the area text you want to link, in the footer of your browser you find the id number for this area. The same way is to find out the room id....
Was this the right tip for you?
Jens
Hi,
All my thanks for you Jens,
Asma
Hi Jens,
Thank you, but I will detail my problem more:
after login to my moodle you will find a list of courses, if you click on one of these courses a page containing a link to the mrbs block will be displayed.
folowing that link, you are in the Meeting Room Booking System, you can see all the time slots for this area.
you choose one time slot for booking, you fill the form for booking and that's all,
so normally now when you click on your name in the chosen time slot this link normally redirect you automatically to an other web page that I should specified.
but what is happening is that when I click on this link I see only information that I entred previously in the form.
my prblem is where should I enter the URL of the last web page, in a way that when I click on my name at the booked time I can access the web page of the booked area.
Thanks and Regards,
Asma
Same problem here.
I have successfully installed MRBS onto Moodle and it is working fine.
Now that i have tried to create a link onto my website and try to login directly onto the MRBS using the username and password, I'm not able to as the system shows that i am not authenticated.
Wondering anyone can help me out.
Thanks in advance.
Andy
I need more information.
Version of your Moodle, Version of the mrbs-Block
Jens
in your description you say "MRBS requires MySQL"; we run Moodle 1.9 with postgres.
Do you know (or anyone else) whether there are conflicts or problems importing the MRBS-Modul in postgres?
Thank you in advance
Thorsten
1.) How does one change the default periods? For example we have a block schedule so instead of period 1 it needs to be period 1A, period 1B, period 2A, Period 2B, etc.
2.) Is there a way to change the default view to month instead of Day?
Thanks.
If you are using an older build (such as the moodle 1.9 or 1.8 versions) then you will need to modify the config.inc.php file that will be located in blocks -> mrbs -> web folder of your moodle install.
The period names can be assigned in the calendar settings section, and the default view can be found in the Miscellaneous section.
I'm sorry to be the bearer of bad news, but we have been conducting a code review and the mrbs block is unsupportable in its current state and will need to be substantially rewritten, in fact there is a page about it here http://securityreason.com/securityalert/3492
The way the code uses $_POST and $_GET in emulating register_globals leaves it vulnerable to cross-site scripting, SQL injection attacks, and potentially overwrites variables elsewhere in the Moodle code. The code in the file grab_globals.inc.php should be replaced by optional_param() and required_param() calls.
The database connectivity is currently implemented using a bespoke API which duplicates the functionality of Moodle's adodb library, and has not had a history of thorough security review and testing experience.
Is there any reply for these guys, as I want to be able to implement this? According to your documentation, sql injection vulnerability has been patched, but with downloading the 1.9 version, MRBS still says version 1.2.3 when installed.
I believe that build is using 1.2.5 of MRBS and all of the $_GET and $_POST requests were removed in place of Moodle's optional_param() and required_param().
The upgrade to MRBS 1.2.5 was addressed as part of CONTRIB-230
The security alert you referenced above was addressed as part of CONTRIB-254
No idea on the Database portion. I know it was looked at as part of CONTRIB-629
but was not changed.
-Steve
Whilst some problems have been addressed, the code still makes very poor assumptions. It still includes the code in grab_globals which emulates register_globals, and still uses it's own simple database access code, which performs no checking, filtering or escaping of variables that come straight from the GET variables from the URL query string.
Obviously they are still not happy esp with the database access. I didn't think it was such an issue, but they do. Time to set-up our own server perhaps??!
Hi.
I tried to indtall mrbs block with moodle 1.9.3 and it was working well.
but now I installed the moodle 1.9.3+ and I put mrbs file in moodle/blocks but when I press notifications this windows appear.
1.Enabling the PHP setting display_errors is not recommended on production sites because some error messages may reveal sensitive information about your server.
2.The cron.php maintenance script has not been run for at least 24 hours
3.Please register your site to remove this button
I uninstalled the 1.9.3+ and I installed the 1.9.3 but it was the same thing
although it was working.
Well nothing to do with mrbs, its related to server settings.
In your php5 (php.ini) turn off the display errors and you have to run cron.php every 24 hours to check for the errors (if there are any), just clicking on cron.php.
If you want to register your moodle site with moodle.org then click on register button if not
forget about it.
Cheers
Kieron :0)
Thank you Kieron, I changed the php.ini and the message is removed.
but still no notifications, and mrbs is not working.
Hi Kieron,
Everything is ok now!
tnk you.
Because of the announced security issues I updated my moodle site to 1.9.4. and installed the mrbs for 1.9.
From the admin page there are no error messages, but mrbs does not work.
When I try to access mbs, there are error messages like
"Table 'nameofdatabasetable.mdl_mrbs_area' doesn't exist" and
"Table 'nameofdatabasetable.mdl_mrbs_entry' doesn't exist"
Any ideas?
Thanks in advance
Andi
look at your database. In old mrbs version the prefix of the table was mrbs_. In the new version it is like the other tables of yout moodle system. Maybe this tip can fix your problem....
Jens
das wars!
Da ich bisher sowieso nur mit Probedaten gefahren habe, konnte ich die Datenbanktabellen rauswerfen, von moodle neue anlegen lassen und jetzt funzts....
Andi
Hi,
How do i completely remove the days and months view, leaving only a weekly view as standard?!
Thanks, great block!
Adam
I changed the standard view to weekly:
$default_view = "week";
How do i delete the 'view day' and 'view month' options at the bottom. Would i do this in index.html?
Kinds regards,
Adam
Hello Anthony and all,
When I install the block as per the included instructions and then insert the block into my front page, I get a dead link labelled "Schedule a Resource (Computer Room)"
Wondering if someone could shed some light regarding some basic installation questions...
1. Is the /web directory (ie.the actual MRBS program) supposed to get installed outside the moodle directory or does it stay where it is? ...and if it stays where it is, what URL should get entered into the block config section?
2. The MRBS config file looks like it uses the moodle config file to access the database. Is that correct? Do I need to make any changes here?
Thanks for your work on this one,
Fernando
question 1:
the web directory must stay where it is (blocks/mrbs/web). You can see the link if you login as admin, put the block on your front page in moodle and move the cursor of the mouse over the text in the block.
question 2:
when you install the block, you can configure it by the global configuration of the block. Login as admin, Administration Block / Modules / Block / Mrbs section. There you find the configuration section for this block. In the older versions of the mrbs block, you have to confige the config.inc.php file in the mrbs block directory.
So if you use a new block version it is easy to configure this block.
can I help you with this words?
Jens
Hello Jens and thanks for your reply.
Still no luck.
The admin section for this block just asks for a URL ("What is URL to your MRBS Install?"). In this section I enter (http://mymoodlesite.com)/blocks/mrbs/web
When I follow the link in the block, I get a "Internal Server Error" message.
Any ideas?
Thanks,
Fernando
Forgot to mention that I'm running Moodle 1.84.
Thanks.
it looks like your webserver do not like the .htaccess file in the web directory. Please delete this file - I think then it will work....
Is this the tip you need?
Jens
BINGO!
That did the trick.
Thanks Jens!
The obvious one was to change the block_mrbs.php file in the main directory, this didn't work on several servers. I then tried the same file in /lang/en_utf8 in the mrbs block folder, and again there was no result. I thought it might be a caching issue, but it never fixed it. I noticed in another post in this forum that the file can also be in the main /lang/en_utf8 folder, and that fixed it. Hope this helps someone else.
Great work Anthony, a very useful piece of coding.
Paul
Hi
I have the MRBS block installed and fully up and running and all staff at our school think its brilliant...... only sometimes we notice it running REALLY REALLY slowly. Is this a common characteristic for most people i.e. does it run quite heavy? Also these periods of time when it runs slow arnt jut when the site is being hammered, i have tried using it with no one else online and it still runs very slowly!
Any one else find the same problems?? or is it more likely to be a server related problem at my end?
Thanks to anyone who can reply!
Gareth
Mike
Hi Mike,
Using ie6 and mainly ie7, had a breif look at the block settings but cant identify the css highlighting you mention am i looking in the right area?
Thanks for your help Mike much appreciated!
Gareth
i never understand wht ur sayign sir..
but my problem is solved with some clarificatiosn,,plz try to clarrify some doubts
here http://drupal.org/node/389458
Since moving the clocks forward for British summer time all of our room bookings prior to this are an hour behind. Please could someone give me some guidance on how to rectify this issue
Thanks
Sarah
I have downloaded and installed from the moodle modules page using the download latest version link. A more of the block_mrbs.php shows the date of 2008/12/27.
The version number is a lot older than that. But I think I have the latest version.
I installed and followed the doc as stated in the README.
I was a bit confused, but think I have created the roles as stated.
The problem .. When I add the block and then click on the link it brings up the main
mrbs page .. but says I am not logged in.
I tried to login manually using the admin username and password. .. but no joy.
Can I get some hints as to where I go from here.....
Am running moodle version 1.9.3 +
TIA
Peter
Gareth.
you are the best. thank you for posting this fix. MRBS now flies between screens.
in the block "Site Administration"/"Users"/"Permissions"/"Define Roles" I see that no
extra Permissions (Access MRBS (read/write/admin), (Access MRBS (read/write), (Access MRBS (read only)) for MRBS roles are shown.
So at the moment only the administrator can see the MRBS block.
moodle 1.9.4+
PHP Version 5.2.8
MRBS 1.2.3
Thanks for any advice
Andi
Strange: There seems to be a problem with the databank tables:
Although I deleted them in administration/modules/blocks and created them new via administration/notification there still seems to be data (a testroom and testarea).
But even putting someone as editing teacher on the front page didn´t make him see the MRBS block, even if an editing teacher should be able to view and edit mrbs.
Andi
Mike
Andi
1. When I try to Forcibly book a room the following message is shown:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/w00b7d51/moodle/blocks/mrbs/web/mysql.php on line 62
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /www/htdocs/w00b7d51/moodle/blocks/mrbs/web/mysql.php on line 64
Does any one know what this means?
2. Although I created a global role mrbsedit who is allowed to read/write/admin mrbs, force bookings and see all users timetables, only the moodle-site-administrator, not the mrbseditor is allowed to access the admin-part of mrbs....
Moodle 1.9.5+ (Build: 20090624)
MRBS 1.2.5
Datenbank: MySQL 5.0.51a-3ubuntu5.4
System: Linux dd20416 2.6.24-24-server
PHP: 5.2.9-1nmm1
Thanks for any help
Andi
I need the mrbs-Block versionnumber. The actual build is 2009061900. You find this if you login as admin, block website administration, modules, blocks, Manage Blocks.
I just install this build on a 1.9.5+ Version yesterday without any problems...
Jens
the version number is 2009060100.
I´ve downloaded it last week from here
http://download.moodle.org/download.php/plugins19/blocks/mrbs.zip
(Download for moodle 1.9) Somewhere it was written not to "download the latest version" because it is for moodle 2.0
Andi
Thanks,
Mike
It works admirably.
Thanks,
Andi
Firstly, thanks for all the hard work getting this module going. I have it working well in 1.9.3 and the 'latest' version. Teachers can book rooms etc and it is working well with the Custom Corners theme.
There is a bug though. If you add a second area and a few rooms, when you go to the 'Add Entry' page the 'Room' combo box collapses to nil preventing any further action. If you refresh the page the combo box fills briefly then collapses again. Once the second area is deleted the combo box returns and everything works fine again.
Moodle 1.9.5+
PHP version 5.2.10
mysql 5.1.35
mrbs version 1.2.5
Hi Anthony (and all),
Just thought I'd highlight something that could be mentioned in the docs.
Setting up new MRBS roles as per the docs doesn't quite work. If the only capability set to allow is one of the 3 new ones mentioned (the others left as not set) and the role assigned to users for the front page, the block does not appear. There must be other capabilities needed at a higher context than authenticated user or whatever a logged in user defaults to on the front page. To get the block displaying the roles need to be assigned as site.
Please correct me if I'm wrong, but this is what I had to do to get the block behaving correctly on my site (1.9.4+).
BTW will the MRBS block work with 2.0?
Vinny
give the role as global role, not front page role....then it should work...
was this the right tip?
I describe this in the german moodledoc.
Jens
When I created the role ... I just selected the option for admin on the administrator
account, and so on for the other roles (view/edit). Is this correct ??
Can you offer me any other suggestions ?
TIA
Peter
The link contained in the block was point to my OLD moodle install on another server/web address . I had installed mrbs onto this old server/web address and then migrated to the new one, sans the mrbs block. The new server/web address is very similar to the old one.
I had to edit the moodle database and change the web address in the mdl_config table to point to the new server !
I assumed that the web address of mrbs was in the block config page, where it was correct. Is this a bug. ?
Anyway ... the logins work well... excellent in fact. I am impressed. Still having fun with roles.. but that is the learning curve..
Another problem ... The n week function in the repeat booking does not appear to be working. I had to put in an end date...
Also ... when I created a series for a lunch period for all the rooms in an area. When I tried to delete the series .. it did not appear to delete it from all of the rooms. I had to go to each room and delete ...
Also .. .how hard is it to increase the number of number of colour codes from 10 (J). I was going to put all all of our courses (more than 10) so I could go crazy with colour .... but will this cause problems with the listing at the bottom of the table ?
Nice module .. tx
Regards
Peter
Following the upgrade, I installed the 1.9.x version of mbrs, recreated the MBRS_Scheduler role via Site Admin, assigned it read/write access to the MBRS block, then allocated the user to this role in System Roles (when I view Assign System Roles, I see the user correctly allocated to the role). The problem I have is that the user still gets an Access Denied error when they try to create a new entry in the booking system. I have no idea why this is happening. I personally have no problem creating new entries as I have Administrator privileges. For some reason, setting block/mrbs:editmrbs to Allow does not seem to be sufficient, however I don't see any other privileges which should need to be enabled for this type of access. Just as a test, in the MBRS_Scheduler role privileges, I set moodle/site:doanything to allow and the user was then able to create new entries, so changes to the privileges of the MBRS_Scheduler role are obviously still taking effect.
Can anyone help with this? Thanks in advance.
sorry for this lat answer...
did you update the block mrbs files too?
Mybe there is/was the problem...
Can you tell me the version of your mrbs block?
Jens-Peter Misch
I'm testing the MRBS module on 1.9.5+ but for some reason, only the Administrator account can make/remove bookings. I've globally defined the READ/WRITE MRBS flags as ALLOW for Students and Teachers but I'm still getting the Access Denied - No permission error.
What error(s) might I be making and where should I look?
Thanks,
Dave Thompson
when using the mrbs Block you have to give the permission to the front page (after login) on moodle.
Normally the users are authenificatet users after they logged in in moodle. In my moodle I make a special role "Mrbs Bookings" for my teachers in the moodle. This role has read/write permission. Our students get the read permission over the change in the role authentifivated user (read mrbs)....
Understanding my words (in very bad english)....
Jens-Peter Misch (Germany)
I was hoping to add staff to the group based on which OU they are in in Active Directory (similar to the Course Creators).
Can anyone help with this?
The easiest way is to make a new role with only the rights to read/write mrbs. Then all teacher must set to this role.
You find this
http://docs.moodle.org/de/MRBS_Block
here, but only in german.....
Jens
at the moment I have to input the room bookings manually so that teachers can then see which IT suites are free for which periods and book them. This takes a long time and can lead to mistakes. With a two week timetable, that is Week A and Week B bookings are repeated every 14 days. We have a person responsible for the timetabling, which is a complicated task, and she produces as spreadsheet from which I can then input the necessary information into MRBS, usually at the weekend. Managing the Moodle VLE in school is not my main job, I'm an IT technician, so anything which would ease this task would be helpful.
Repeat Type: | n-Weekly |
Number of weeks(for n-weekly) | 2 |
Repeat Day: | Saturday |
Repeat End Date: | Friday 25 December 2009 |
Let me know if this gets at what you are hoping for. Peace - Anthony
http://www.irpens.co.uk/moodle/MrbsConversion.mdb
You will need to figure out how to get your two week timetable in and it will only work if you use 'Periods' - it's set up for 7 but I think there will be no problem for fewer...
Create the mrbs_entry structure in Excel. To do this you will need to:
- examine mrbs_room and put the room to ID mapping into Excel.
- Get your timetable for the year into Excel, I put the calender into Access and the weekly timetable and link them together on the weekday. (Your two-week timetable will make this only a little more tricky I imagine)
- Arrange the timetable into the column headings seen in mrbs_entry
- change the dates/times from your timetable into seconds
- I use periods rather than actual times, so what I do to establish a baseline is to put in one booking and then find it's start_time in mrbs_entry
- Change 'datetime' from timetable into seconds using the baseline, adding 86400 increments it by a day
- use a lookup to change rooms from the timetable into the ID required by mrbs
- entry_type is 0
- repeat_id is 0
- timestamp (I normally use a small number like 2009 so I can identify entries I've made via this upload to allow easy removal if I get it wrong)
- create_by - anything you like but I make this the teacher in charge of the class (they have access to edit etc if you use the same authentication then)
- name: the class title eg Y10 Set 1)
- type: you can put anything here, I actually use a letter not included by mrbs in general and then can use that with CSS to colour code the cells in the calender - this makes it easy for me to see what are timetabled lessons and what ad hoc booking have been made.
- don't put an ID field in, mrbs will create this when you upload the csv.
- upload to your database. (I have the little DB utility installed that allows me to access the database from moodle's admin screen, list the column headings in the CSV upload...)
Every day = 86400 seconds (start_time and end_time use seconds)
I am confused. I'd like to import MRBS bookings and the MRBS docs mention MRBS block/import as a way of importing timetable via cron. I have seen http://tracker.moodle.org/browse/CONTRIB-1189 which appears to be exactly what we want.
Is this feature not 'live' yet?
thanks,
Carol
The import function of MRBS seems fantastic, but...
Is it at all possible to import into periods?
Cheers
JR
Treviglas Community College
~Newquay, Cornwall~
How do you get the CSV imported?
For periods I think you set period 1 starting at 00:00 and ending at 00:01, period 2 at 00:01 to 00:02...but until I figure out how to get the csv file in I cannot test it
In the settings of the block (Administration > Module > Blocks) there is a field at the very bottom, which you have to put the path to the file in, this is imported when cron runs...
Its very much worth reading the import documentation, which I suspect you have seeing as you know about the CSV import
Cheers
JR
I have managed to bodge an import into periods...
The periods are timed from midnight for one minute... So, Period one is 00:00 until 00:01 then Period two is 00:01 until 00:02 and so on...
If you format your CSV into the above time frame then it will import...
Hope this helps others...
Hi Dave,
I'm also having this problem. can you advise how you got over it.
The only user who can add a room booking is the Admin user. I have added myself to the roles but still have access problems.
Ian
I've tried changing their role, but nothing seems to work.
Any thoughts? ideas? places to look? things to try?
I'd enter this in the tracker, but it's down for an upgrade at the moment. Thanks in advance.
Ken
I'm also having this problem. can you advise how you got over it.
The only user who can add a room booking is the Admin user. I have added myself to the roles but still have access problems.
Ian
Did We lose the possibility to delete a repeated booking?
I had to delete the repeated entries one by one...
I'm Using: block_mrbs.php,v 1.10 2009/06/19.
I did a quick search for new lines in the blocks_mrbs.php language file.
I didn't know what to look for so... I didn't find anything suspect.
Just an annoying bug, I think.
It's in tracker now: CONTRIB-1560
Cheers
Jean-Pierre
I managed to customise the links at the top left by changing
and
$string['accessmrbs'] in moodle/blocks/mrbs/lang/en_utf8/block_mrbs.phpCan anyone tell me where to comment out the 'log off' button?
thanks! Carol
I am looking at doing an upload into the MRBS tables to make it easier for bulk creation of events...
As we use this for a school timetable, booking computer rooms the timetable repeats weekly...
So its not going to be as easy to upload into mrbs_entry - im guessing something needs to go into mrbs_repeat
Could someone give me some pointers? - mainly on how the repeat table i setup - I am a l;ittle confised about the repeat type and how it works that out...
Thanks
JR
Hi Anthony,
My Department manager recently downloaded the standalone MRBS from their website. I was coincidentally working on the Moodle integrated block (ver MRBS 1.2.5). My leader is keen on some features that appear in the standalone - MRBS 1.4.3. May I ask if the update would be a simple process to make us both happy (and is there any likelihood of the Moodled version being updated which would make us even happier? )
Greg
My guess is that I"d have to do some modification to the db and tables... as well as the code?
or is there some other solution?
Thanks.
Ken
CONTRIB-1676
In writing the description, I figured out a work around, it just means that multiple schools (courses in my moodle setup) would see and thus be able to book rooms at other schools.
so I guess it's really more of a convenience thing, although it also avoids mistakes as someone from one school could book the library at another school.
Ken
I have recently installed the MRBS block in Moodle. As an administrator everything works fine. However, no-one else (ie teachers) can see the block. I created a new role - roombooker - and allowed "Access MRBS (Read / Write / Admin)". I created a 'teacher' account and give them the role of the roombooker but wasn't able to see the MRBS block. I assigned the role of roombooker to the 'teacher' account in the Front Page setting but still to no avail. I clicked on the assign roles icon on the block itself and assigned the roombooker role to the teacher account. Still nothing. As I tried various other alternatives, I had the 'teacher' account able to 'Turn Editing On' (for the MRBS block only), they could then see the block heading - they had the rights to delete the block, move the block, etc but couldn't actually see the contents of the block and so couldn't access the Room Booking system. I even made the 'teacher' a Front page administrator. I was again able to edit the MRBS block but unable to see the contents.
Any thoughts?
Aidan
Thanks for getting back to me. Can you explain what you mean by "role assignments need to be made at the system context level"?
Aidan
I have made the MRBS available as a block within a course. If I am in as a site administrator, I have access to the block and can go and book a room as expected. If I go into the course as a user that has been made administrator of that particular course, I can see the heading of the block but not the link and so can't book a room.
I don't want to make every teacher a site administrator just so that they can book an ICT room.
Any help appreciated.
Thanks
Aidan
That's brilliant - now working as expected, thanks.
I have another 'request' - when I had previously set up MRBS outside Moodle, I was able to restrict the number of sessions a teacher could book at any one time by using the $max_days_ahead variable (e.g. $max_days_ahead=5 for a max of 5 sessions) within the config.inc.php file. This was to prevent teachers from block booking a period for a whole term!! I'm unsure if I changed/added anything else.
When I added the line: "$max_days_ahead=5;" to the end of the config.inc file within the moodle mrbs block, nothing changes.
Any suggestions?
Thanks again
Aidan
But, as, when the system finally goes online, there will be some 1300 students and 120 teachers. So it will be rather tiresome to find those in the long, long list who are actually entitled to book rooms. Does someone have an idea for an easier way?
Regards
Mike
Hi, When I enter non-English characters in Reservation for section of the entry form in unicode enabled browser, in mysql database the non_emglish characters are shown as html codes. Character conversion from browser to database is failing. Example: ÇöşüğIçÖÜÖ will be shown in database as ÇöşüğIçÖÜÖ When I enter course short names with non-English characters in mrbs they will not match to moodle's course short names. Help needed. Thanks |
I'm dealing with the same issue described by Ahmet. I use utf-8 for the whole site. When I type spanish characters in a form (i.e adding or editing an entry) the database (MySQL with utf8_general_ci) saves non-standard characters.
For example: if I write: 'España' the database shows 'España'.
This only happens int the mrbs block. It doesn't happen when I add a resource or edit a web page in Moodle. The same I write is the same I read from the database.
I have also checked out that my browser was not causing this issue. Both Moodle (include the mrbs block) and the browse were in utf-8.
Any idea about how to solve this issue...?
Best regards from Spain.
Toni
Greeting all,
I've just installed MRBS, and now adding existing bookings into the rooms.
But the problem i am having is the main page takes ages to load when using IE.
It appears fine using firefox and opera, but at work we are restricted to IE only.
could anyone quickly look at this page
http://moodle.chaucer.sheffield.sch.uk/blocks/mrbs/web/
and spot the problem, any suggestions welcome.
Thank you
Steve Audus
Chaucer BEC
Thank you for a great block
This solved our issue with IE.
We have a 2 week timetable, so for example
Room 120 may be timetabled and unavailable Monday Period 1 Week 1
but available for booking the following week (week 2)
Then of course unavailable the next week. (week 1)
and so on.
Any suggestions?
Thank you
Steve
There is the n-week function which (I've not used) I believe allows you to book every 'n' weeks - setting this to 2 should do an every other week booking. The problem will be if you have breaks in the timetable, eg due to a week's holiday.
I have always taken the year's timetable as a csv and imported it directly into the database. Using Excel or Access I can get the timetable right first and then put it in. Further up this forum list are some guides on how to do it.
A link to the Access database program I use (Please back up any MRBS tables before using it) It would need a little tweaking to fit a 2-week timetable (but not a lot) and it uses periods rather than actual times (again a small tweak would probably do it)
So, as I understand it, I take the MRBS folder and put it in the blocks folder in the moodle directory. Then I go to the database and have to create the tables. This is where I am stuck. I tried to create the table and there are so many option like how many fields in the first screen and the length of field in the second page. Can anybody help me out here. This block looks like a nice solution to my work around and be easier to use. Please help.
Oh, I have down loaded from the mod page the 1.9 version. I just need help with the tables I think. I am sorry I am new and don't have the time to figure it out and I am sure someone out there can. Please
Mark
I'm new also, but I know this one.
- Log in with administrative privilages.
- On the 'Site administration' menu, (mine is on the left hand side of the front page) and click on the first line that should say 'notifications'
Moodle will 'sense' the new block and setup the database and fields by it self. (Give or take a couple of screens).
We use the MRBS block for scheduling use in our simulations lab, works great.
Bern
I've just made the move to the latest version of this block and having a few problems with the BST which I've manually changed.
Is your MRBS showing times rather than periods?
Anthony or anyone,
We have MRBS successfully working on our 1.9.x Moodle install. However, the only ones who are able to view/schedule/admin the calendar are Moodle admins. Anyone who is not a sitewide admin cannot even view the block. I have tried assigning the MRBS Viewer/Scheduler/Admin roles both at the block and at the front page roles levels and those users still cannot view the block much less access it. Even tried modifying override permissions but with no luck. I suspect it is because we use My Moodle for the standard user interface. If this is the case, any workaround (other than disabling My Moodle)? Apologies if I missed this in this long thread or Moodle Docs.
Kind Regards,
Bob
Bob - It sounds like you have not setup the various MRBS roles. I would start by following the instructions at: http://docs.moodle.org/en/MRBS_block#Installation. After doing that, just let me know if you have any questions or continued troubles. Peace - Anthony
Has anyone got this working with Moodle 2.0?
David - I have not had much time to work on the MRBS block. I'm really looking for someone else who is actively using it to take over maintaining it. It has not been upgraded to work with Moodle 2.0; however, in its current state I cannot in good conscience recommend it for any production server. It really does need some TLC so any help someone may be able to offer just let me know. Peace - Anthony
For those wanting to test MRBS block in 2.0 - there is a patch which I have not tested available in CONTRIB-1804. Please add any comments, suggestions, or problems found with the patch in the tracker. Peace - Anthony
plz sir tell me how to integrate moodle with MRBS.plz tell me the whole step from start to create database and link that database with moodle database and then how get the MRBS connectivity in moodle plz sir i will be very thanks full to yoy
regards,
SAm Abbasi
I am using the block very successfully on moodle 1.9.8 and love it I want to migrate to 2.0 can you tell me how to use the patch to install on 2.0 I would love to test it on my test sight.
Mark - At the moment, I've not had any chance to test the patch myself. Perhaps someone might be able to make the patch available via Github and post the URL to a zip file that folks could use to test a 2.0 version. Please keep in mind that there are some substantial issues with the code such that I consider the MRBS block as "not suitable for a production server" but please feel free to test it on a test server. Peace - Anthony
Dear Anthony,
thanks for the 2.0 plug-in. I followed the installation-instruction and got the following error:
Hallo liebe Community,
nach einiger Zeit steht unter
https://github.com/davosmith/moodle-mrbs#readme
ein Plugin für mrbs in moodle 2.0 bereit. Bei mir taucht leider bei der Installation folgender Fehler auf:
Somehow the mod_question is broken. Maybe you or anyone can help
Greetings from Germany
I have just added the MRBS mod to my test site running Moodle2.1.2+. I used version $plugin->version = 2011070200; so this may have been corrected already.
Unfortunately it failed to run once installed.
The errors that stopped it were fairly simple to fix. They were in the file
mrbs/web/index.php
In the code below the line beginning $sql is not needed and fails as $tbl_room is not defined
I edited the $res line as it has an unnecessary 'area_id' that causes the DB call to fail. All worked after that, though I've not thoroughly tested it.
if (!empty($default_room)) {
//$sql = "select area_id from $tbl_room where id=$default_room";
//$res = $DB->get_record('mrbs_room', 'area_id', array('id'=>$default_room));
$res = $DB->get_record('mrbs_room', array('id'=>$default_room));
if (!empty($res)) {
$redirect->params(array('area'=>$res->area_id, 'room'=>$default_room));
}
}
Hi guys, Ive just installed the Latest Version of MRBS onto moodle 2.2 and up to now we have just manually entered all books which has been abit of a pain. So i thought i would try to get the import working. I have added the following test line to the import file and declared its location in the block config.
00:00,00:01,2012/05/01,1 1 1,Room 13,adminaxg,AXG - 11 - IT,Class
But when the cron runs i get the following error.
Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217
Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217
Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217
Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217
Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217
Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217
Warning: rename(Y:\MOODLE2\blocks\mrbs\ict.csv,Y:\MOODLE2\blocks\mrbs\ict.csv.20120328): The process cannot access the file because it is being used by another process. (code: 32) in Y:\MOODLE2\blocks\mrbs\import.php on line 150
i have looked at line 217 of the import.php and it seems to be an issue with us using periods? can anyone help
Alex Goodyear
I have MRBS installed on Moodle 1.9x, I have it running, however there is a missing part, (I believe) in the admin role. There was a admin approval for the bookings, how ever it is not there. Is there any ideas?
In addition the email fuction is not working. It states that the user is not reconized.
I had fatal errors reporting turned on in debugging and got this display:
"Deprecated: Function eregi_replace() is deprecated in /var/www/moodle/lib/weblib.php on line 2043 Deprecated: Function eregi_replace() is deprecated in /var/www/moodle/lib/weblib.php on line 2044"
Having fatal error reporting turned on to report to page also broke the lists in room booking, adding four "undefined" resources to the list. Is this error a concern? Anything to update here?
Dan - There was some discussion about this in MDL-20821 for Moodle core which may be helpful to you in deciding what to do. At this point the MRBS block is really not suitable for a production site. There are some security concerns and I've not had time to give it the TLC that it needs. I am happy to pass to project on to someone else who might be interested in maintaining it. Unfortunately, I am no longer using it in a production environment and other duties keep me from putting too much time into it. Peace - Anthony
About the ereg function: I see this too in MRBS. In other modules I could solve it by changing this kind of lines:
ereg('pattern', 'string');
INTO:
preg_match('/pattern/', 'string');
More complex info can be found here: http://docstore.mik.ua/orelly/webprog/pcook/ch13_02.htm
I will give it a try here also
Another question Antony:
I want to use MRBS only in a course that gives only access to 5 staff members. What we wish now is to publish the rooms as events in the moodle calendar of the moodle courses: in that case we can use topic format but still offer students a room/timetable on the pages of the calendar.
- we must extend the mrbs record with the unique shortname of a course ( and one for the lecturer name)
- we must extend the record with a flag (that goes down when a room is created and publsihed and goes up when a room reservation is changed or deleted)
- we need a routine that is called when the program opens and closes (or a cron? or just a button) and updates the rooms with the flags up.
Did you already try such a thing?
Greetings, Ger
My mrbs says in the web-dir that it is version MRBS 1.2.5. Under apchefriends/xampp it cannot find the help pages if I press Help on the mainscreen. If I change in block_mrbs/web/help.php blocks/mrbs into /blocks/mbrs on the lines 44 45 and 47 it is solved on that system. (see attachment - remark added to tracker)
I also found ereg_replace errors:
Deprecated: Function ereg_replace() is deprecated in D:\xampp\htdocs\1910b\blocks\mrbs\web\month.php on line 193
Deprecated: Function ereg_replace() is deprecated in D:\xampp\htdocs\1910b\blocks\mrbs\web\month.php on line 262
Deprecated: Function ereg_replace() is deprecated in D:\xampp\htdocs\1910b\blocks\mrbs\web\month.php on line 263
I changed again ereg_replace(" ", ... into preg_replace ("/ /i", ...
errors gone and page seems the same (but is it?)
I am sorry if this is obvious, but how do I change period to time. I don't want periods, I want time slots.
Thank you
Yes, how do I change period to time.
In the block settings (Administration: Blocks: Manage Blocks) there is a yes/no option for 'use periods', about 5th option on the form. Is this what you mean?
Carol
Have installed MRBS on our 2.1.2+ server
2 issues:
Major- single entry/edit of class works fine but using the n-period function the module freezes with the following error:
Fatal error: Maximum execution time of 300 seconds exceeded in Q:\Data\xampp\htdocs\moodle\blocks\mrbs\web\mrbs_sql.php on line 371
Minor - displays the booking on the left of the column - would prefer it centred under the Room Name.
Any help with the major issue would be greatly appreciated - I have no desire to enter each entry of next year's timetable individually.
Thanks, Lynn
Am desparate for a solution, further investigation has shown:
1. the version of MRBS available on sourceforge works fine but doesnt allow for internal authenication
2. the github version, which does provide internal auth, floods moodle with php conflicts whenever I try to use n series entries, and is slower than the sourceforge one even for single entry use.
Hi Lynne,
Sorry to hear you're still having trouble. I haven't got much to offer as I've stayed with moodle 1.9 (mainly because I wanted to be sure mrbs would be fine with 2 - it's one of the 'core' uses at our school now). If going to 1.9 is an option, I can tell you that n-weekly works fine (although it's a bit picky filling in the form but I'm sure you've already been through that).
The only other thing I can suggest is importing bookings to the database directly (with all the usual health warnings about backing up the database and danger of breaking things). David Fountain shared an access database at http://moodle.org/mod/forum/discuss.php?d=121753#p737735 which I have used successfully (although it's necessary to adjust for British Summer time - confusing if you're using periods because the entries all appear in the database but not in the interface because they're defined as minutes past midnight but the timestamp is minutes past 11 BST)
Good luck and please post with your solution when you find one!
Carol
Hi everyone,
has anyone managed, to integrate the mrbs in Moodle 2.2? MRBS works fine in our moodle 1.9.7., but we want to update to 2.2.
Second problem: Is it possible to disable the booking after a certain numbers of bookings (e.g. three in an week in a certain row)?
Thanks for help!
Georg Moersheim
it works but
I had to re-enter bookings and the n-series function wouldnt work - so it was punishing.
Will be investigating over holidays which bits arent co-operating.
Can you provide a (download) link to the MRBS module which you have got working in Moodle v2.2
thanks
Stefan, I am unsure what you precisely need, site access to the MRBS module?
Was just checking that it was this version of MRBS that you have used
http://sourceforge.net/projects/mrbs/files/
Looking for the latest version? Download mrbs-1.4.7.zip (832.7 kB)
I will start with this - can you let me know if you used something different
Thanks
Meeting Room Booking System - MRBS 1.2.5
SystemWindows NT 8230-WS01 6.1 build 7601 (Unknow Windows version Enterprise Edition Service Pack 1) i586
PHP: 5.3.5
For reference I have downloaded & installed the MRBS block from the following
on
http://moodle.org/mod/data/view.php?d=13&rid=734&filter=1
and have tried to follow the instructions from here
http://docs.moodle.org/22/en/MRBS_block
Appears to be insralled - have asked the ICT coordinator to log in & see if it works as expected -- will provide upxdate in a few days time
Hi Stefan,
I installed the mrbs from your download-link in a local Moodle (Ver. 2.2.1 with XAMPP 1.7.3) on my Computer and it works fine! I hope that the local installation works just as a server-Installation ...
Georg
Hi, thanks for double-checking for me
The teacher has also confirmed expected operation
We've now gone back to the beginning of our problem - which was essentially upgrading / migrating the school moodle from V1.9 to v2.2 & also include MRBS
That is now done - they are just checking to see if they can live without the old V1.9 modules/blocks/plugins that I had to 'cut-out' during the upgrade
Regards
Stefan
Carol
In the end I gave up trying to migrate from Moodle1.9 -
So I installed a clean copy of Moodle2.2 & PHP3.5, Installed mrbs, then exported data/users from their 1.9 install into the new one - stumbled over a few minor php issues (if I remember correctly - nothing specific to mrbs) - overall a fairly smooth job
Obviously the teaching staff have had to re-apply their styles/preferences and 'replace' any modules that weren't part of the standard set
Hi guys, Ive just installed the Latest Version of MRBS onto moodle 2.2 and up to now we have just manually entered all books which has been abit of a pain. So i thought i would try to get the import working. I have added the following test line to the import file and declared its location in the block config. 00:00,00:01,2012/05/01,1 1 1,Room 13,adminaxg,AXG - 11 - IT,Class But when the cron runs i get the following error. Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217 Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217 Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217 Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217 Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217 Notice: Trying to get property of non-object in Y:\MOODLE2\blocks\mrbs\import.php on line 217 Warning: rename(Y:\MOODLE2\blocks\mrbs\ict.csv,Y:\MOODLE2\blocks\mrbs\ict.csv.20120328): The process cannot access the file because it is being used by another process. (code: 32) in Y:\MOODLE2\blocks\mrbs\import.php on line 150 i have looked at line 217 of the import.php and it seems to be an issue with us using periods? can anyone help Alex Goodyear
hello folks
Can the admin book rooms for teachers, and each teacher view his own timetable???
Hello,
I just installed this on 2.2.1+ and can't get past the 'verification' screen that is supposed to appear when visiting your site as admin after installation. I removed it and everything is back to normal. I'm wondering if anyone has successfully installed this on 2.2.1+ or if anyone has had the same problem I'm having?
Jason
Sorry,
I wasn't paying attention, I see above that some have succeeded in installing on 2.2.1+
Here are some more details about my problem. After installing the block and clicking on upgrade at the screen that shows that it is going to be installed, I get stuck when moodle tries to access the following script:
admin/index.php?confirmplugincheck=1
It just stops there with the top half of the window normal and the bottom half empty. I deleted the block, turned on debugging, and then went through the install again and here is what I get:
block_mrbs
Fatal error: Class 'DOMDocument' not found in /var/www/html/lib/xmldb/xmldb_file.php on line 77
Any ideas?
Jason
I had the same problem in moodle (when installing a plugin).
The installation of php-xml helped.
e.g. with redhat/centos: yum
install
php-xml
Hi
I am just in the process of migrating our Moodle from a linux box onto a Windows box, but the only thing that is stopping me is MRBS.
Can I configure MRBS to use our local microsoft exchange box to send emails, as there is no local sendmail installed on the windows box? i.e set it to use the ip address of 10.0.1.x with a proper username and passowrd.
Sorry, I am still on v.MRBS 1.2.3 running Moodle 1.9.9 - im upgrading to 2.x once I have everything running as expected.
Thanks
Hi I have just installed MRBS on moodle 2.3.2 and I am having an issue.
When I go to book a room ( we have a 2 week timetable so I have to do an n-weekly) with an n-weekly booking I get an odd problem.
When I create a booking for P4 (Period 4) Monday the 15th repeating every 2 weeks (as shown in the first part of the attachment).
It creates the repeated booking but when in week view shows an extra booking on tuesday 16th and when in month view it shows an extra booking on sunday 14th.
I have no idea can anyone help?
Thanks
The Problem was a wrong link! No Problems anymore!
Have you solved this?
On my site if booked on a Monday to repeat fortnightly on Monday's it displays on Tuesdays, so I worked around it by repeating it on Sundays so it then displays as Monday. Works but more time consuming.
Have you solved this?
On my site if booked on a Monday to repeat fortnightly on Monday's it displays on Tuesdays, so I worked around it by repeating it on Sundays so it then displays as Monday. Works but more time consuming.