![]() |
Change location of CSS file
I wanted to change the location of the CSS vBulletin generates to an absolute URL. I know it's being dumped to a variable called $style[css] -- where do I go to add a prefix like http://static.domain.com/?
|
I wanted to do the same thing, but wasn't sure where/how to make that change in vBulletin. So I just added a plugin with priority 65000 on global_complete to make those sort of content distribution network changes. It works fine for vBulletin, but the issue I have is with photopost it does not make these changes (because it doesn't process these hooks).
Code:
$oz_process = str_replace('"http://ozscience.com/forums/clientscript/', '"http://cdn8.ozscience.net/clientscript/', $output); |
This may help - Prefix url if storing CSS as a files
|
All times are GMT. The time now is 11:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|