![]() |
Check if forum is offline
Hi! :)
Can someone tell me if exist some code or hack that I can use in templates to check if the forum is in offline mode? I have a sidebar in my forum that I want to hide if the forum is offline. Thanks in advance! :up: |
when your forum is offline I believe the complete forum is hidden.
are you saying you have some custom code that is not being hidden? |
I'm pretty sure you could use something like this:
(if in a template) HTML Code:
<if condition="$vboptions[bbactive] == Yes"></if> PHP Code:
|
Quote:
This did the job for me: Code:
<if condition="$vboptions[bbactive]"></if> |
All times are GMT. The time now is 01:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|