Major module rework. New ver. 1.0.12
Fixed sql/install.php (duplicate entry warning during upgrade).
Removed all overrides (no more needed).
Unhooked all hooks (no more needed) and hooked to one FrontController initialisation hook.
Now module works directly with FrontController and will intercept requests directly and faster.
Improvements:
Full support for modules: contactform, iqitreviews, productcomments, ps_emailsubscription, iqitemailsubscriptionconf. (without overrides)
Modules support tested on PS 8.2.0 with default theme and warehouse 4.6.4.
Added checks on add products to cart. (block bots on click add to cart)
Added checks on registration to guest or customer during checkout. (block bots on order page)
upgrade-1.0.12.php file added but if something wrong try to reinstall the module. Do not forget to backup tables if needed.
After this upgrade may work on earlier PS versions but minimum is 1.7.7 (not tested)
For testing modify:
$this->ps_versions_compliancy = ['min' => '1.7.8.3', 'max' => _PS_VERSION_];
Change min to 1.7.7 version.
Thanks all for donations.