The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
Basically, here's what I've got (my whole .js code): http://paste2.org/p/2073301#line-549 As you can see, I'm already modifying the variable RULES on line 549 to change all \n tags to be <br />. Now, the RULES var is called from an option in a setting on my Forum. In this setting, as you can probably guess, you can input a description of your rules that will display. I have the following defined in a template: Code:
var RULES = "$vboptions[ishout_rules]"; Quote:
So, the contents of the ishout_rules option that are like: ...would in fact not be valid js and cause an error. So, if I were to design a Plugin, what hook location should I use and what should it contain? Also, how would I get a custom variable to be accessible by a template? Or, is there a way to fix the js error? Thanks, Mark |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|