The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
Hmm...that's strange - it works for me. I had this set up to test soimething else:
In a plugin at global_start Code:
$criteriaDisplay = 5; vB_Template::preRegister('header',array('criteriaDisplay' => $criteriaDisplay)); then in the header template: HTML Code:
<script type="text/javascript"> var criteriaDisplay = "{vb:raw criteriaDisplay}"; </script> and in the html source: HTML Code:
<script type="text/javascript"> var criteriaDisplay = "5"; </script> ETA: I have version 4.1.3, maybe there was some problem before that version. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|