驗證碼

Description

The Captcha plugin allows you to implement a super security captcha form into web forms. It protects your website from spam by means of math logic, easily understood by human beings. You will not have to spend your precious time on annoying attempts to understand hard-to-read words, combinations of letters or pictures that make your eyes pop up. All you need is to do one of the three basic maths actions – add, subtract and multiply.
This captcha can be used for login, registration, password recovery, comments forms.

Translation

  • Arabic (ar_AR) (thanks to Albayan Design Hani Aladoli)

  • Bangla (bn_BD) (thanks to SM Mehdi Akram, www.shamokaldarpon.com)

  • Belarusian (bel) (thanks to Natasha Diatko)

  • Brazilian Portuguese (pt_BR) (thanks to Breno Jacinto, www.iconis.org.br)

  • Bulgarian (bg_BG) (thanks to Nick)

  • Catalan (ca) (thanks to Psiete)

  • 大陸 (zh_CN) (感謝 [TIM(mailto:416441872@qq.com)], [Jack Chen](email: mailto:beijingtours@foxmail.com), www.jackchen.im)

  • 中華民國 (zh_TW) (感謝 Kaiconan)

  • Croatian (hr) (thanks to Daniel)

  • Czech (cs_CZ) (thanks to Michal Kučera www.n0lim.it)

  • Danish (da_DK) (thanks to Byrial Ole Jensed)

  • Dutch (nl_NL) (thanks to Bart Duineveld)

  • Estonian (et) (thanks to Ahto Tanner)

  • Greek (el) (thanks to Aris, www.paraxeno.net)

  • Farsi/Persian (fa_IR) (thanks to Mostafa Asadi, www.ma73.ir, Morteza Gholami)

  • Finnish (fi) (thanks to Mikko Sederholm)

  • French (fr_FR) (thanks to Martel Benjamin, Capronnier luc)

  • German (de_DE) (thanks to Thomas Hartung, Lothar Schiborr)

  • Hebrew (he_IL) (thanks to Sagive SEO)

  • Hindi (hi_IN) (thanks to Outshine Solutions, www.outshinesolutions.com)

  • Hungarian (hu_HU) (thanks to Peter Aprily)

  • Japanese (ja) (thanks to Foken)

  • Indonesian (id_ID) (thanks to Nasrulhaq Muiz, www.al-badar.net)

  • Italian (it_IT) (thanks to Marco)

  • Latvian (lv) (thanks to Juris O)

  • Lithuanian (lt_LT) (thanks to Arnas)

  • Norwegian (nb_NO) (thanks to Tore Hjartland)

  • Polish (pl_PL) (thanks to Krzysztof Opuchlik)

  • Portuguese (pt_PT) (thanks to João Paulo Antunes)

  • Romanian (ro_RO) (thanks to Ciprian)

  • Russian (ru_RU)

  • Serbian (sr_RS) (thanks to Radovan Georgijevic)

  • Slovak (sk_SK) (thanks to Branco Radenovich)

  • Slovenian (sl_SI) (thanks to Uroš Klopčič, www.klopcic.net)

  • Spain (es_ES)

  • Swedish (sv_SE) (thanks to Christer Rönningborg, Blittan)

  • Tagalog (tl) (thanks to Roozbeh Jalali, www.languageconnect.net)

  • Turkish (tr_TR) (thanks to Can Atasever, www.canatasever.com)

  • Ukrainian (uk)

  • Vietnamese (vi_VN) (thanks to NDT Solutions)

畫面截圖

  • Login form with Captcha.

  • Registration form with Captcha.

  • Lost password form with Captcha.

  • Comments form with Captcha.

  • Contact form with Captcha.

  • Captcha Basic Settings page.

  • Captcha Basic Settings page ("Notification Messages" options block).

  • Captcha Whitelist.

Installation

  1. Upload the captcha folder to the /wp-content/plugins/ directory.
  2. Activate the plugin via the ‘Plugins’ menu in WordPress.
  3. Plugin settings are located in “Captcha”.

FAQ

安裝指示
  1. Upload the captcha folder to the /wp-content/plugins/ directory.
  2. Activate the plugin via the ‘Plugins’ menu in WordPress.
  3. Plugin settings are located in “Captcha”.
Why the CAPTCHA is missing in the comments form?

The Captcha by BestWebSoft plugin displays the CAPTCHA for those comments forms which were written in the same way as comments forms for the standard WordPress themes.

Unfortunately, the plugin is incompatible with comments forms generated by using SAAS (eg: Disqus or JetPack comments forms).

