ruden Posted January 11, 2020 Posted January 11, 2020 Hook System Only 2.3.x.x version osCommerce Some addons use a hook system, use for compatibility. This is commit @haraldpdl Hooks #254https://github.com/osCommerce/oscommerce2/pull/254/files Install ------- In /includes/application_top.php Add code to the bottom of the file, before the last closing ?> require(DIR_FS_CATALOG . 'includes/classes/hooks.php'); $OSCOM_Hooks = new hooks('shop'); In /admin/includes/application_top.php Add code to the bottom of the file, before the last closing ?> require(DIR_FS_CATALOG . 'includes/classes/hooks.php'); $OSCOM_Hooks = new hooks('admin'); Smoky Barnable and valquiria23 2 Quote
FlagShipper Posted May 14, 2020 Posted May 14, 2020 Tried to install this on 2.3.4 but application_top.php doesn't have a ?> at the end of the file and just pasting the code at the end of the file gave my page white screen syndrome. Trying to get reCAPTCHA to stop spam accounts and the addon says it needs this. Quote
johnwoo Posted September 1, 2020 Posted September 1, 2020 (edited) On 5/14/2020 at 11:16 PM, FlagShipper said: Tried to install this on 2.3.4 but application_top.php doesn't have a ?> at the end of the file and just pasting the code at the end of the file gave my page white screen syndrome. Trying to get reCAPTCHA to stop spam accounts and the addon says it needs this. I have exactly the same (not that I miss the ?>, but white screen for shop enrty. Admin part does not present a white screen though..) Edited September 1, 2020 by johnwoo Quote
♥14steve14 Posted September 1, 2020 Posted September 1, 2020 Is there not a recaptcha addon that is compatible with your versions of oscommerce. If not why not update to a better version like Phoenix. Quote REMEMBER BACKUP, BACKUP AND BACKUP
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.