The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Call a vBulletin Option in a JavaScript File
Hey all,
I'm trying to make it so if a vBulletin Option is true, then a tab will become visible in one of my .js files. However, I'm having some trouble finding or creating the right tag that will do what I want that would work in JavaScript. If anyone knows how to call vBulletin Options in a JavaScript file, please let me know. Thanks in advance, Mark |
#2
|
|||
|
|||
I think the easiest thing to do is to edit a template to create a javascript variable. You can see where this is already done in the headinclude template for things like SESSIONURL.
|
Благодарность от: | ||
Mko |
#3
|
||||
|
||||
Ah, excellent idea. Thanks so much
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|