The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Template Css adding in my addon
I used this plugin to upload my template.css, but sometimes is it loaded and others no why? (vBulletin 4.1.5)
Code:
<plugin active="1" executionorder="5"> <title>CSS</title> <hookname>parse_templates</hookname> <phpcode><![CDATA[ if($vbulletin->options['ct_list_active']) { $template_hook['custom_css_list'] .= ',ct_thread.css'; } ]]></phpcode> </plugin> In several articles I found this code, but everyone says outdated Code:
<plugin active="1" executionorder="5"> <title>CSS - Inject CSS into vBulletin</title> <hookname>css_start</hookname> <phpcode><![CDATA[if(in_array('vbulletin.css',$matches[1])) { $matches[1][] = 'ct_thread.css'; }]]></phpcode> </plugin> Regards |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|