SimplePortal

Development => Feature Requests => Topic started by: joelnayeli on August 09, 2010, 02:32:29 AM

Title: SP mod, hide the version of SP for no administrators?
Post by: joelnayeli on August 09, 2010, 02:32:29 AM
I wonder if there is any method to hide the version to all managers not to say:
SimplePortal 2.3.2 © 2008-2010, SimplePortal

to

SimplePortal © 2008-2010, SimplePortal

I  say this because we have seen that if robots are detecting the  weaknesses of earlier versions of simpleportal and I think a danger,  especially for users like me, constantly amending smf  :nervous-happy:
thank you very much I hope your answers

POST: I regret that English is not my forte
Title: Re: SP mod, hide the version of SP for no administrators?
Post by: grafitus on August 09, 2010, 05:18:10 AM
Open ./index.php file.
Code: (Find) [Select]
sportal_init();
Code: (Add After) [Select]
if (!empty($_GET['action']) && ($_GET['action'] !== 'admin') && !$context['user']['is_admin'])
     $GLOBALS['sportal_version'] = '';
If not, try the belowing:
Code: (Add After) [Select]
if (!empty($_GET['action']) && ($_GET['action'] !== 'admin') && $context['user']['is_admin'])
     $GLOBALS['sportal_version'] = '';
Title: Re: SP mod, hide the version of SP for no administrators?
Post by: [SiNaN] on August 09, 2010, 05:18:38 AM
There is no danger in using older versions of SP; there aren't any security vulnerabilities found in any version of SP.
SimplePortal 2.3.8 © 2008-2024, SimplePortal