The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How would I insert a javascript code into just one section of my forum
I have a javascript encrypter gadget and thought it would be cool to put in my staff room but how would I only put it in the staff room subsection??
|
#2
|
||||
|
||||
Open your FORUMDISPLAY template, then add this code where you want it showed:
Code:
<if condition="$forum[forumid] == X">Your javascript code.</if> X = Your staff room subsection ID. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|