The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to create an inline css out of the external file vbulletin_important.css?
Please help :-)
I have a need to move the content of the external vbulletin_important.css directly into the headinclude template, but I don't know how to do it. I have actually managed to create a plug-in that moves the css into my headinclude, however I still see also the link to the external CSS file in my source: Code:
<link rel="stylesheet" type="text/css" href="/clientscript/vbulletin_important.css?v=384" /> How/where do I remove the above line? It is not part of any template. Likely it is an edit I need to do in a PHP file, but I don't know where or how. I did locate a reference to vbulletin_important.css in adminfunctions_template.php, but editing or even removing the entire line from this PHP file did not seem to remove it from my site, as I still saw it in the source of my pages, when checked in a browser. Any help with this would be greatly appreciated, as I spend already two days on this without a positive result. |
#2
|
|||
|
|||
That line is added in includes/adminfunctions_template.php when the style is rebuilt. You could probably comment out that line (around line 811) and rebuild all styles.
|
#3
|
|||
|
|||
Hi Kevin,
This does achieve my goal. Thanks very much, and sorry for my late reply. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|