Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: 青山 素子 on January 01, 2008, 01:09:09 AM

Title: Hide SMF Version
Post by: 青山 素子 on January 01, 2008, 01:09:09 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1046)

Hide SMF Version
================


About
-----
This modification provides a way to toggle display of the SMF version you are
running for non-administrators. It is intended to be a safe way to hide the
version for normal users.

This mod and other information can be found at:
http://www.animeneko.net/projects/smf/


Features
--------
- Hide the version of SMF you are using from non-Administrators


How to Use
----------
You can find the setting by going to:

SMF 2.0:
Admin -> Configuration -> Security & Moderation -> General

If you are an administrator, you will always see the version. This
prevents modification install and software upgrades from experiencing
errors. To verify the modification is working, make sure the option is
checked and then view your forum while not logged in.


License
-------
This code is licensed under the terms of the Modified BSD License. SMF code
used in this mod is copyright Simple Machines. All original code is copyright
Michael Johnson.


Rant
----
You probably don't need this modification. Despite much "received wisdom" on
the topic, most of the ways you would be compromised would be part of a whole
group of possible attacks run without even looking at what you're using on your
site. It doesn't matter if you aren't running on Windows, or you don't have
Joomla!, Drupal, or phpBB installed as the scripts will try attacks for those
things anyway. The only help this will provide is in a targeted attack, and
even then a determined attacker can find your version by analyzing the behavior
of the forum.

Regardless, many people still feel comforted by hiding the version.
Unfortunately, many common ways of hiding the version will break modification
installation, patch updates, and other administration features. This
modification was created as a way to hide the version in a safe manner without
breaking administrative activities.


Acknowledgements
----------------
"SMF" and "Simple Machines" are registered trademarks of Simple Machines.


Version History
---------------
See CHANGELOG


Doc Revision 20150701
Title: Re: Hide SMF Version
Post by: Apllicmz on January 01, 2008, 03:32:01 AM
Nice Mod
She work 100%
Thank you
Happy New year 2008
Title: Re: Hide SMF Version
Post by: karlbenson on January 01, 2008, 10:48:41 AM
I agree with the rant.

Security through obscurity does NOT work.

It is no substitute for keeping your smf forum, and any mods/themes you have installed updated.
Title: Re: Hide SMF Version
Post by: Hoochie Coochie Man on January 01, 2008, 11:14:24 AM
Thank you very much, it vorks perfect!
Here is Turkish language:

//Hide SMF Version - by Hoochie Coochie Man
$txt['hideVersion'] = 'SMF versiyonunu sakla.';
Title: Re: Hide SMF Version
Post by: Nikki Sixx on January 01, 2008, 02:32:07 PM
Quote from: Motoko-chan on January 01, 2008, 01:09:09 AM
"SMF" and "Simple Machines" are trademarks of Simple Machines LLC.

As a standard character mark, "SMF" is registered trademark of SMF Energy Corporation. However, since the word mark "SMF" is an acronym derived from "Simple Machines Forum," which is legally an unregistered trademark of Simple Machines LLC, I believe it can be claimed as a typed drawing and/or design trademark under the goods and services of the computer, scientific and legal classification.
Title: Re: Hide SMF Version
Post by: 青山 素子 on January 01, 2008, 02:47:53 PM
Quote from: Nikki Sixx on January 01, 2008, 02:32:07 PM
Quote from: Motoko-chan on January 01, 2008, 01:09:09 AM
"SMF" and "Simple Machines" are trademarks of Simple Machines LLC.

As a standard character mark, "SMF" is registered trademark of SMF Energy Corporation. However, since the word mark "SMF" is an acronym derived from "Simple Machines Forum," which is legally an unregistered trademark of Simple Machines LLC, I believe it can be claimed as a typed drawing and/or design trademark under the goods and services of the computer, scientific and legal classification.

SMF is actually a service mark of SMF Energy Corporation. Also, it is in a different domain. This is how companies can hold trademarks on the same name (they are holding them in different categories). Also, you can claim common-law trademark status (using the TM symbol) as Simple Machines LLC is currently doing (at least in the US).

Also, this isn't really the place for a trademark discussion. Can we keep on topic?
Title: Re: Hide SMF Version
Post by: ALEJO on January 03, 2008, 02:04:20 PM
i still dont get for what this thing works... -.-" somebody can explain me? for what should i hide the version of the smf?
Title: Re: Hide SMF Version
Post by: 青山 素子 on January 03, 2008, 02:24:37 PM
A lot is gone over in the "Rant" section in the readme.

You shouldn't need to hide your SMF version. In fact, it isn't really helpful at all.

A lot of people are under the impression that hiding the SMF version will protect them from hacking. It won't. Most attacks just try every possible vulnerability and see what sticks. Heck, often you will get attacks that are for software you don't even use. Of course, some people are so convinced wrongly they won't believe that and want to do it anyway.

