Jump to content

Make setting as default


Guest Suyu

Recommended Posts

Posted

It'd be nice if we could set parameter as default.
Example : In General configuration setting, if you change Board Name, it'll be red and suggest you button REVERT.
Here I suggest the possibility to set a setting as default...

Posted

You can set a default by editing the setting configuration, but you'd have to put your board into development mode for that.

Yes, I do agree that there should be a default board name. :)

Posted

It was an example for Default Board name...


(Can I know how put my board in development mode ?)


Open init.php

Find:

define ( 'IN_DEV', 0 );

Change to:

define ( 'IN_DEV', 1 );

Posted

Yeah it's a possibility, but i think it is quite fastidious. (hmmm, change it is a little difficult, and without facility)

Posted

Just make sure to take your board off development mode when you're done. Certain things are done in development mode both in AdminCP and on the board, and you dont want this to happen on an active board. I would suggest doing this instead if your board is rather busy:

Find

define ( 'IN_DEV', 0 );

Change to:

if( basename( $_SERVER['PHP_SELF'] ) == 'admin.php' ) {
define ( 'IN_DEV', 1 );
}
else
{
define ( 'IN_DEV', 0 );
}



This allows you to put your AdminCP in development mode while leaving your board in non-development mode. Once you are done in AdminCP you can change the "1" to a "0".

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...