Menu

#423 How to customize MRBS - company name and booking options.

open
nobody
None
1
2017-03-08
2013-11-27
Albert
No

Hello everyone,
I have a couple of questions about how to customize MRBS:

  1. I want to change the title "Your Company". But looking in my language-file (lang.da), I cant find the line. In which file can I set my Company name?

  2. I would like to change the booking options, so that people can book room up untill 10pm, and perhaps no sooner than 8 am. Where do I set this up?

  3. I would like the calendar to show as soon as a user log in. Right now you have to first click a date at the bottom of the screen, for the calendars to show up. It seems a bit messy. Can I change this?

Kind regards
Albert

Discussion

  • Campbell Morrison

    1. It's a config file setting:
    $mrbs_company = "Your Company";
    
    1. Login as an admin, go to the Rooms page, select the area you want to change the settings for and then click the Edit icon. Change the settings as required and then click Save. To change the default settings for new areas, copy the appropriate settings from areadefaults.inc.php to your config file and then edit them there.

    2. I don't quite understand what you mean. Which calendars are you talking about? What browser are you using?

    Campbell

     
  • Albert

    Albert - 2013-11-27
    1. Its not in the config-file of 1.4.10 library. However.. googling the line
      $mrbs_company = "Your Company";
      I can see that it was in the config-file of former mrbs-versions. Is it a bug, has it been removed to another file to handle or am I missing something obvious?

    2. Thanks!

    3. I figured it out!

    Kind regards
    Albert

     
  • Albert

    Albert - 2013-11-27

    About 1.
    I found it in systemdefaults-file, moved it over to the config-file and edited it!
    Thanks! However, I think its information that should be in the config-file.

    /Albert

     
  • Campbell Morrison

    OK, I'll maybe put something in. The idea is that all the default configuration settings are in systemdefaults.inc.php and areadefaults.inc.php. If you need to change any of them then copy them across to the config file and edit them there. When you upgrade to the next release of MRBS you can keep your config file and all your settings. Have a good look through the system and area defaults - there are lots of settings that can be changed.

    Campbell

     
  • John Beranek

    John Beranek - 2013-11-27

    Do you mean the comment in the stock config.inc.php that reads:

    /* Add lines from systemdefaults.inc.php below here to change the default
       configuration. Do _NOT_ modify systemdefaults.inc.php. */
    
     
  • Campbell Morrison

    Maybe we should have something at the top of the file as well?

     
  • John Beranek

    John Beranek - 2013-11-27

    It's interesting, as now we've removed all code from config.inc.php config lines can be anywhere in config.inc.php.

     
  • John Beranek

    John Beranek - 2013-11-27

    Just read the comment about changing the lang files to override vocab - should probably mention $vocab_override there too...

     
  • Albert

    Albert - 2013-11-27

    Well, you have made an awesome piece of opensource software here. Im not to complain. But the more complex the setup gets, the more the software gets restricted to users with some programing background. Obviously.. the more that can be setup in the GUI as admin, the better.

    Ps. Ill remember to chip in a donation for the time and effort you put into all this!

     
  • Campbell Morrison

    I've made some changes to the config file comments in Rev 2795

     
  • Campbell Morrison

    Do you mean remove the key to the colours at the bottom left of the page?

     
  • Anonymous

    Anonymous - 2017-03-08

    What is the size of the file for the logo?

     

    Last edit: Anonymous 2017-03-08
    • Campbell Morrison

      Any size you like.

       
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.