The common method for hiding the version involves removing the version data. This also breaks the notices for SMF in the admin area. Basically, you won't get an alert if there is an important update. What this mod does is makes it so that the version is only hidden for non-admin users, which mean that update notices will still work properly.

So, do you need this mod? NO.
Is removing the version helpful in any way? Not really.
Why did I make the mod? To give those convinced they must hide the version a safe way to do so that doesn't break functionality.
Title: Re: Hide SMF Version
Post by: ALEJO on January 03, 2008, 04:02:42 PM
is clear now :P thx
Title: Re: Hide SMF Version
Post by: Anatis on February 01, 2008, 05:58:45 PM
Well.
It broke my board, methinks. I now get "SMF blabla" and "legal requirement" on everything. :/
Ripped it out and I still get it and it was the only change. (1.1.4, but with Tinyportal)
Core template, too.
Title: Re: Hide SMF Version
Post by: 青山 素子 on February 03, 2008, 02:39:00 PM
The only major changes this makes:

For index.php

Find:

// Load the user's cookie (or set as guest) and load their settings.
loadUserSettings();


Add the following BEFORE that:


//If the user isn't an admin, then hide the version'
if(!$user_info['is_admin'] && !empty($modSettings['hideVersion']) && $modSettings['hideVersion'])
$GLOBALS['forum_version'] = 'SMF';


For sources/ModSettings.php (this is just a simple toggle):

Find:

array('check', 'securityDisable'),


Add this BEFORE:

array('check', 'hideVersion'),



There is also one language line added to the modification language file.


Try reversing those steps manually if uninstall doesn't work for some reason.
Title: Re: Hide SMF Version
Post by: 青山 素子 on March 23, 2008, 03:26:21 PM
Mod updated for 2.0 Beta 3 Public. Also bundled in the Turkish translation from earlier in the topic.

The update wasn't too difficult, I just needed to change ModSettings.php to ManageSettings.php in the install.
Title: Re: Hide SMF Version
Post by: Basie on March 25, 2008, 07:35:10 PM
Thanks for this mod.

I use it because I don't want my 'competitor' sites/rivals to know what version I'm using (and not for anti-hacking reasons).

Anyway, in the admin CP it says...

Quote
   Hide SMF version from normal users

Can you please specify exactly what you mean by a 'normal' user?
Title: Re: Hide SMF Version
Post by: 青山 素子 on March 25, 2008, 09:16:54 PM
Quote from: seek2501 on March 25, 2008, 07:35:10 PM
Anyway, in the admin CP it says...

Quote
   Hide SMF version from normal users

Can you please specify exactly what you mean by a 'normal' user?

Any user that isn't an administrator. I couldn't think of any other compact way to say it.
Title: Re: Hide SMF Version
Post by: Apllicmz on March 26, 2008, 12:42:04 AM
thank
updated for 2.0 Beta 3 Public
Title: Re: Hide SMF Version
Post by: CubaLibre on April 17, 2008, 01:21:40 PM
[EDIT]Ok i find it in ACP it's on Security and Moderation, not on Features and Options  ;)
Title: Re: Hide SMF Version
Post by: PrizeLive.com on April 21, 2008, 07:50:31 PM
Just installed this mod successfully but I can't find it where it said it would be " Admin -> Features and Options -> Basic Features ".

Using version 1.1.4 and the Default theme.
Title: Re: Hide SMF Version
Post by: 2pac on May 25, 2008, 06:19:44 AM
Quote from: MoneyTalkPro.com on April 21, 2008, 07:50:31 PM
Just installed this mod successfully but I can't find it where it said it would be " Admin -> Features and Options -> Basic Features ".

Using version 1.1.4 and the Default theme.

Im not too sure where it would be on 1.1.4 but on 2.0 beta it's under Configuration > Security and Moderation > General
Title: Re: Hide SMF Version
Post by: SantaClaws on May 25, 2008, 06:26:33 AM
Admin CP>>Features And Options>>Basic Features>>Scroll Down>>Tick Hide SMF version from normal users.

There. Tell me if it helps if not i'll try get pics.
Title: Re: Hide SMF Version
Post by: L'AltroWeb on July 28, 2008, 11:06:22 AM
Thanks!
Here is Italian language:
Quote
//Hide SMF Version
$txt['hideVersion'] = 'Nascondi la versione di SMF agli utenti standard';
:)
Title: Re: Hide SMF Version
Post by: 青山 素子 on July 28, 2008, 02:46:21 PM
What language? I can't add support for it if I don't know what it is. (It looks Italian, but I'm not the best at identifying these things.)
Title: Re: Hide SMF Version
Post by: L'AltroWeb on July 28, 2008, 04:01:10 PM
Sorry!!! :)
Yes is Italian ;)
Title: Re: Hide SMF Version
Post by: Johno69 on August 08, 2008, 08:55:29 AM
nice mod thanks.
Title: Re: Hide SMF Version
Post by: chifliiiii on September 30, 2008, 06:17:39 PM
And here the spanish version .Thanks

