Version: 1.00, by Lynne
Developer Last Online: Oct 2022
Category: Miscellaneous Hacks -
Version: 4.0.0
Rating:
Released: 11-21-2009
Last Update: 12-07-2009
Installs: 173
Uses Plugins Auto-Templates
Re-useable Code Translations
No support by the author.
Instead of finding the template.css file to edit the .css properties for your pages, just put them all in this additional_css.css template. The additional_css.css file is linked right before the </head> in your page. This is for use until this is made standard in the vb product (I put in a bug report requesting this be included - Please consider adding user defined Additional CSS to pages).
Version History:
1.0 2009-11-22: - initial release by Lynne at vbulletin.org
1.1 2009-12-08: - fixed issue with style dateline not showing up. Fixed & issue (changes to &. added additional2_css.css file so the first additional_css file can be used in the parent style and then additional2_css used in the child styles.
Notes - if you only want this included on certain pages, then you may open the plugin "Add addition_css.css file to pages" and put a condition around it, such as (this is for just the index page and the showthread page):
PHP Code:
if (in_array(THIS_SCRIPT,array('index','showthread'))) {
all the code currently in the plugin
}
.
.
To install:
1. Import product-product-lynne_add_css.xml
2. Add any additional css you want to add to the page in your additional_css.css template.
^ cool. I didnt get back on Vb.com for your response, thanks for the tip. However, when i go unter the main CSS, it says "This CSS file is obsolete and is available here for reference purposes only."
As tbworld explained, this mod is really not needed anymore as there has now been an additional.css template added to the software which is called on every page.
Additional_css.css -Lynne's mod is now part of vbulletin4.
There are some small oddities, but for the most part store css as files works fine for most people.
You can just add another css link in your headinclude template to an external CSS file. If you want an example let me know.
ok great to know that. However, I still have some issue sending additional.css from the database not from direct css files. I switched the store css as files property on and then I noticed that additional.css is still being served from the database!!!
I decided then to take a copy of additional.css template and make a file outside the vb board and send it to the headinclude, but still not working. The code works fine, but vb doesn't take it in consideration...
I used this property to link the external css file:
And by the way, I use a plugin to send the additional.css file to vb, but you said that this became a part of vb built-in function!!! how and where to switch it on???