2007年7月7日

新しいサイト”わーどぷれすっ!”をオープンしました。

今後はWordPress関連の話題は全部このサイトに投稿していきます。プラグイン一覧もこの新サイトに移しましたので、ドウゾよろしくお願いします。

WPのプラグイン:Comment Policy

Registry First Aid will find these invalid entries and remove them from your registry. With Registry First Aid, your Windows registry will be always clean and correct, helping your programs load faster and speeding up your computer. Fast, easy to use, PC speed testing and benchmarking. PassMark PerformanceTest allows you to objectively benchmark a x blades keygen PC using a variety of different speed tests and compare the results to other computers. Twenty-eight standard benchmark tests are available in six test suites plus there are seven advanced testing windows for custom benchmarking. In addition to the standard tests, there are 7 summary results plus the overall PassMark Rating result. The benchmark results are xilisoft keygen presented as easy to read bar charts so that you dont need to spend hours studying the number to know the result. Timing for the tests is done using high resolution timers, which are accurate to approximately 1 millionth of a second on most PCs. Create professional-quality advertising, sophisticated print designs and electronic documents with PagePlus sims 2 keygen X5, the best-in-class desktop publisher.

Plugins/Spam Tools « WordPress Codex日本語版)より、

概略:コメント入力欄に規約(コメントポリシー)に同意するか否かのチェックボックスを追加し、そこにチェックを入れないとコメント送信できないようにする。実際にはわざわざ規定を決めなくても単にコメント送信前にチェックを入れるようにするだけでもいい。

ダウンロード:Comment-Policy WordPress Plugin

導入:

  1. comment-policy.php ファイルをテキストエディターで開く
  2. 下記コードに規約ページのURLとタイトルを記入
    $policy_page_URI = 'http://www.example.org/コメント規約/';
    $policy_page_title = 'コメント送信規約';
  3. 下記コードにフォーム名を記入(<input name=”ここに入る値”)
    $cp_form_field_name = 'ここにメッセージを入れる';
  4. 上記を記入したcomment-policy.php ファイルをプラグインフォルダに入れて有効化

備考:

  • WordPress 2.0、2.1両方オッケー
  • Javascriptが無効だとチェックを入れてもコメントを送信できない
  • チェックボックス横に表示させるメッセージを変更するには73行目の「<small>I have read and accept this web site\'s <a href="' . $policy_page_URI . '" target="_blank" title="Page opens in new window">' . $policy_page_title . '</a>. (required)</small>」を変更する

スクリーンショット:

Comment-Policy

This entry was posted in WordPress, WP プラグイン. Bookmark the permalink.

One Response to WPのプラグイン:Comment Policy