• Thanks for this plugin, Mike.

    I’m wondering if there’s a way to change CAPTCHA styles? For instance, to all black and white (no color)?

    Thanks again,

    Seth

Viewing 4 replies - 1 through 4 (of 4 total)
  • No, not really. Unless you want to recode things yourself.
    The library I used is a slightly modified version of Secureimage from https://www.phpcaptcha.org/
    You can read documentation on the site if you want. But like I said, I use my own modified version so things are slightly different.

    Thread Starter sethaugustus

    (@sethaugustus)

    Thanks for the speedy reply, Mike — I appreciate it.

    I see that they have a captcha gallery on the site and it seems that it’s just a matter of adding the php snippet in the right place.

    I’m not too up on php — but wondering where I might put this code in your plugin? i.e. which php page(s)?

    Thanks,
    Seth

    PS Here;s an example of the code snippet for one of the Captcha styles:

    <?php

    require_once ‘securimage.php’;

    $img = new securimage();

    $img->image_width = 260;
    $img->image_height = 80;
    $img->ttf_file = ‘AHGBold.ttf’;
    $img->perturbation = 0.85;
    $img->image_bg_color = new Securimage_Color(0×0, 0×0, 0×0);
    $img->text_color = new Securimage_Color(0xff, 0xff, 0xff);
    $img->text_transparency_percentage = 10;
    $img->use_transparent_text = true;
    $img->text_angle_minimum = -10;
    $img->text_angle_maximum = 10;
    $img->num_lines = 0;
    $img->line_color = new Securimage_Color(0xff, 0xaff, 0xff);

    $img->show(‘backgrounds/ex2bg.png’);

    si-contact-form/captcha-secureimage/securimage_show.php

    But like I said, most but not all is the same.

    Thread Starter sethaugustus

    (@sethaugustus)

    Thanks — that allowed me to change the text color easily.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Fast Secure Contact Form] Changing CAPTCHA style’ is closed to new replies.