這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Comment Validation

描述

Ever got annoyed when submitting a comment on a wordpress blog and just getting a blank page with a error message like “please fill out required fields” and nothing else? This plugin aims to help by adding validation to the comment form. When a user submits the form and something is missing, an appropiate message is displayed and individual fields are highlighted. When the email or url is in an incorrect format, a message is displayed accordingly.

Why should you install it? Because you care for comments and want to help users reduce mistakes that hold them off from commenting at all.

Whats the technology used? jQuery and the jQuery Validation plugin with a few customizations to make it fit into the standard WordPress theme.

Is it compatible with other plugins? The plugin is tested with the Draw Comments plugin and works, though the performance is slightly degraded. Other plugins haven’t yet been tested.

螢幕截圖

  • A form submit without filling out any fields
  • A form submit with valid name and comment, but invalid format for email (, instead of . in domain) and url (one slash is missing). Clicking on the message gives focus to the related input field.

安裝

  1. Upload the comment-validation folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

評價

There are no reviews for this plugin.

貢獻者及開發者

“Comment Validation” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Comment Validation 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