The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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: |
#2
|
||||
|
||||
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? |
#3
|
||||
|
||||
I'm pretty sure you could use something like this:
(if in a template) HTML Code:
<if condition="$vboptions[bbactive] == Yes"></if> PHP Code:
|
#4
|
|||
|
|||
Quote:
This did the job for me: Code:
<if condition="$vboptions[bbactive]"></if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|