Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved offline board template
#1
Not Solved
hi everybody,
when you close the board, users can only see a custom message "board closed. we will be back in a moment" or things like that.
where is the template that shows that message? :|
i can't find it...
can you help me, please? Smile

thank you in advance for your help Wink
Proud to live in Italy.
Not proud to be Italian.
#2
Not Solved
it is a message from global.lang.php file

$l['error_boardclosed'] = "This bulletin board is currently closed. The Administrator has specified the reason as to why below.";

related variable : $boardclosed_reason

initiated through global.php

// If the board is closed, the user is not an administrator and they're not trying to login, show the board closed message
if($mybb->settings['boardclosed'] == 1 && $mybb->usergroup['cancp'] != 1 && !in_array($current_page, $closed_bypass) && (!is_array($closed_bypass[$current_page]) || !in_array($mybb->input['action'], $closed_bypass[$current_page])))
{
	// Show error
	$lang->error_boardclosed .= "<blockquote>{$mybb->settings['boardclosed_reason']}</blockquote>";
	error($lang->error_boardclosed);
	exit;
}


Forum Jump:


Users browsing this thread: 1 Guest(s)