WordPress Plugin :: Anti Spam Image
之所以开始将 BLOG 从 pMachine 换成 WordPress,主要是觉得后台管理功能比较方便、实用,另外还支持多类别及子类。当然没有任何软件是百分百完美的,WordPress 也不例外,比如评论,默认没有验证码图片,容易被 SPAM 注射垃圾留言。关于验证图片的插件网上也有不少,比如:SecurityImage,但觉得这个过于复杂,最后还是自己写了一个插件 Anti Spam Image,安装方式很简单,将 ZIP 包解开之后,把文件 anti_spam_image.php 复制到 wp-content/plugins/ 目录下,通过后台的 Plugins 管理页面将其激活即可使用,无需任何设置。
Description:
This plugin inserts a security image for the WP comment page, requiring the poster to enter the right characters in the image.
Download:
- Anti Spam Image (version: 0.5)
- Anti Spam Image (version: 0.4)
- Anti Spam Image (version: 0.3)
- Anti Spam Image (version: 0.2)
- Anti Spam Image (version: 0.1)
Change Log:
- 2006-07-01 Fixed bug: Trackback and pingback can't work fine (thanks to Patrick & John).
- 2006-04-10 Fixed bug: In WordPress 1.5, update comment count will cause a database error, because the field 'comment_count' doesn't exist.
- 2006-04-03 Fixed bug: When zlib.output_compression is 'On', it will cause ob_start() warning. I have removed 'ob_clean()' to avoid this warning.
- 2006-03-15
- Fixed bug: Some PHP server don't support PNG format, and I add more format(such as PNG, GIF & JPEG) supported.
- Fixed bug: When security code is wrong, comment count of the post isn't rollback.
- 2006-01-17 The first version.
Additional Requirements:
PHP GD/GD2 extension.
Installation:
Unzip the zip file, and copy anti_spam_image.php to wp-content/plugins/. Then goto "Plugins" admin page, and activate this plugin. That's all. Enjoy it!
Some Tips:
- If security code image doesn't display correctly, you can browse url
http://your-wp-root/index.php?image=1 to confirm if image can display. - If there isn't security code input field in comment page, you can open the file
wp-content/your-theme/comments.php, and find the line:<?php do_action('comment_form', $post->ID); ?>If it can't found, please add it in comment form.
Warning:
This plugin was found to conflict with SK2 plugin. When SK2 plugin is activated, Anti Spam Image does't work fine.