In spanish is located in Configuracion del foro->Moderacion y seguridad-> General

//Hide SMF Version
$txt['hideVersion'] = 'Ocultar la versión de SMF a los usuarios normales ';
Title: Re: Hide SMF Version
Post by: Frozt on October 17, 2008, 06:58:00 AM
Quote from: chifliiiii on September 30, 2008, 06:17:39 PM
And here the spanish version .Thanks

In spanish is located in Configuracion del foro->Moderacion y seguridad-> General

//Hide SMF Version
$txt['hideVersion'] = 'Ocultar la versión de SMF a los usuarios normales ';


thanks

Im searching and searching and I cant find it until see your post  :)
Title: Re: Hide SMF Version
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2008, 05:50:34 AM
Any update for 1.1.7? It seems that the version is still there though not logged in or logged in as member.
Title: Re: Hide SMF Version
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2008, 06:33:52 AM
Quote from: pk3r 0wn on May 25, 2008, 06:26:33 AM
Admin CP>>Features And Options>>Basic Features>>Scroll Down>>Tick Hide SMF version from normal users.

There. Tell me if it helps if not i'll try get pics.
Ok I got it.
Title: Re: Hide SMF Version
Post by: 青山 素子 on November 12, 2008, 10:49:47 AM
I guess no one reads the mod description nor the install readme that mentions that explicitly.
Title: Re: Hide SMF Version
Post by: editor1 on December 06, 2008, 03:56:25 AM
HI motoko

Nice work..
I was wondering if there was a version for 1.1.7, i've been searching for a long time now, just about everywhere...
Thank you for your response.
Michael
Title: Re: Hide SMF Version
Post by: 青山 素子 on December 06, 2008, 01:25:44 PM
It should work fine for any 1.1 version.
Title: Re: Hide SMF Version
Post by: editor1 on December 06, 2008, 02:10:43 PM

Hi,
Thank you for your reply, I appreciate it, the issue is the package installer for my smp version 1.1.7 doesnt allow this file type "3a.tar.gz". And it must be a zip file, so unfortunately I don't seem to have an option, i would be eternally grateful for any suggestions. :)
Thanks, Michael

3a.tar.gz
Title: Re: Hide SMF Version
Post by: 青山 素子 on December 06, 2008, 02:15:31 PM
Not a limitation of SMF, possibly PHP doesn't have the right extension to uncompress. The best solution would be to unpack the mod and save it in the zip format. 7-Zip (http://www.7-zip.org/) is a good tool for this job.
Title: Re: Hide SMF Version
Post by: editor1 on December 06, 2008, 04:58:24 PM
Hi
Motoko
Again my absolute appreciation extends, thank you for your response and suggestion, as well as your valuable time, I'm going to try the remedy right away, and hoping for the best,
sincerely
Michael
Title: Re: Hide SMF Version
Post by: ApplianceJunk on February 05, 2009, 12:16:54 AM
Quote from: Motoko-chan on December 06, 2008, 01:25:44 PM
It should work fine for any 1.1 version.

Hmm, I just updated to 1.1.8 and this mod stopped working.
I have tried to check and unchecked the "Hide SMF version from normal users" under Admin>Features and Options.

I have also removed the mod and reinstalled it.

Still shows "Powered by SMF 1.1.8" at the bottom of our site @ http://ApplianceJunk.com

It was working great for us on 1.1.7

Maybe there is no reason to hide 1.1.8?
Title: Re: Hide SMF Version
Post by: ApplianceJunk on February 05, 2009, 12:18:30 AM
My bad, it's working fine with 1.1.8

Seems I was signed in as admin when I was looking, sorry.

Regular members can't see what version of SMF. :)
Title: Re: Hide SMF Version
Post by: islam2hamy on June 03, 2009, 01:42:20 PM
thank you,nice mod

Arabic translation attached .
Title: Re: Hide SMF Version
Post by: saibaworld on June 21, 2009, 12:31:42 PM
Thanks for the great mod.

On the download page for this mod, i see:

Quote
    Download this mod

* HideSMFVersion_1-0-3a.tar.gz     * (3KB)     * [30713]
   
* HideSMFVersion_1-0-3b.tar.gz     * (3KB)     * [1481]

* HideSMFVersion_1-0-3c.tar.gz     * (3KB)     * [254]

Manual Install Instructions for SMF   2.0 RC 1.1   Parse


My question:
Since i am on smf 1.1.9; which of the files do i download for installation?
Is it 1-0-3a.tar.gz? Or 1-0-3b.tar.gz? Or 1-0-3c.tar.gz?

