From time to time, you may want to turn your forum off to the public while you perform maintenance, update versions, etc. When you turn your forum off, visitors will receive a message that states that the forum is temporarily unavailable. Administrators will still be able to see the forum.
to add in backend/config.php
post updated thank you TorrentialStorm
to add in backend/config.php
$closeforums = false; // false = forum on, true = forum off.
$message = '<b><font color="red">We are currently performing updates, please check back soon!</font></b>'; // Message to show your users why the forum is off...to add in backend/function.php before ?>function forum_closed() {
global $closeforums, $message;
if ($closeforums && $GLOBALS["CURUSER"]["control_panel"] != "yes")
show_error_msg("Sorry","$message", 1);
}
open forums.php and add after: loggedinonly();
forum_closed();post updated thank you TorrentialStorm