Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

form captcha improvements

#188

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

Reported by semias · March 25th, 2011 @ 04:02 AM

State: resolved
Milestone: 5.0.5
Assigned to: semias semias

Activity

  1. semias
    semias
    • Milestone changed from 5.0.4 to 5.0.5
    • Milestone order changed from 32 to 0

    April 22nd, 2011 @ 09:40 AM

  2. semias
    semias
    • 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
    

    July 25th, 2011 @ 04:17 AM

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.