Will appreciate your reply greatly
Title: Re: Hide SMF Version
Post by: 青山 素子 on June 21, 2009, 01:35:54 PM
Always use the newest unless you have a specific reason not to.
Title: Re: Hide SMF Version
Post by: saibaworld on June 21, 2009, 04:57:35 PM
Quote from: Motoko-chan on June 21, 2009, 01:35:54 PM
Always use the newest unless you have a specific reason not to.

I guess the newest shd be HideSMFVersion_1-0-3c.tar.gz  :-\

Am i right?   ???
If i am, then to the download page i go
Title: Re: Hide SMF Version
Post by: saibaworld on June 21, 2009, 07:24:27 PM
Hi am i right?
Title: Re: Hide SMF Version
Post by: plusev on July 18, 2009, 02:50:01 AM
Tried installing on 2 RC 1.2 and got the following error:

Installations actions for "Hide SMF Version":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

Please advise. Thx
Title: Re: Hide SMF Version
Post by: 青山 素子 on July 18, 2009, 03:07:48 AM
Why do you want to hide the version? It's not like it even helps with anything. Please read my rant.

If you still insist in persisting to pointlessly hide things, tell the package manage you are running an earlier version of SMF. In the package view, look at the advanced area at the bottom-right of the page.
Title: Re: Hide SMF Version
Post by: plusev on July 18, 2009, 10:43:46 AM
With all due respect- my desire to remove the version has nothing to due with security and more to due with clutter. The bottom of my forum reads like the credits of a hollywood blockbuster movie. I respect each mod authors right to backlink but I'd personally rather make a "donation" and have the ability to reduce the tagging of all my pages or at least limit it to a links page - but thats me.

Thx
Title: Re: Hide SMF Version
Post by: 青山 素子 on July 18, 2009, 04:11:50 PM
The version is quite a small portion, but to each their own. I must say you are the first person I've seen with any view other than "it helps haxorz!!!111 one one".

Personally, I agree that each mod developer adding their credits to the bottom is a ton of clutter. I can see it possibly for huge modifications that affect every page (TP, SP, and other portals), or for only pages that it is part of (shop mod, staff page, etc).
Title: Re: Hide SMF Version
Post by: plusev on July 19, 2009, 03:14:44 PM
Quote from: Motoko-chan on July 18, 2009, 04:11:50 PM
The version is quite a small portion, but to each their own. I must say you are the first person I've seen with any view other than "it helps haxorz!!!111 one one".

Personally, I agree that each mod developer adding their credits to the bottom is a ton of clutter. I can see it possibly for huge modifications that affect every page (TP, SP, and other portals), or for only pages that it is part of (shop mod, staff page, etc).

I don't think for most of us using SMF for commercial ventures, a few bucks to at least be able to move the backlinks to a links pages would be much to ask. Having backlinks to all my "free stuff" I'm using all over my pages is a bit unprofessional for a professional endeavor. I'm sort of surprised that authors who openly request a donation don't, at the same time, makes the move or remove option available for a reasonable fee. I'm guessing there would be more in their paypal account from folks like me than those feeling generous.

Thx again.
Title: Re: Hide SMF Version
Post by: danielwmoore on August 28, 2009, 09:15:07 AM
Quote from: Motoko-chan on July 18, 2009, 03:07:48 AM
Why do you want to hide the version? It's not like it even helps with anything. Please read my rant.

I know this question wasn't for me specifically, but I feel it applies.

I for one would like to thank you for a mod that IS useful to me.  As an administrator of a board that has a lot of young teenagers, AND as one who doesn't always upgrade to the next version RIGHT away, I find it helpful in a very unique way.  When the version was showing, I would keep getting messages from members stating, "Your forums out of date.  You need to update it."  Hiding the version stops all this annoyance.

So, as a reduced annoyance factor on my forums, I thank you for the mod. 

I know, I should upgrade faster.  Sometimes I do, sometimes I don't.  Usually, at least 2 people notice the new updates the day it comes out, and I don't get it for another few days.  This prevents me from having to constantly watch for updates. 
Title: Re: Hide SMF Version
Post by: smartmouse on November 10, 2009, 04:19:31 PM
Hello, can you edit the mod to make it hide TinyPortal version too?
Title: Re: Hide SMF Version
Post by: 青山 素子 on November 10, 2009, 04:22:02 PM
I am not sure how TP handles its version. I suggest asking for something on their support site.
Title: Re: Hide SMF Version
Post by: bdewong on November 10, 2009, 05:30:56 PM
Great mod and the rant is even better.
Title: Re: Hide SMF Version
Post by: smartmouse on November 11, 2009, 02:38:09 AM
Quote from: Motoko-chan on November 10, 2009, 04:22:02 PM
I am not sure how TP handles its version. I suggest asking for something on their support site.

