Block comment spam and fake registrations by adding the powerful CAPTCHA protection of Securimage-WP to your WordPress site.
If you install Securimage-WP, there is a test script that will tell you whether or not your system meets the requirements.
From the Securimage-WP settings menu, enable the
Debug Image Errors option, save the settings, and then click the link labeled
View Image Directly. Ideally, this will reveal any error messages that may be causing the image generation to fail. Try to troubleshoot the error, or contact us for assistance.
Yes, since version 3.6.1 you can display a captcha using the shortcode
[siwp_show_captcha] anywhere on your WordPress site.
To validate the user's input, call the function siwp_check_captcha. Note: To validate from a WordPress page, you will need a plugin like Exec-PHP installed, or your PHP form processor needs to hook into WordPress (typically by including wp-load.php from your PHP script).
See here for an example WordPress page with a simple form and captcha with validation.
Securimage-WP relies on some standard function hooks for displaying the CAPTCHA. If the image doesn't appear on your site's forms, it may be due to those templates not implementing the proper hooks.
To fix this, you can either edit your templates to include the proper hooks, or if the site uses a custom registration page, use the
[siwp_show_captcha] shortcode on your registration form.
For the comment form, the proper hook needed is
<?php do_action( 'comment_form', $post_id ); ?>
For the registration form, the proper hook needed is
<?php do_action( 'register_form' ); ?>
The calls to these actions should go in the template where you want the CAPTCHA image to appear.
Automatic installation of audio files may not work for a number of reasons (e.g. directories not writable by the server, http wrapper not enabled for fopen/file_get_contents, low memory limits) but this does not mean audio files cannot be used.
If automatic installation is not available, audio files can be downloaded from https://www.phpcaptcha.org/download and manually placed in the Securimage-WP plugin directory.
To install audio files, extract the contents of the language pack you wish to use to the
wp-content/plugins/securimage-wp/lib directory preserving the directory structure from the audio package (so the resulting directories are
CAPTCHA codes have expiration times in order to reduce the amount of time spammers have to break the CAPTCHA. The default time is 15 minutes. After this time lapses, the CAPTCHA refreshes since it is no longer valid. You can customize this setting in the options menu.