Topic: Manual Extensions with no version install fix
When a third party extension (that is not in the list of extension repos as defined in version.php) with no version number ('version' => '-',) is attempted to be re-installed and activated for a specific company, the following error arises:
Package <$ext['name']> is incompatible with current application version and cannot be activated.
Check Install/Activate page for newer package version. <$ext['name']>
In general, such third party extensions can have their version set to a hyphen whilst they take responsibility for the version matches. To enable such extensions to be activated without the error nag, the following fix can be incorporated by replacing line 215 in admin/inst_module.php:
if (check_value('Active'.$i) && !check_src_ext_version($ext['version']))
with:
if (check_value('Active'.$i) && (!($ext['version'] == '-' || check_src_ext_version($ext['version']))))
The $ext['available'] parameter is to indicate the extension's availability with description in the official repos and will be blank for such third party unlisted extensions.
@joe: can incorporate it in the core.