Author: cherokee red for Stoker
Description: A nice phpBB3 board disable screen, used on phpbb.com and now here.
Screenshot: Instructions:
Open language/en/common.php
Find:
Code: Select all
?>
Code: Select all
// Board disable
$lang = array_merge($lang, array(
'DISABLE_MESSAGE' => 'Board unavailable',
'DISABLE_RETURN' => 'Return to index page',
));
Find:
Code: Select all
if ($this->data['is_bot'])
{
send_status_line(503, 'Service Unavailable');
}
$message = (!empty($config['board_disable_msg'])) ? $config['board_disable_msg'] : 'BOARD_DISABLE';
trigger_error($message);
Code: Select all
header('HTTP/1.1 503 Service Unavailable');
header('Status: 503 Service Unavailable');
$template->assign_vars(array(
'MESSAGE' => $config['board_disable_msg'],
'DISABLE' => $this->lang['DISABLE_MESSAGE'])
);
page_header($this->lang['OFFLINE']);
$template->set_filenames(array(
'body' => 'board_disable.html'
));
page_footer();
exit;
Thats it, enjoy!