PDA

View Full Version : Any way to show some code when the forum is off?


RedTurtle
10-09-2013, 05:13 PM
Running vB 4.2.1 and want to be able to display some CSS only when the forum is turned off.

Is there any way of having a plugin check or determine when the forum is off, and then use an if conditional inside a template?

Thank you.

nerbert
10-09-2013, 05:44 PM
$vbulletin->options['bbactive'] = 0|1