+ Post New Thread
Results 1 to 5 of 5
Web Development Thread, Setting MRBs to use periods in Coding and Web Development; Hello All, I am trying to set up MRBS to use periods instead of Times. I have put the following ...
  1. #1
    BKGarry's Avatar
    Join Date
    Mar 2006
    Location
    Kent
    Posts
    986
    Thank Post
    102
    Thanked 139 Times in 110 Posts
    Rep Power
    50

    Setting MRBs to use periods

    Hello All,

    I am trying to set up MRBS to use periods instead of Times.

    I have put the following into config.inc.php but I keeps on coming up with times and not periods,

    once I have done this I am planning on using the SIMS to MRBS tool here
    SIMS to MRBS: Script Available so any help would be appreciated on the next steps with making sure it lines up.

    I am not too experiences with PHP but can usually pick out code mistakes, but struggling.

    Commands inserted
    PHP Code:
    $enable_periods TRUE;
    $periods[] = "Before School";
    $periods[] = "AM Learning Coach Time";
    $periods[] = "Period 1";
    $periods[] = "Period 2 and Break";
    $periods[] = "Period 3";
    $periods[] = "Period 4 and Lunch";
    $periods[] = "Period 5";
    $periods[] = "PM Learning Coach Time";
    $periods[] = "After School"

  2. #2

    Join Date
    Sep 2008
    Location
    England
    Posts
    276
    Thank Post
    6
    Thanked 70 Times in 62 Posts
    Rep Power
    53
    In recent versions of mrbs, config.inc.php sets defaults for new areas. if you have existing areas, then you need to edit the area to change things like periods/times. If you click the "change rooms" link at the top while logged in as an mrbs admin, then select the area to change in the top half of that page, click the pencil icon to the right, and change any settings you need to.

  3. Thanks to Chris_Cook from:

    BKGarry (8th December 2011)

  4. #3
    BKGarry's Avatar
    Join Date
    Mar 2006
    Location
    Kent
    Posts
    986
    Thank Post
    102
    Thanked 139 Times in 110 Posts
    Rep Power
    50
    Bingo,

    Thank you So much,

    now to play with the SIMS ot MRBS. should be some simple tweaking.

    Such a Rookie mistake ay

  5. #4

    Join Date
    May 2013
    Location
    New Zealand
    Posts
    17
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    4
    Quote Originally Posted by BKGarry View Post
    Hello All,

    I am trying to set up MRBS to use periods instead of Times.


    Commands inserted
    PHP Code:
    $enable_periods TRUE;
    $periods[] = "Before School";
    $periods[] = "AM Learning Coach Time";
    $periods[] = "Period 1";
    $periods[] = "Period 2 and Break";
    $periods[] = "Period 3";
    $periods[] = "Period 4 and Lunch";
    $periods[] = "Period 5";
    $periods[] = "PM Learning Coach Time";
    $periods[] = "After School"
    I followed this and made changes to suit out school system as follows
    $periods[] = "Period 1"
    ;
    $periods[] = "Period 2"
    ;
    $periods[] = "Period 3"
    ;
    $periods[] = "Period 4";

    $periods[] = "Period 5";
    However when it displays it displays like this period1 period2 period1,period2,period3,period4,period5 so there are 7 periods but only 5 lines

  6. #5

    Join Date
    May 2013
    Location
    New Zealand
    Posts
    17
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    4
    Got it sorted, was missing some php code at beginning unset($periods); // Include this line when copying to config.inc.php



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 6th October 2010, 09:49 PM
  2. Replies: 1
    Last Post: 21st June 2010, 05:26 PM
  3. Replies: 3
    Last Post: 21st June 2010, 04:45 PM
  4. Set Terminal Services to use a second network port
    By Mr_M_Cox in forum How do you do....it?
    Replies: 5
    Last Post: 14th July 2008, 10:12 PM
  5. Parental Consent to use the internet at school
    By mark in forum School ICT Policies
    Replies: 20
    Last Post: 24th June 2005, 12:18 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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