The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if conditionals Q
Is it possible to use a custom profile option to enable a javascript code in the Header template?
For example I'm using a snow javascript code on my forum this winter but I want the users to have an option in the profile to enable / disable it at their own choice. Thanks for any help. |
#2
|
|||
|
|||
Yes. I think it's something like this:
<if condition="$bbuserinfo[fieldX] == 1"> <!-- script here --> </if> |
#3
|
|||
|
|||
Thanks i'll give that a go.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|