Quote:
Originally Posted by Boothby
This is original from vB_Bootstrap::check_state()
Maybe we should use the whole part, esp. the pemission check?
PHP Code:
// check that board is active - if not admin, then display error if ( !defined('BYPASS_FORUM_DISABLED') AND !$vbulletin->options['bbactive'] AND !in_array(THIS_SCRIPT, array('login', 'css', 'mobile')) AND !($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) ) {
|
I see- those exceptions are so a site Administrator can still log in even with the forum off. The purpose of this mod is to return codes so search engines are aware of the status of the page- a search engine would never be browsing the site as an administrator... Also simply changing the response code doesn't prevent the page from loading in a browser- so I am confident we don't need the permission check or the script check.
Going to have an update available later today. :up: