Mutt
Well-known member
this is a minor hack but since I couldn't find it anywhere, here it is. I wanted the moderators to be able to access the site when I have it off too.
in \library\XenForo\ControllerPublic\Abstract.php
change line #107 from
to
I also edited the phrase "forum_is_currently_closed_only_admins_may_access" to change the word Administrators to Staff for the closed message but that's not really necessary.
----
I considered adding a ACP option to toggle where or not the mods could get in when the board was closed but then decided I was going overboard.
in \library\XenForo\ControllerPublic\Abstract.php
change line #107 from
PHP:
if (!$options->boardActive && !XenForo_Visitor::getInstance()->get('is_admin'))
to
PHP:
if (!$options->boardActive && !XenForo_Visitor::getInstance()->get('is_admin') && !XenForo_Visitor::getInstance()->get('is_moderator'))
I also edited the phrase "forum_is_currently_closed_only_admins_may_access" to change the word Administrators to Staff for the closed message but that's not really necessary.
----
I considered adding a ACP option to toggle where or not the mods could get in when the board was closed but then decided I was going overboard.