Ok, thank you anyway.
Title: Re: Hide SMF Version
Post by: Jack_the_ripper on November 11, 2009, 09:27:17 AM
The mode will be update to rc2?
Title: Re: Hide SMF Version
Post by: 青山 素子 on November 11, 2009, 12:07:01 PM
It should work with emulation, but I do plan to update it as soon as I have time.
Title: Re: Hide SMF Version
Post by: king kratos on November 11, 2009, 12:56:09 PM
Quote from: Motoko-chan on November 11, 2009, 12:07:01 PM
It should work with emulation, but I do plan to update it as soon as I have time.

Motoko-chan,

Here is the package that is compatible with Version 2.0 RC2. All I did was add 2.0 RC2 to the package_info.xml file. By doing this, SMF package manager sees it as being compatible with RC2 and the few file edits that are made are made without issue. I installed it on my RC2 test forum without problems.

If you don't want to use this, no problem. If you do want to use this, feel free to. I do NOT expect any credit because I didn't really do anything but add 2.0 RC2 to package_info.xml and did this on my own. If you do not want this zipped file attached to this topic, let me know and I can get it removed. I just thought this might help you a little.

Thank you for a great mod. This mod is helpful in many ways.

Thank you,
Kratos
Title: Re: Hide SMF Version
Post by: 青山 素子 on November 11, 2009, 01:23:58 PM
Please remove it from the public topic. The license I use forbids modified distribution.
Title: Re: Hide SMF Version
Post by: king kratos on November 11, 2009, 01:32:52 PM
Quote from: Motoko-chan on November 11, 2009, 01:23:58 PM
Please remove it from the public topic. The license I use forbids modified distribution.

