MyBB Community Forums

Full Version: Disable/Hide Board Closed Setting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Is there a way to disable or hide (that would be better) the 'Board Closed/Offline Setting'?

Thanks.
Not really, why would you need to??
I need to do it because I'm opening a MyBB webhost, and the suspension system works off of that. If a forum is suspended, its set to offline, and redirects to a suspended page.
You'd need a plugin then, unless you just delete the setting.
(2010-03-07, 09:36 PM)MattRogowski Wrote: [ -> ]You'd need a plugin then, unless you just delete the setting.

I tried deleting the setting, and it messed it up Sad
In what way...??
After deleting that setting, it wouldn't allow me to close any forum board anymore.
Ah, yeah guess it would as there wouldn't be a setting to see if it's closed or not... you'll need a plugin of some sort then. Either one that just hides the setting, or that closes it another way that you have access to. You might be able to set the value of $mybb->settings['boardclosed'] another way without needing that actual setting.
I would just makes a plugin which executes:
error('Your forum has been suspended');

When the board has been suspended, that would probably work better and be easier.