Advertisement:

Author Topic: Recaptcha v2 for Osclas 3.02??? Displays but does not check the response. HELP!  (Read 1348 times)

zombie

  • Sr. Member
  • ****
  • Posts: 376
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!

WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
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.

zombie

  • Sr. Member
  • ****
  • Posts: 376
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.
« Last Edit: January 09, 2019, 03:01:36 am by zombie »

WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
Can you try the plugin on a new clean install to verify? IDK, maybe the hooks changed in newer versions...

Regards.

zombie

  • Sr. Member
  • ****
  • Posts: 376
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.

WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
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.

zombie

  • Sr. Member
  • ****
  • Posts: 376
OK.

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


WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
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.

zombie

  • Sr. Member
  • ****
  • Posts: 376
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!   :)

zombie

  • Sr. Member
  • ****
  • Posts: 376
@patrickFromCroatia, did you manage to check?

WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
Can you test register and contact pages? I still need to make the part for publishing the listing...

Regards.

zombie

  • Sr. Member
  • ****
  • Posts: 376
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...  :)

WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
I don't believe any hooks changed for register and contact page... Can you test the plugin on latest Osclass?

Regards.

zombie

  • Sr. Member
  • ****
  • Posts: 376
I do not run latest Osclass. I need captcha solution for 3.02. Regards!

zombie

  • Sr. Member
  • ****
  • Posts: 376
BUMP!