WordPress.org

Ready to get started?Download WordPress

Forums

Really Simple CAPTCHA
Number of characters (4 posts)

  1. davejampole
    Member
    Posted 1 year ago #

    This plugin is simple to install and use - it works exactly as advertised. However, when installing in to use with my CF7 form, I'd like the ability to set the number of characters to something greater than 4 (maybe 6?), on the assumption that the more characters, the harder to break.

    Is this possible?

    http://wordpress.org/extend/plugins/really-simple-captcha/

  2. kathleenie
    Member
    Posted 1 year ago #

    I have the same question. Tried editing the php file, nothing changed. Did you find a solution?

  3. maximinus
    Member
    Posted 1 year ago #

    Same problem, same atempt (editing php file), same result ( it doesn't work)

  4. armuser
    Member
    Posted 1 year ago #

    I achieve that by changing these lines of code:

    1. $this->char_length = 4;
    2. if ( $im = imagecreatetruecolor( $this->img_size[0], $this->img_size[1]) )

    change to:

    1. $this->char_length = $count;
    2. if ( $im = imagecreatetruecolor( $width, $height) )

    like:

    $this->char_length = 6;
    imagecreatetruecolor( 200, 40)

    and add some js:

    jQuery('img#captcha').css('width', 200); jQuery('img#captcha').css('height', 40);

    that's all, hope this help you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic