#188 ✓resolved
semias

form captcha improvements

Reported by semias | March 25th, 2011 @ 04:02 AM | in 5.0.5

add phpcaptcha to have a better captcha which works on all browsers.

Comments and changes to this ticket

  • semias

    semias April 22nd, 2011 @ 09:40 AM

    • Milestone changed from 5.0.4 to 5.0.5
    • Milestone order changed from “32” to “0”
  • semias

    semias July 25th, 2011 @ 04:17 AM

    • Tag set to captcha, forms, security
    • State changed from “open” to “resolved”

    This function makes use of two files in the saf files located at saf/lib/Security. (figlet and turing)
    IE <= 7 does not support the usage of turing images so uses figlets instead.

    Files altered:
    /saf/lib/MailForm/Widget/Security.php

    Added into inc/app/sitellite/boxes/util/custom/index.php:

    $w =& $this->addWidget ('security', 'Security');
    
    $ps = new phpSniff ();
    $version = substr(strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE'),5,1);
    if ($ps->property ('browser') == 'ie' && $version <= 7){
      $w->verify_method = "figlet";
    }
    else
      $w->verify_method = "turing";
    

    Added into inc/app/sitellite/boxes/util/contact/form.php:

    [security]
    
    alt = Security
    type = security
    verify_method = figlet
    

    Added into inc/app/sitefaq/forms/submission/settings.php:

    [security_test]
    
    type            = security
    alt             = Security test
    verify_method   = phpcaptcha
    

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Pages