The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
External stylesheet
By default vbulletin puts all the stylevars within the <style> tag. Is it possible to externalize it (put them in an external stylesheet).
|
#2
|
||||
|
||||
I may be reading your question wrong, but if you are asking about having your stylesheets stored as files, then go to your Admin CP > Style & Language Settings > Store CSS Stylesheets as Files? and set to Yes. However, note this:
If you would like to store the CSS stylesheet for each style as a file, you must ensure that you have a directory called 'vbulletin_css' inside the 'clientscript' folder, and that the web server has permission to write and delete files within that directory. |
#3
|
|||
|
|||
Thanks for the reply. I couldn't find 'styles & language settings' in admincp.? I have a 'style manager' and 'language manager'. But even in the 'style manager' i couldn't find the setting to save css in external files.
To be more precise, if you view source on stage.lawinfo.com/chattest/, you can see the css within the <style> tags. Those correspond to the css settings in 'main css' under 'style manager'. I was wondering if those could be moved to an external style sheet, but still be editable via the admin panel. For SEO purposes, it would be a good idea to move it to an external style sheet. |
#4
|
||||
|
||||
under AdminCP -> vBulletin Options -> Styles and Language Settings
Not only good for SEO purposes but will also decrease your page load times |
#5
|
|||
|
|||
It worked !!!Awesome. Thanks for your help!!!
|
#6
|
|||
|
|||
hmm how would i know it its working? i tried changing to css but the folder clientscript/vbulletin_css/ still remains empty with only 1 index.html. please advice.
must i change the permissions to the folder to 777? |
#7
|
||||
|
||||
make sure the permissions are 777 like you said.
Then after that, go to your forums and from your browsers menu Hit View -> View Source if you've got a load of CSS at the top, its not working. If you don't have loads of CSS up top its working. |
#8
|
||||
|
||||
I just did this also , my pages are loading much faster....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|