Advertisement:

Author Topic: Simple Captcha independant from 3rd parties  (Read 604 times)

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6207
  • Hardliner
Simple Captcha independant from 3rd parties
« on: August 25, 2018, 08:43:39 pm »
Hi.

Is there somekind of alternative "captcha" plugin or way, like a simple math captcha or else, not dependant from 3rd party ?

It seems that people are not registering because google's captcha doesn't seem to work right lately.

Thanks

Willem

  • Newbie
  • *
  • Posts: 19
Re: Simple Captcha independant from 3rd parties
« Reply #1 on: August 26, 2018, 06:24:06 pm »
On my forum they developed a question and answer Captcha.
Works very well.

Maybe an idea for a programmer here

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6207
  • Hardliner
Re: Simple Captcha independant from 3rd parties
« Reply #2 on: August 26, 2018, 10:37:29 pm »
On my forum they developed a question and answer Captcha.
Works very well.

Maybe an idea for a programmer here

Well i don't think anybody seriously is developing for Osclass anymore.

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 447
Re: Simple Captcha independant from 3rd parties
« Reply #3 on: August 27, 2018, 12:10:48 am »
Hello,

I may develop a plugin for this if there is enough interest. It shouldn't be complicated.
Is it only for register page?

Regards.

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6207
  • Hardliner
Re: Simple Captcha independant from 3rd parties
« Reply #4 on: August 27, 2018, 12:17:41 am »
Hello,

I may develop a plugin for this if there is enough interest. It shouldn't be complicated.
Is it only for register page?

Regards.

If you ask me, Register and Contact and Comments probably.

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 447
Re: Simple Captcha independant from 3rd parties
« Reply #5 on: August 28, 2018, 04:17:50 pm »
Here's a demo for register page: https://demo.zagorski-oglasnik.com/osclass/index.php?page=register&action=register
Tell me what you think, if it's okay I will try to implement it at contact and comments.

Regards.
« Last Edit: August 28, 2018, 05:15:40 pm by patrickFromCroatia »

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6207
  • Hardliner
Re: Simple Captcha independant from 3rd parties
« Reply #6 on: August 28, 2018, 06:29:37 pm »
Here's a demo for register page: https://demo.zagorski-oglasnik.com/osclass/index.php?page=register&action=register
Tell me what you think, if it's okay I will try to implement it at contact and comments.

Regards.

Well it seems ok. Simple and friendy to the user.

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 447
Re: Simple Captcha independant from 3rd parties
« Reply #7 on: August 28, 2018, 07:38:55 pm »
The finished plugin is in the attachment. I've made it simple, without various configurations and admin pages. Simply install it and you are done. However, if you don't see the captcha at any of the pages, insert it manually by using these functions:

Code: [Select]
<?php
simplecaptcha_form_register
(); // register page
simplecaptcha_form_contact(); // contact page
simplecaptcha_form_comments(); // add comment page
?>


The plugin is also translatable, see the template.pot file in languages folder.

Regards.
« Last Edit: August 29, 2018, 05:48:44 pm by patrickFromCroatia »

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6207
  • Hardliner
Re: Simple Captcha independant from 3rd parties
« Reply #8 on: August 28, 2018, 10:15:19 pm »
Patrick i will give it a try asap and update here. Thank you

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 447
Re: Simple Captcha independant from 3rd parties
« Reply #9 on: August 28, 2018, 10:27:48 pm »
Patrick i will give it a try asap and update here. Thank you

Okay, I suggest you download a new version from the updated post above. Just a small bug fix.

Regards.

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6207
  • Hardliner
Re: Simple Captcha independant from 3rd parties
« Reply #10 on: August 29, 2018, 11:43:16 am »

Okay, I suggest you download a new version from the updated post above. Just a small bug fix.

Regards.

While the plugin shows allright, you can bypass it without filling the form. So it doesn't seem to work at all.

Osclass Wizards theme. Stock Osclass.

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 447
Re: Simple Captcha independant from 3rd parties
« Reply #11 on: August 29, 2018, 03:30:48 pm »

Okay, I suggest you download a new version from the updated post above. Just a small bug fix.

Regards.

While the plugin shows allright, you can bypass it without filling the form. So it doesn't seem to work at all.

Osclass Wizards theme. Stock Osclass.

Okay. I will post the fixed version soon.

Regards.

patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 447
Re: Simple Captcha independant from 3rd parties
« Reply #12 on: August 29, 2018, 05:48:46 pm »

Okay, I suggest you download a new version from the updated post above. Just a small bug fix.

Regards.

While the plugin shows allright, you can bypass it without filling the form. So it doesn't seem to work at all.

Osclass Wizards theme. Stock Osclass.

Okay. I will post the fixed version soon.

Regards.

Update posted in above post.

Regards.

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6207
  • Hardliner
Re: Simple Captcha independant from 3rd parties
« Reply #13 on: August 29, 2018, 06:26:35 pm »
The same. I leave the captcha field empty and it passes. Doesn't work.


patrickFromCroatia

  • Sr. Member
  • ****
  • Posts: 447
Re: Simple Captcha independant from 3rd parties
« Reply #14 on: August 29, 2018, 06:38:42 pm »
Are you sure? I tested it and it didn't work when I left the field empty. Try here: https://demo.zagorski-oglasnik.com/osclass/

Check if you have "isset($_POST['simple_captcha'])" instead of "Params::getParam('simple_captcha') != ''" in index.php.
The updated version uses "isset($_POST['simple_captcha'])".

Regards.
« Last Edit: August 29, 2018, 06:40:33 pm by patrickFromCroatia »