News:

At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.

Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.

I would like to put recaptcha in the comments form, like in the contact form in the item.php file. I tried to copy the code, but is not working, recaptcha is not checked on sending. I'm talking about this code:

case ('contact'): //contact require_once(osc_lib_path() . 'osclass/controller/contact.php'); $do = new CWebContact(); $do->doModel();Sorry, seems that there is no easy way to achieve this. The only way to deal with spam in comments seems to be enabling "A comment is being held for moderation" in Settings / Comments.

With this approach I could only show one recaptcha per page so I ended up putting it in the comment box, for not authenticated users, and allowing only logged-in users to contact sellers directly (this is done via the admin interface)