If you don’t use SAAS comments forms, please follow the next steps:

  1. Using FTP, please go to {wp_root_folder}/wp-content/themes/{your_theme}.

  2. Find and open comments.php file. It is possible that the file that is used to display the comment form in your theme called differently or comment form output functionality is inserted directly in the other templates themes (eg single.php or page.php). In this case, you need to open the corresponding file.

  3. Make sure that the file contains one of the next hooks: do_action ( 'comment_form_logged_in_after' ), do_action ( 'comment_form_after_fields' ) or do_action ( 'comment_form' ). If you didn’t find one of these hooks, then put the string <?php do_action( 'comment_form', $post->ID ); ?> in the comment form.

I would like to add Captcha to the custom form on my website. How can I do this?
  1. Install the Captcha plugin and activate it.

  2. (Optional) If you want to use own settings for your custom forms (for example, for your contact and sign up forms), please follow steps below:

a. Open “functions.php” file of your theme in the edit mode;

b. Add the following lines to the end of the file:

function add_my_forms( $forms ) {

    $forms['form_slug']   = "Form Display Name";

    $forms['form_2_slug'] = "Form 2 Display Name";

    return $forms;

}

add_filter( 'cptch_add_form', 'add_my_forms' );

Please don’t use the next form slugs since they are predefined by plugin settings: general, wp_login, wp_register, wp_lost_password, wp_comments, bws_contact, bws_subscriber, buddypress_register, buddypress_comments, buddypress_group, cf7_contact, woocommerce_login, woocommerce_register, woocommerce_lost_password, woocommerce_checkout.

c. Save file changes;

d. Go to the “Settings” tab on the plugin settings page (Admin Dashboard -> BWS Panel -> Captcha);

If everything is OK, you will see new tabs with labels which you specified in the “cptch_add_form_tab” hook call function.

e. Switch to new tabs and configure form options on them as you need;

f. Click “Save changes”;

In case when you don`t want to use own settings for displaying the CAPTCHA in your custom form, the settings from “General Options” tab from the plugin settings page will be used.

  1. Open the file with the form (where you would like to add CAPTCHA);

  2. Find a place to insert the code for the CAPTCHA output;

  3. Insert the following lines:

In this example, the second parameter is a slug for your custom form. If you don`t use the custom form settings (see point 2 of this instructions) you can leave it empty:

<?php echo apply_filters( 'cptch_display', '' ); ?>
  1. After that, you should add the following lines to the function of the entered data checking:

If there is a variable in the check function responsible for the errors output, you can concatenate variable $error to this variable. If the ‘cptch_verify’ filter hook returns ‘true’, it means that you have entered the CAPTCHA answer properly. In all other cases, the function will return the string with the error message.

Can I move the Captcha block in the comment form?

It depends on the comments form. If the hook call by means of which captcha works (after_comment_field or something like this) is present in the file comments.php, you can change captcha positioning by moving this hook call.

Please find the file ‘comments.php’ in the theme and change position of the line do_action( 'comment_form_after_fields' ); or any similar line – place it under the Submit button.

In case there is no such hook in the comments file of your theme, then, unfortunately, this option is not available.

Reviews

super!

using this plugin for years without any hassle.
Great!
Thank you!

Removed from all our sites

Removed this plugin from all our sites. Problems with the latest update. The change in ownership and all of a sudden the spam posts just spiked so we removed and went with another plugin.

Thank you for the fix with 4.3.5. Prevent 100% spam!

Last version really was a nightmare, but new version 4.3.5 really did it. I know you guys behind the scene worked really hard for the fix, so I owe you a big THANKS. While waiting for your fix I tried serveral different captcha plugins out there, but none of them prevent all spams. Your captcha plugin really stops all spams from apprearing right from the egg. Thanks again. Highly recommend!

Last update break my site

The last update break my site : white screen (error 500) , the site don’t load.
php7/last wordpress -> the site load when i delete the plugin.
Sorry for my english, i’m french.
regards …

閱讀全部 543 評論

貢獻者 & 開發者

“驗證碼” is open source software. The following people have contributed to this plugin.

“驗證碼” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “驗證碼” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

V4.3.6 – 18.09.2017

  • Update : Fix last version issues
  • 更新:新版解決與聯絡表單7 的整合問題。

V4.3.5 – 06.09.2017

  • Update : Fix last version issues
  • Update : Captcha + Contact Form7 integration.

V4.3.4 – 02.09.2017

  • Update : Fix last version issues
  • 更新:自訂表單問題
  • Update : Fix last version issues

V4.3.3 – 30.08.2017

  • Update : Fix last version issues

V4.3.2 – 30.08.2017

  • Update : Captcha + Contact Form7 integration.
  • Update : fixed- Bug image captcha last update

V4.3.1 – 10.07.2017

  • Update : The plugin settings page has been updated.

V4.3.1

  • 改進外觀。