Please note: This hack is obsolete from simpleContact Pro 2.02.
Version 2.02 includes an option in the config file to disable version check. simpleContact Pro license holders can get the latest version by following the instructions at the support centre.
------------------------------------------------------------------------------------------------------------------------------
simpleContact checks whether a new version is available when you log into sc_admin. It does this by reading an XML file on this website and displaying a message if a new version is found.
This feature was added for your convenience and is common among self-hosted web applications. WordPress for example, performs a version check.
However, there may be times when you don't want such a message to appear. Perhaps you have rebranded simpleContact for a client and don't want any apparent links to this website...
This hack describes the very simple process of disabling the version check:
simpleContact Lite 1.0
Version 1.0 does not have a version check. Download the latest simpleContact Lite to use this hack.
------------------------------------------
simpleContact Lite 1.1
Open sc_admin/include/common/updatecheck.php
Find the line that says...
session_register('sc_version_prompt');
... add this line after it ...
$_SESSION['sc_version_prompt'] = "";
Now comment out all the code that follows that line, before the final }
------------------------------------------
simpleContact Lite 1.2
Open sc_admin/include/common/updatecheck.php
Find the line that says...
$_SESSION['sc_version_prompt'] = "";
Now comment out all the code that follows that line, before the final }
------------------------------------------
simpleContact Pro 2.0
Open sc_admin/include/updatecheck.php
Find the line that says...
$_SESSION['scpro_version_prompt'] = "";
Now comment out all the code that follows that line, before the final }