News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

How to remove version number in the footer?

Started by Laibeus Lord, October 23, 2006, 09:49:28 AM

Previous topic - Next topic

Laibeus Lord

Hi,

   I'm new with SMF, so haven't explored the files much yet, still mastering the AdminCP and what not.

   Though, I am curious where or how I can remove the version number in the footer as well as all version number instances in the "view source code" via broswer's option (again haven't checked much on the files side yet).

   My main concern is that, many crackers or hacker-wannabees script-kiddos rely much on the version number of a certain forum to know if they'll spend time with it or not.  So personally, I prefer to remove the version number.

   If there's no option in the AdminCP, then I'd like to suggest it also if an option can be added to easily remove all version number instances from the footer to the "view source code" when a visitor checks it out via their browser.

   Thank you very much!!

Regards,
JC Cuneta



danskmacabre

I don't think you're allowed to.
I think you have to show everything that is in the footer.

but an admin here will know better than I.
Website: cantref.org.uk chaos8.com | SmF version: 2 | Portal software: PortaMx 1.3 | Default theme: Coal Black

Bigguy

The copyright must stay in the footer but the version number is not required to stay I don't think. Also if some really wanted in bad enough removing the version # is not going to stop them.

LeGaS

I am not sure you can remove it, but it's in the /Themes/default/languages/index.english.php file.

danskmacabre

#4
BTW bigguy, I used your idea of putting your website info in your sig.
Very handy for support issues..  :)
Website: cantref.org.uk chaos8.com | SmF version: 2 | Portal software: PortaMx 1.3 | Default theme: Coal Black

青山 素子

All you have to do is keep the copyright. Removing the version is okay.

The quick-and-dirty way to remove the version number is to edit the main index.php page. The first code line is what is used when displaying the version number. Change it from:

$forum_version = 'SMF Some Version Here';

to:

$forum_version = 'SMF';

Note that this will make the version check in the admin area not work.

On a further note, most script-kiddies don't care about your version and will run whatever mega-ultra-sploit pack they downloaded to try a bunch of possible attacks (Otherwise why throw IIS exploit strings at an Apache server? Yes, I have seen it happen).
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Bigguy

Thank you, glad you found it useful. ;)

Quote from: danskmacabre on October 23, 2006, 10:40:53 AM
BTW bigguy, I used your idea of putting your website info in your sig.
Very handy for support isues..  :)

Laibeus Lord

Cool thanks for the help!!

--
Yah they will, tho, some believes (incl me hehe) that its also good to give them a hard time.  On our end, we just have to keep ourselves updated to the latest versions.


Oldiesmann

Leaving the version info there shouldn't cause any problems as long as you keep the forum up to date :)

Advertisement: