PDA

View Full Version : Display custom pages when forum is turned off?


JamesAB
05-19-2015, 03:36 PM
Is there a way to still display custom pages when the forum is turned off?

Thanks,
James

--------------- Added 1432063366 at 1432063366 ---------------

Nevermind. I found it.

if (THIS_SCRIPT == 'my-page')
{
$vbulletin->options['bbactive'] = true;
$servertoobusy = 0;
$vbulletin->userinfo['permissions']['forumpermissions'] |= $vbulletin->
bf_ugp_forumpermissions['canview'];
}