vbfan4life
08-30-2008, 11:34 PM
I'm having a bit of a difficult time figuring this problem out, and I'm sorry if it's been asked and answered before.
What I'm trying to do is remove this from the header, when people access the source:
<!-- CSS Stylesheet -->
<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.7.3 CSS
* Style: 'DarkVB'; Style ID: 2
Ideally, I'd like to remove the whole CSS code, as it's really not neccessary to kick that out in the header. But my main goal is to suppress the version number. Now, I tried to modify this code in the adminfunctions_template.php file in the includes folder:
$fullcsstext = "<style type=\"text/css\" id=\"vbulletin_css\">\r\n" .
"/**\r\n* vBulletin " . $vbulletin->options['(C) Copyright, 2000-2008 JelSoft Software'] . " CSS\r\n* Style: 'Available Upon Request'" .
"$css\r\n</style>\r\n" .
"<link rel=\"stylesheet\" type=\"text/css\" href=\"clientscript/vbulletin_important.css?v=" . $vbulletin->options['simpleversion'] . "\" />"
But it appears to have made absolutely no impact at all.
Plus, I'd like to remove this from the header, as it's a potential security risk:
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_important.css?v=373" />
<!-- / CSS Stylesheet -->
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "REMOVED";
var IMGDIR_MISC = "images/dark_vb/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=373"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=373"></script>
Any suggestions? Thanks in advance.
What I'm trying to do is remove this from the header, when people access the source:
<!-- CSS Stylesheet -->
<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.7.3 CSS
* Style: 'DarkVB'; Style ID: 2
Ideally, I'd like to remove the whole CSS code, as it's really not neccessary to kick that out in the header. But my main goal is to suppress the version number. Now, I tried to modify this code in the adminfunctions_template.php file in the includes folder:
$fullcsstext = "<style type=\"text/css\" id=\"vbulletin_css\">\r\n" .
"/**\r\n* vBulletin " . $vbulletin->options['(C) Copyright, 2000-2008 JelSoft Software'] . " CSS\r\n* Style: 'Available Upon Request'" .
"$css\r\n</style>\r\n" .
"<link rel=\"stylesheet\" type=\"text/css\" href=\"clientscript/vbulletin_important.css?v=" . $vbulletin->options['simpleversion'] . "\" />"
But it appears to have made absolutely no impact at all.
Plus, I'd like to remove this from the header, as it's a potential security risk:
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_important.css?v=373" />
<!-- / CSS Stylesheet -->
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "REMOVED";
var IMGDIR_MISC = "images/dark_vb/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=373"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=373"></script>
Any suggestions? Thanks in advance.