這個外掛並未在最新的 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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Comment Validation〉的開發相關工作。

參與者

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

對開發相關資訊感興趣?

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