2007年7月7日

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

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

WPのプラグイン:Challenge

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.

説明:正しい答えを入力しないとコメントできないようにする

WP ver.:2.0.x – たぶんオッケー、2.1 – オッケー

ダウンロード:ΛορδΧηαος » WordPress Plugin: Challenge

導入:

  • challenge.phpをプラグインフォルダに入れて有効化
  • ログアウトしてコメント投稿欄を開くと、かけ算と足し算の数式と答を入力する欄が表示されているはず

設定:

  • デフォルトではランダムな3つの数を使用した足し算とかけ算の質問が表示される
  • 質問、答え、表示位置を管理画面>設定>Challengeで設定することができる
Question:
質問を設定。HTMLの使用可。算数の問題を設定するには[]括弧内に式を入れる。[]括弧内のフォーマットは[%変数=式]で、「式」はPHPで使用できる物に限る。例えば:

[%R1=rand(0,10)] 足す [%R2=rand(0,10)]の答えは?

を入力すると、「3足す4の答えは?」、「5足す2の答えは?」などと表示される。変数$R1 と $R2は 記憶されて答えの欄で使用される。
Question Position:
答え入力欄に対する質問文の位置
Answer:
答えを入力。デフォルトの答えはデフォルトの算数問題の答え。質問を設定したのならここに答えを入力する必要がある。アルファベットの大文字小文字は区別しない。複数の単語を設定することもできる。例えば、

yes maybe yeah of course I guess so yup

と設定すると「of」「i」「ye」など部分的に一致するすべてが正解となる。
算数問題の答えは、質問で使用した変数を含むPHPで有効な式を使用する。例えば上記に質問例の答えは次のように設定する:

%R1 + %R2

Answer Position:
質問と答えをコメント欄のどこに表示するかの設定
Wrong Answer:
答えが間違っているときに表示する文章
No Answer:
答えが入力されていないときに表示する文章

この他の「アンチスパム」関連のプラグイン:

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

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>