:-[ :-[ Oh shoot! I apologize! I'm really, really, sincerely sorry about that. I was just trying to be helpful. Please forgive me.  :-[ :-[

On that note, can I still use it this way? Or do I need to uninstall it and wait for your updated version?

Sorry,
Kratos
Title: Re: Hide SMF Version
Post by: 青山 素子 on November 11, 2009, 01:45:06 PM
You can hack it to your heart's content, you just can't distribute it (same license restriction as SMF itself). I also don't mind if you post instructions on what to edit, just don't distribute the thing.
Title: Re: Hide SMF Version
Post by: Jack_the_ripper on November 12, 2009, 07:07:47 AM
Quote from: Motoko-chan on November 11, 2009, 12:07:01 PM
It should work with emulation, but I do plan to update it as soon as I have time.

Thank you for the answer.
Anyway according to me for this the mod should be from a basis in to the smf .
Title: Re: Hide SMF Version
Post by: king kratos on November 12, 2009, 11:41:38 AM
Quote from: Motoko-chan on November 11, 2009, 01:45:06 PM
You can hack it to your heart's content, you just can't distribute it (same license restriction as SMF itself). I also don't mind if you post instructions on what to edit, just don't distribute the thing.

Again, I'm sorry about that. I was posting the edited package more for you (to help save you time) than for anyone else. If you want, I can email you the edited package, but that is up to you. I will be more careful in the future and will not distribute any packages at all.

Thanks,
Kratos
Title: Re: Hide SMF Version
Post by: Ben K on November 21, 2009, 08:29:20 PM
In "printpage" you can see version of forum any way =\
SMF RC-2.
Title: Re: Hide SMF Version
Post by: 青山 素子 on November 21, 2009, 08:33:55 PM
Quote from: Ben K on November 21, 2009, 08:29:20 PM
In "printpage" you can see version of forum any way =\
SMF RC-2.

I'll look into it, but this method should hide it globally except for users in the "Administrators" group.

Edit: I just checked and confirmed that the version is not shown in the print view either unless you are logged in and a member of the Administrators group.
Title: Re: Hide SMF Version
Post by: Ben K on November 21, 2009, 09:04:34 PM
QuoteEdit: I just checked and confirmed that the version is not shown in the print view either unless you are logged in and a member of the Administrators group.
Ohh, my bad, I was thinking that it dosen't show the version for any one ...
Title: Re: Hide SMF Version
Post by: supahben on December 19, 2009, 10:00:00 AM
the option text does not show on the Basic Features but the checkbox is still there
Title: Re: Hide SMF Version
Post by: 青山 素子 on December 19, 2009, 01:06:13 PM
There probably isn't a text string for the language you are using. Copy the string from Modifications.english.php to Modifications.language.php, where language is the name of the language you are using.
Title: Re: Hide SMF Version
Post by: supahben on December 19, 2009, 09:47:29 PM
Quote from: Motoko-chan on December 19, 2009, 01:06:13 PM
There probably isn't a text string for the language you are using. Copy the string from Modifications.english.php to Modifications.language.php, where language is the name of the language you are using.
the change has been executed properly on Modifications.engish.php because i see this there:
$txt['hideVersion'] = 'Hide SMF version from normal users';
but i can't still see the text on the settings page...

iam using a custom theme called anone by pixelslot.
Title: Re: Hide SMF Version
Post by: InfoStrides on December 28, 2009, 05:37:13 PM
Thank you. Nice Mods!!!
Title: Re: Hide SMF Version
Post by: Bugo on January 12, 2010, 10:29:55 AM
Russian translation:

$txt['hideVersion'] = 'Не показывать версию SMF обычным пользователям';
Title: Re: Hide SMF Version
Post by: derby on February 10, 2010, 01:29:40 PM
Works fine for me
Title: Re: Hide SMF Version
Post by: tyty1234 on February 15, 2010, 03:50:07 AM
I'm not sure if this has already been discussed, but I feel that in the Admin Panel, it shouldn't replace the SMF version under version information. In addition, it won't show the current version information correctly as the installed version will be red. Not much of a big problem, but a good thing to consider. :)
Title: Re: Hide SMF Version
Post by: 青山 素子 on February 15, 2010, 10:56:32 AM
Quote from: tyty1234 on February 15, 2010, 03:50:07 AM
I'm not sure if this has already been discussed, but I feel that in the Admin Panel, it shouldn't replace the SMF version under version information.

No, it shouldn't. The current SMF version should display correctly.


Quote from: tyty1234 on February 15, 2010, 03:50:07 AM
In addition, it won't show the current version information correctly as the installed version will be red. Not much of a big problem, but a good thing to consider. :)

If you're running an older version of SMF, this is correct.

This modification simply blanks the existing version string to non-admin users. It shouldn't cause a problem with the version number itself.

Of course, the simplest thing to do is to not hide the version to begin with. It's a false sense of security.
Title: Re: Hide SMF Version
Post by: waruna on February 15, 2010, 12:47:03 PM
Hye Motoko-chan.

I'm using SMF2.0 RC2. Installing is ok, but nothing happen. I go to Admin - Features and Options - General and no such option.

Have I done something wrong?
Title: Re: Hide SMF Version
Post by: JD82 on March 09, 2010, 04:43:25 PM
Hi, I'm wondering if the plugin will be updated shortly to release RC3 :)
Title: Re: Hide SMF Version
Post by: Arantor on March 09, 2010, 04:45:29 PM
Quote from: JD82 on March 09, 2010, 04:43:25 PM
Hi, I'm wondering if the plugin will be updated shortly to release RC3 :)

Shortly as people have time. I've seen a lot of threads with people demanding updates, but forget that mod authors are real people and real lives... ;)
Title: Re: Hide SMF Version
Post by: 青山 素子 on March 09, 2010, 06:05:52 PM
Try using version emulation. I can't think of any changes that would break this.

Besides, this mod is useless for security.
Title: Re: Hide SMF Version
Post by: okae on March 11, 2010, 07:38:45 AM
this mod will be updated for 2.0rc3?
Title: Re: Hide SMF Version
Post by: Nimnix on March 11, 2010, 07:39:56 AM
Well, shouldn't you be able to just edit the indextemplate.php?
Title: Re: Hide SMF Version
Post by: Arantor on March 11, 2010, 08:13:51 AM
Quote from: Westlund on March 11, 2010, 07:39:56 AM
Well, shouldn't you be able to just edit the indextemplate.php?

Considering it's not stored there, no.
Title: Re: Hide SMF Version
Post by: 青山 素子 on March 11, 2010, 11:08:22 AM
Quote from: okae on March 11, 2010, 07:38:45 AM
this mod will be updated for 2.0rc3?

Yes, but it should work already. Use the version emulation dialog to report you are using RC2 and it should install cleanly.


Quote from: Westlund on March 11, 2010, 07:39:56 AM
Well, shouldn't you be able to just edit the indextemplate.php?

You could, but the version isn't there. It's in index.php. However, removing the version information will break the package manager, update check, and other version-related things. As the mod description says, this is for people that are convinced they must do this worthless thing to do so safely so that those things are not broken.
Title: Re: Hide SMF Version
Post by: karls on March 12, 2010, 04:58:34 AM
Hi,

How do I install this? On this page: http://custom.simplemachines.org/mods/index.php?mod=1046 there are 2 download links:

HideSMFVersion_1-0-5.tar.gz      (3kB)     [2029]     
HideSMFVersion_1-0-6.tar.gz    (3kB)    [13]

Which one do I download, and once I download where do I upload the file? And do I upload the file as it is?

The installation instructions are too weak on that page.

Thanks,
Karl
Title: Re: Hide SMF Version
Post by: Arantor on March 12, 2010, 05:27:05 AM
Download the 1.0.6 file to your computer, then go to your forum's admin panel, Packages, and use the Download page to send it to your forum, then install.
Title: Re: Hide SMF Version
Post by: karls on March 12, 2010, 05:51:08 AM
Thanks but I am not seeing anything in here:

SMF 1.1:
Admin -> Features and Options -> Basic Features

SMF 2.0:
Admin -> Configuration -> Security & Moderation -> General

Any idea why?

Karl
Title: Re: Hide SMF Version
Post by: Arantor on March 12, 2010, 05:51:48 AM
Did you select the install button once uploading the package?
Title: Re: Hide SMF Version
Post by: karls on March 12, 2010, 05:56:41 AM
There was no Install buttons, I clicked on Apply Mod.

But if I go to Installed Packages it's not listed. So it's not installed well. If I go to Download Packages and upload again it tells me:

The file you are uploading already exists on the server. Please delete it first then try again.

Karl
Title: Re: Hide SMF Version
Post by: Nimnix on March 12, 2010, 06:44:19 AM
Quote from: karls on March 12, 2010, 05:56:41 AM
There was no Install buttons, I clicked on Apply Mod.

But if I go to Installed Packages it's not listed. So it's not installed well. If I go to Download Packages and upload again it tells me:

The file you are uploading already exists on the server. Please delete it first then try again.

Karl

Try delete the package manually from your FTP. It's in your Packages folder.
Title: Re: Hide SMF Version
Post by: karls on March 12, 2010, 07:34:08 AM
I delete the zip file manually, re uploaded successfully, clicked on the Apply mod - and still there's not listed the option...

I am using Forum version: SMF 1.1.11
I am going to Features and Options and Basic.

Can't believe things are so complicated or get so complicated.

Unbelievable.

Thanks.
Karl
Title: Re: Hide SMF Version
Post by: karls on March 12, 2010, 07:39:06 AM
Actually my forum footer says:

QuotePowered by SMF | SMF © 2006-2009, Simple Machines LLC
Theme Green FS by Fussilet
Page created in 0.237 seconds with 23 queries.

So in any case the version number is hidden I assume.

Thanks.
Karl
Title: Re: Hide SMF Version
Post by: Arantor on March 12, 2010, 08:16:08 AM
So when you clicked on Apply Mod, what happened? Did you get a screen saying it was applied successfully?
Title: Re: Hide SMF Version
Post by: karls on March 12, 2010, 08:30:09 AM
yes I did.
Title: Re: Hide SMF Version
Post by: makaluch on October 14, 2010, 12:33:19 AM
FYI - this mod is so useful because it cleans up the footer.

All that crap is just plain ole ugly! I, nor anyone else, cares what version the boards are running while using them. The only time I care about versioning is when I'm performing routine maintenance. Versions should be absent from copyright information by default.

Also, REAL hackers are conscientious and purposeful. They will research and test against the version to subvert the logging system, gain access, and then escalate. Versions do matter but regular updates, log reviews, strong login passwords even for your users, and registration verification (to name a few) should always matter more.
Title: Re: Hide SMF Version
Post by: danielwmoore on November 24, 2010, 04:05:19 PM
Went into package-info.xml for this modification and changed:

<install for="2.0 RC2, 2.0 RC3">


to:

<install for="2.0 RC2, 2.0 RC3, 2.0 RC4">


It installs perfectly for SMF 2.0 RC4 once you do this.
Title: Re: Hide SMF Version
Post by: moviespot on December 02, 2010, 05:30:36 PM
Here is an edit as danielwmoore said.

This install on RC4 version

<<< File Removed >>>
Title: Re: Hide SMF Version
Post by: 青山 素子 on December 02, 2010, 10:12:34 PM
Why post edited copies of my modification when the license doesn't allow it?

Even more, why bother re-packaging when a simple version emulation feature (which is a standard GUI item in 2.0!) will work without any unpackaging/packaging?

Please remove the file.
Title: Re: Hide SMF Version
Post by: moviespot on December 03, 2010, 12:42:59 AM
Quote from: 青山 素子 on December 02, 2010, 10:12:34 PM
Why post edited copies of my modification when the license doesn't allow it?

Even more, why bother re-packaging when a simple version emulation feature (which is a standard GUI item in 2.0!) will work without any unpackaging/packaging?

Please remove the file.

Its great that you answer .. as you guys were busy you just need to add 1 line of code to allow it to install smooth without version emulation..

I found many mods like this, I removed the file, but please add it normally to your version or make new version what so ever, I was think you will be happy with my time effort to this contribution I did for you.

Thanks, and thumb-up for the good work.
Title: Re: Hide SMF Version
Post by: 青山 素子 on December 06, 2010, 11:36:15 PM
Quote from: moviespot on December 03, 2010, 12:42:59 AM
please add it normally to your version or make new version what so ever, I was think you will be happy with my time effort to this contribution I did for you.

I will, as soon as I can. Although I applaud you for your testing, it really isn't much of an effort to make such a change.
Title: Re: Hide SMF Version
Post by: PLAYBOY on January 19, 2011, 08:53:59 AM
Very useful mod.
You know what. I think im not gonna keep updating my forum for a long time. At least until they come up with a stable 2.0

This mod is very smart,quick, easy and great. Appreciated it.
Title: Re: Hide SMF Version
Post by: squad on February 15, 2011, 01:51:53 AM


Please, would this be compatible with 1.1.13 without any mucking
around.
Title: Re: Hide SMF Version
Post by: PLAYBOY on February 15, 2011, 03:28:49 AM
I had this mod and i upgraded my forum to 1.1.13 with no problem. I dont see why not.
Title: Re: Hide SMF Version
Post by: squad on February 15, 2011, 04:18:28 AM
Quote from: PLAYBOY on February 15, 2011, 03:28:49 AM
I had this mod and i upgraded my forum to 1.1.13 with no problem. I dont see why not.


Thank you PLAYBOY, will give it a go.
Title: Re: Hide SMF Version
Post by: 青山 素子 on February 15, 2011, 10:56:21 AM
The code edits are minimal, so it should work on the latest versions without problems. I won't bump compatible versions until I verify, of course. The install has a wildcard for 1.1, so it will install without trickery on 1.1. With 2.0, use the version emulation dialog.
Title: Re: Hide SMF Version
Post by: squad on February 15, 2011, 12:53:06 PM
Yes it did install, without any problems but I haven't logged out to check, will do so later today. Thank you heaps :)
Title: Re: Hide SMF Version
Post by: mariusfv on March 22, 2011, 02:44:08 PM
SMF 2.0 RC5 - This package doesn't appear to support your SMF version.

Not working, after I upload the mod and try to apply ....

Pls update!
Title: Re: Hide SMF Version
Post by: mariusfv on March 28, 2011, 02:18:10 PM
Edit: Works perfectly with version emulate on 2.0 RC5, i was forgot to activate it on admin menu  ???
Title: Re: Hide SMF Version
Post by: alexx-1 on March 04, 2012, 04:40:22 PM
ok, i install, shange settings... and not working
Title: Re: Hide SMF Version
Post by: 青山 素子 on March 04, 2012, 05:23:53 PM
Quote from: alexx-1 on March 04, 2012, 04:40:22 PM
ok, i install, shange settings... and not working

Make sure you're not logged in. Administrators will always see the version.
Title: Re: Hide SMF Version
Post by: kegyen on March 08, 2012, 08:37:51 PM
When I try to go to other portions of my forum I am getting:

Fatal error: Cannot redeclare nchatsettings() (previously declared in /home/content/21/6641821/html/forum/Sources/ManageSettings.php:2152) in /home/content/21/6641821/html/forum/Sources/ManageSettings.php on line 2262

When I remove NChat I get

Fatal error: require_once() [function.require]: Failed opening required '/home/content/21/6641821/html/forum/NChat/NChatBoardIndex.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/21/6641821/html/forum/Sources/Load.php(2181) : eval()'d code on line 20

How can I just remove this and get my forum back on track?
Title: Re: Hide SMF Version
Post by: 青山 素子 on March 08, 2012, 09:10:01 PM
That's something over which you'll have to ask that modification author. I have no idea what NChat even is.
Title: Re: Hide SMF Version
Post by: villasg on July 04, 2015, 01:41:25 PM
Hello .
I installed in my 2.0.10 without errors but can not find the settings in Admin panel and can not hide smf version .
where can i find the configuration ? ( 2.0.10 not have Admin -> Configuration -> Security & Moderation -> General )


Finaly i found in : forum  »Administration Center »Server Settings »Security


Title: Re: Hide SMF Version
Post by: Niko_Bellic on July 05, 2015, 12:43:30 PM
If this makes no real difference to hackers, then what is the point in hiding the SMF version?
Title: Re: Hide SMF Version
Post by: 青山 素子 on July 05, 2015, 01:10:31 PM
Quote from: villasg on July 04, 2015, 01:41:25 PM
I installed in my 2.0.10 without errors but can not find the settings in Admin panel and can not hide smf version .
where can i find the configuration ? ( 2.0.10 not have Admin -> Configuration -> Security & Moderation -> General )

Finaly i found in : forum  »Administration Center »Server Settings »Security

That's really odd. My install of 2.0.10 has the exact path shown in the readme. There is certainly no security section under the "Server Settings" section.


Quote from: NikoBellic on July 05, 2015, 12:43:30 PM
If this makes no real difference to hackers, then what is the point in hiding the SMF version?

It doesn't much, but some people are convinced it's useful. Rather than removing the version number from the SMF files, this at least provides a safe method to hide the version and hopefully lowers the number of people requesting support because they broke their SMF install by removing the version number.