Important security update, please update to Osclass 3.7.4
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 accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
Well, it has been a little tricky to find the "main switch" for this, because there is three different related helpers functions and seems each one is used in the several scripts that show captcha's. Just add this at the very bottom of your theme functions.php (take care not to leave blank lines after this):Code: [Select]<?phpif (osc_is_web_user_logged_in()) { Preference::newInstance()->set('enabled_recaptcha_items', 0); Preference::newInstance()->set('recaptchaPubKey', ''); Preference::newInstance()->set('recaptchaPrivKey', '');}?>And you won't need to modify anything more, a logged-in user should never see a captcha anywhere.
<?phpif (osc_is_web_user_logged_in()) { Preference::newInstance()->set('enabled_recaptcha_items', 0); Preference::newInstance()->set('recaptchaPubKey', ''); Preference::newInstance()->set('recaptchaPrivKey', '');}?>