PDA

View Full Version : Css


1Unreal
03-03-2009, 03:08 AM
What PHP file outputs the CSS file which is in clientscript/vbulletin_css?

Im experimenting with CSS compression and want to try it with vB :)

EDIT: If youre interested you can compress CSS (http://www.imben.co.uk/dev/CSSCompression/) manually here

Lynne
03-03-2009, 03:38 AM
You mean that creates the files that get put into the folder vbulletin_css? I think that is the includes/adminfuctions_template.php that does it. Take a look at the file and see if it is doing what you are talking about.

1Unreal
03-03-2009, 04:30 AM
Woo! Thanks :)

Worked quite nicely :D

http://www.theflickzone.com/clientscript/vbulletin_css/style-0eaed299-00007.css

Is it possible to make something like this into a plugin? Im not sure if there is a hook available to do this :|

Lynne
03-03-2009, 02:54 PM
I'm sure it is. Just look in the page for a hook.

1Unreal
03-03-2009, 03:07 PM
Yep, I managed to do it.

https://vborg.vbsupport.ru/showthread.php?t=207200

Im quite pleased with myself lol.

Lynne
03-03-2009, 03:13 PM
All right! (BTW, it's "decrease", not "decreace" :) )

1Unreal
03-03-2009, 03:15 PM
Hehe, thanks ;)