hi is there a way to turn off the forums, but still allow access for the moderators, is it set in config.php
Craig
Craig
vBulletin 3 is end of life and will not be receiving future development. Warning: vBulletin 3.8.11 is not compatible with PHP 7.2.0 or higher.
Welcome to the vBulletin support forums! In our community forums you can receive professional support and assistance with any issues you might have with your vBulletin Products.
Useful Links for Guests:
If you are having problems posting in the relevant areas for your software, please see this topic.
if (!$vbulletin->options['bbactive'] AND
($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
{
// show the board disabled warning message so that admins don't leave the board turned off by accident
$warning = vB_Template::create('board_inactive_warning')->render();
$header = $warning . $header;
$footer .= $warning;
}
if (!$vbulletin->options['bbactive'] AND
($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) OR (is_member_of($vbulletin->userinfo, 7)))
{
// show the board disabled warning message so that admins don't leave the board turned off by accident
$warning = vB_Template::create('board_inactive_warning')->render();
$header = $warning . $header;
$footer .= $warning;
}
// 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'))
AND
!($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])
)
// 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')) AND !($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) AND (!is_member_of($vbulletin->userinfo, 7)) )
(!is_member_of($vbulletin->userinfo, 7))
(is!_member_of($vbulletin->userinfo, 7))
Comment