permanent fix for using css as a file:
in includes/adminfunctions_template.php
find:
Code:
if (preg_match('#^<link rel="stylesheet" type="text/css" href="(clientscript/vbulletin_css/style-\w{8}-0*' . $styleid . '\.css)" />$#', $csscontents, $match))
replace with:
Code:
if (preg_match('#^<link rel="stylesheet" type="text/css" href="'.$vboptions['bburl'].'/(clientscript/vbulletin_css/style-\w{8}-0*' . $styleid . '\.css)" />$#', $csscontents, $match))
and, find:
Code:
$QUERY[] = "css = '" . addslashes("<link rel=\"stylesheet\" type=\"text/css\" href=\$cssfilename\" />") . "'";
replace with:
Code:
$QUERY[] = "css = '" . addslashes("<link rel=\"stylesheet\" type=\"text/css\" href=\"{$vboptions['bburl']}/$cssfilename\" />") . "'";
cheers