PDA

View Full Version : How to remove vb version shown in "View Page Source"


vicelover
03-30-2010, 06:52 AM
Hi, guys

when view page source via browser, we find there are some line codes display the version of vb.
Line 7: <meta name="generator" content="vBulletin 4.0.2" />Line 24: var SIMPLEVERSION = "402";I'd like not show the version info, so how to remove the above two codes?
Thanks in advance.

borbole
03-30-2010, 12:30 PM
Hi, guys

when view page source via browser, we find there are some line codes display the version of vb.
Line 7: <meta name="generator" content="vBulletin 4.0.2" />Line 24: var SIMPLEVERSION = "402";I'd like not show the version info, so how to remove the above two codes?
Thanks in advance.




At the headinclude template find the following code:

var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}";

And change it to:

var SIMPLEVERSION = "";

This will remove the version at Line 24: var SIMPLEVERSION = "402";

Whereas to remove it from

<meta name="generator" content="vBulletin 4.0.2" />

change:

<meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" />

to

<meta name="generator" content="vBulletin" />

Let me know how it will go.

vicelover
04-01-2010, 02:11 AM
Hi, borbole, it works like a charm.
Thanks very much.:up:
you can check at my site (http://forum.jobbole.com). :)

raja811
04-02-2010, 10:41 AM
thanks

borbole
04-02-2010, 01:35 PM
You are most welcome guys :)