Advertisement:

Author Topic: [Free Plugin] noCaptcha reCaptcha (new version 1.2.1 released)  (Read 12895 times)

shamim_biplob

  • Full Member
  • ***
  • Posts: 169
Google intruduce no Captcha reCaptcha. It is very user friendly, Just need a tick mark.

I am a WordPress plugin developer. Before few days i wrote a plugin https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/ Advenced noCaptcha reCaptcha for WordPress. I search osclass plugins is this plugin present and i find no. Then i decide to make this plugin for Osclass as when i used Osclass bot was a problem for me. But i do not use osclass so many days. Many core file have been changed. So i studied about Osclass core files as well as some plugins to know how they works. Then i write noCaptcha reCaptcha for Osclass. You can give it a try. Install this plugin and in configure page more instructions are there.


This Plugin is now available in market. Download from there.
http://market.osclass.org/plugins/security/nocaptcha-recaptcha_251

BE SURE

1. disable core reCaptcha
2. You have to get new pair of keys from google and add those keys in plugin settings page.
3. Set up this plugin in plugin settings page as you need.

version 1.1.2

Bug fixes
« Last Edit: May 18, 2016, 08:58:08 pm by shamim_biplob »

gnoe

  • Full Member
  • ***
  • Posts: 237
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #1 on: May 02, 2015, 01:19:25 am »
Thank you for your plugin. :)
I believe it needs new site keys from google because it's a different api.
I'll try it for sure.

gnoe

  • Full Member
  • ***
  • Posts: 237
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #2 on: May 02, 2015, 02:39:20 pm »
I can't save preferences like Site Key,Secret key etc in admin panel.
It keeps loading default values.
Any idea how to solve this?
Regards.

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #3 on: May 02, 2015, 03:07:17 pm »
Because there is no code for saving preferences. shamim_biplob many here will appreciate your efforts, but the thing is Captcha is already part of the core and noCaptcha is in the process of implementation with minor issues with default theme. Also, Conejo said he wants to figure a way of not breaking existing sites that use it, old keys will not work anymore so it has to be a smooth transition. Maybe the plugin is the best answer actually, dropping it from the core entirely.

https://github.com/osclass/Osclass/pull/1778

Regards

shamim_biplob

  • Full Member
  • ***
  • Posts: 169
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #4 on: May 03, 2015, 02:18:45 pm »
I have corrected this plugin. Download from first post again. dev101 yes it will be better to drop from core entirely i think. and there should be lot more hook in core so that a plugin or theme developer can change almost anything without touching any core code. every output should go through filter. As you see for example WordPress if you write a plugin you do not have to think which theme users are using (in most of the cases). There are lots of hooks and most core hooks are using by theme. So any change will afect all the themes same way.

gnoe

  • Full Member
  • ***
  • Posts: 237
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #5 on: May 05, 2015, 11:55:16 am »
Just tested it and it's working fine for me.
So far so good.
Preferences are saved.
While you're testing just don't be logged in and click on forms(admin panel) to activate validation.

Only 1 note.
Can you extend form validation for user-public-sidebar.php & user-recover.php ?

Great job shamim_biplob and thanks for your efforts. :)

Aficionado

  • Guest
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #6 on: May 05, 2015, 06:07:46 pm »
Shouldn't admin part be in admin folder ?


dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #7 on: May 05, 2015, 06:29:34 pm »
*** UPDATED 12-FEB-2017 ***

(some further improvements)



(for version 1.0.0 ~ 1.1.x) I took the liberty to fix few things and rewrite admin side. First, form still did not work 100% in my setup (some keys were missing) and form data was blank [incomplete html]. Also, fixed security related part, as Aficionado noticed. Finally, translation strings should now work properly. I have to admit that I did not have time to test and update front side yet. Once all things get sorted this should definitively be posted in Market for user convenience and automatic upgrades in the future.

(for versions 1.2.x) follows original version as much as possible, but with many other changes & fixes, translations domains, removed admin side protection (completely wrong implementation by original author - can lock you out of your own website) etc...

Regards
« Last Edit: January 06, 2018, 01:33:52 am by dev101 »

shamim_biplob

  • Full Member
  • ***
  • Posts: 169
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #8 on: May 05, 2015, 10:52:14 pm »
dev101 Thank you for update. Is it really necessary to move admin.php into admin folder? also anr_admin_actions() function into admin.php? also i do not understand why you add enctype="multipart/form-data" ?

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #9 on: May 05, 2015, 10:53:38 pm »
1. yes.
2. yes and no, it is more logical there and for future edit
3. you can remove it, c/p

Chandler

  • Newbie
  • *
  • Posts: 14
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #10 on: May 13, 2015, 11:07:08 pm »
Hi,

In what folder should we extract it ?

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #11 on: May 14, 2015, 12:57:14 am »
oc-content/plugins/

Chandler

  • Newbie
  • *
  • Posts: 14
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #12 on: May 14, 2015, 12:11:45 pm »
It does not work for me. Where should we put the site key and secret key?

It doesn't show in admin panel, is it correct this?

Should we must have installed the old plugin of google captcha before installing this one ?

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #13 on: May 14, 2015, 12:15:00 pm »
The old captcha should be disabled simply by deleting old keys (not sure about conflicts since it is in core, but why keep it either?). Did you installed the plugin (check Plug icon)? Afterwards, you should see plugin's menu.

Chandler

  • Newbie
  • *
  • Posts: 14
Re: [Free Plugin] noCaptcha reCaptcha
« Reply #14 on: May 14, 2015, 02:36:35 pm »
I do not see plugin icon. Maybe is because the osclass is installed in a subdomain ?