Help - Search - Members - Calendar
Full Version: Make setting as default
Invision Power Services > Invision Power Services, Inc. > IPS Company Feedback > IP.Board
Suyu
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...
Antony
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. original.gif
Suyu
It was an example for Default Board name...
(Can I know how put my board in development mode ?)
.Logan
QUOTE(Suyu @ Aug 26 2006, 03:39 PM) *
It was an example for Default Board name...
(Can I know how put my board in development mode ?)

Open init.php

Find:
CODE
define ( 'IN_DEV', 0 );


Change to:
CODE
define ( 'IN_DEV', 1 );
Suyu
Yeah it's a possibility, but i think it is quite fastidious. (hmmm, change it is a little difficult, and without facility)
Luke
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
CODE
define ( 'IN_DEV', 0 );


Change to:
CODE
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".
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.