Osclass forums

Support forums => old => Topic started by: zombie on January 08, 2019, 05:23:32 pm

Title: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 08, 2019, 05:23:32 pm
Hello!

is there a solution for a transit from recaptcha with words to recaptcha v2 for version 3.02? I can't find any. Tried modifying the core and recaptchalib.php in the includes folder. Tried plugins with invisible captcha, the recaptcha v2 plugin from market (works with v3.2+) I do not like a lot of the features of 3.1+ and I have a lot of modifications that suit my needs and purpose but right now I have recaptcha 2 showing but it does not check the response. How did you make the shift? Is there any other captcha solution for 3.02?

Regards!
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: WEBmods on January 08, 2019, 07:20:49 pm
Hello,

If you are interested, I made a captcha plugin that's independant from 3rd parties (Recaptcha, RingCaptcha etc.). @Aficionado says it works great, but I'm assuming he used the latest Osclass version. You can try it on 3.02 if you want, but I suggest you to upgrade to 3.80.

Link: https://forums.osclass.org/plugins-20/simple-captcha-independant-from-3rd-parties/msg164629/#msg164629

Regards.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 09, 2019, 02:57:13 am
OK. Will give it a try. Thanks!!

Tested on one site - same problem - captcha is there and no matter used by user or not - acts as if it is not there at all.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: WEBmods on January 09, 2019, 11:10:36 am
Can you try the plugin on a new clean install to verify? IDK, maybe the hooks changed in newer versions...

Regards.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 09, 2019, 11:14:31 am
Sure I can try but it is needed on the already running sites. Where can I trace these hooks? Maybe I can do a manual core update depending on file and line changes.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: WEBmods on January 09, 2019, 01:37:19 pm
I'm not sure of the file, but can you post "oc-includes/osclass/controller/item.php" and "oc-includes/osclass/ItemActions.php" of your Osclass to check?

Regards.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 09, 2019, 01:57:55 pm
OK.

Folder /oc-includes/osclass/controller is empty and here goes ItemActions

Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: WEBmods on January 09, 2019, 03:55:53 pm
Okay, I see what's changed. Now for what pages do you want to use the captcha? This one is for contact, add comment and register.

Regards.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 09, 2019, 03:59:15 pm
Hey, thanks! I need it for contact admin page (getting too many messages from spam bots), register page (too many fake registrations with fake emails) and publish a listing page (i had an attack posting hundreds of ads per day not only once). What version is your plugin written for? Maybe if I could track the changes, I may even implement recaptcha2 because I saw your captcha is only alpha-numeric text on image with input field. Would be better than nothing for sure, so thanks for taking the time to help!   :)
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 10, 2019, 05:06:52 pm
@patrickFromCroatia, did you manage to check?
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: WEBmods on January 11, 2019, 01:23:06 am
Can you test register and contact pages? I still need to make the part for publishing the listing...

Regards.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 11, 2019, 09:48:26 am
I tested and captcha does appear but acts as if it is not there - no matter if entered or not, is accepted as valid. Now I can see beauty in captchas...  :)
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: WEBmods on January 17, 2019, 07:02:01 pm
I don't believe any hooks changed for register and contact page... Can you test the plugin on latest Osclass?

Regards.
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on January 17, 2019, 07:11:15 pm
I do not run latest Osclass. I need captcha solution for 3.02. Regards!
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: zombie on February 24, 2019, 04:21:54 am
BUMP!
Title: Re: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!
Post by: Aficionado on February 24, 2019, 11:05:18 am
BUMP!

Do Not Bump Posts # Do Not Bump Posts

Do not bump posts. Bumping a post to “the top” does not help a topic get noticed. The volunteers who try to answer questions look for those without replies first.

We have a list of threads without replies. When a post is bumped, it becomes harder for it to be discovered and reduces the chances of getting appropriate help. Some forum helpers use that list to prioritise over other answered threads.