The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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.
|
![]() |
|
|