Vergleich global.php - 1.8.29 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1102Zeile 1102
);

// If the board is closed, the user is not an administrator and they're not trying to login, show the board closed message

);

// 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['canviewboardclosed'] != 1 && !in_array($current_page, $closed_bypass) && (!is_array($closed_bypass[$current_page]) || !in_array($mybb->get_input('action'), $closed_bypass[$current_page])))









if(
$mybb->settings['boardclosed'] == 1 &&
$mybb->usergroup['canviewboardclosed'] != 1 &&
!in_array($current_page, $closed_bypass) &&
!(
isset($closed_bypass[$current_page]) &&
in_array($mybb->get_input('action'), $closed_bypass[$current_page])
)
)

{
// Show error
if(!$mybb->settings['boardclosed_reason'])

{
// Show error
if(!$mybb->settings['boardclosed_reason'])

Zeile 1145Zeile 1153
);

// If the board forces user to login/register, and the user is a guest, show the force login message

);

// If the board forces user to login/register, and the user is a guest, show the force login message

if($mybb->settings['forcelogin'] == 1 && $mybb->user['uid'] == 0 && !in_array($current_page, $force_bypass) && (!is_array($force_bypass[$current_page]) || !in_array($mybb->get_input('action'), $force_bypass[$current_page])))









if(
$mybb->settings['forcelogin'] == 1 &&
$mybb->user['uid'] == 0 &&
!in_array($current_page, $force_bypass) &&
!(
isset($force_bypass[$current_page]) &&
in_array($mybb->get_input('action'), $force_bypass[$current_page])
)
)

{
// Show error
error_no_permission();

{
// Show error
error_no_permission();