+ Post New Thread
Results 1 to 4 of 4
Virtual Learning Platforms Thread, moodle MRBS admin rights in Technical; can anyone tell me a way around this one, we currently have a moodle 2.2 install with MRBS. we have ...
  1. #1

    Join Date
    Jul 2012
    Location
    lincolnshire
    Posts
    23
    Thank Post
    7
    Thanked 3 Times in 3 Posts
    Rep Power
    5

    moodle MRBS admin rights

    can anyone tell me a way around this one, we currently have a moodle 2.2 install with MRBS. we have all our rooms set up and they are currently in use by staff.

    what we want to do is set it so NO ONE other than 'admin user' can add a booking outside of the 'max day' setting.

    i've found one or two threads on this but nothing about the moodle version, can anyone help?

  2. #2

    Join Date
    Dec 2007
    Location
    Preston
    Posts
    366
    Thank Post
    14
    Thanked 84 Times in 77 Posts
    Rep Power
    30
    I don't know the answer sorry as I don't have much experience of MRBS but if you post in the add ons forum of Moodle.org with a descriptive title then hopefully Davo Smith who now maintains this module might have a suggestion -forum is on this URL https://moodle.org/mod/forum/view.php?id=44

  3. #3

    Join Date
    Jul 2012
    Location
    lincolnshire
    Posts
    23
    Thank Post
    7
    Thanked 3 Times in 3 Posts
    Rep Power
    5
    this is now an open thread on moodle.org

    https://moodle.org/mod/forum/discuss.php?d=230259

  4. #4

    Join Date
    Jul 2012
    Location
    lincolnshire
    Posts
    23
    Thank Post
    7
    Thanked 3 Times in 3 Posts
    Rep Power
    5
    i believe i have fixed this issue,

    by going into 'config.inc.php' and replacing the line:

    $max_advance_days = isset($cfg_mrbs->max_advance_days) ? $cfg_mrbs->max_advance_days : -1;

    with is

    if (is_siteadmin()) {
    $max_advance_days = -1;
    } else {
    $max_advance_days = 2;
    }
    $cfg_mrbs->max_advance_days = $max_advance_days;


    it allows site administrators to alter/add/delete any bookings outside of the max advance days setting
    Last edited by cyberrant; 21st June 2013 at 12:30 AM.

SHARE:
+ Post New Thread

Similar Threads

  1. grant temp admin rights
    By mtupker in forum Scripts
    Replies: 17
    Last Post: 8th September 2007, 07:55 PM
  2. Replies: 4
    Last Post: 25th April 2007, 11:22 AM
  3. Connection Fails Without Admin Rights
    By MrDylan in forum ICT KS3 SATS Tests
    Replies: 8
    Last Post: 12th May 2006, 12:23 PM
  4. Assistant Network Managers admin rights.
    By tosca925 in forum How do you do....it?
    Replies: 11
    Last Post: 8th December 2005, 01:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •