Augie (a creative real estate investor ) presented a spam prevention method idea which we’ve been talking about under a previous post this past week: HowTo Eliminate Wordpress Trackback Comment And Pingback Spam .オーギー( クリエイティブな不動産投資家 )は、この1週間は、以前のポストについての下で私たちが話をしてきたが、スパム防止の方法を考え発表: HowtoをWordpressのコメントやトラックバックスパムの排除にピングバック The basic idea is to provide an extra input field which is hidden to a user when viewed normally from the browser.基本的な考え方は、ユーザーは通常、ブラウザから見たときに隠されている余分な入力フィールドを提供することです。 This means if you check your form data when a submission is being processed, you can determine if the field is still empty.場合は、フィールドが空である場合は、別途に提出するかどうかを判断する際に処理されているフォームデータをチェックこのことを意味します。 If it is filled out, then a bot must have auto filled the field.場合は、自動車分野のロボットを埋めている必要がありますが記入されています。

Spam Field Detailsスパムのフィールドの詳細

The naming convention used on a hidden field should be named “email” or “url” to trick the bot.命名規則は、非表示のフィールドに使用される"メール"または" 、 "ボットのトリックにURLを指定される必要があります。 Your real email field will then of course need to be named something else.もちろん、あなたの実際のメールのフィールドを何か他の名前にする必要があります。 A small price to pay for less house cleaning.価格は以下の小さな家の掃除を支払う。

Another key to all of this is to wrap your trap (haha) in a DIV so that the a bot cant tell that the field is hidden.これを別のキーには、ボットカントは、フィールドを隠していると言うあなたのトラップの部(母)をラップすることです。 Marking it with type=”hidden” on the input tag itself is a bit of a giveaway.タイプ= " "自体は、景品のビットは、入力タグを非表示にしてマーキング。 Assigning an id or class to the div and specifying display:none; would cause the bot a lot of extra work which most probably aren’t programmed for.を割り当てるには、 divには、 IDやクラスを指定すると表示:なし、ボットプログラムされていないが、おそらくほとんどの余分な仕事が多くなる可能性も。 You could also use a built in id or class directly on the div to specify it as a hidden field.また、 IDやクラスを直接には、 div上に建てられた、非表示のフィールドとして指定するために使うことができます。

Hidden Input Field Code隠し入力フィールドコード

Here is an example of what your code would look like:ここにあなたのコードはどのようになるの例です:

  1. CSS code would look like this:
  2. #email {
  3. display: none
  4. }
  5. OR if you're doing it by the div:
  6. .specialfield {
  7. display: none
  8. }
  9. Your form would look something like this:
  10. <form method="post" action="yourformprocessor.php"> <form <form method="post" action="yourformprocessor.php">
  11. <div class="specialfield"><input id="email" type="text"></div>
  12. <input id="realemail" type="text">
  13. </form>

Using Hidden Fields隠しフィールドを使用する

It isn’t too much of a stretch to add this to a custom solution or implement it into a Wordpress comments or form plugins because id’s and classes are assigned to input fields by default.これもストレッチのカスタムソリューションに追加するにはこのくらいか、を実施するためのプラグインは、 Wordpressのコメントやアイダホのフォームやクラスはデフォルトで入力フィールドに割り当てられているのではない。 If you’re not already using a form plugin check out:既にお持ちの場合フォームを使用していないプラグインをチェックアウトしている:

cforms II or Contact Form 7 (my preference). IIまたはお問い合わせフォーム7 (私の好み) cforms 。

If I get enough requests I’ll write a post which explains how to implement this into Wordpress comments in a similar manner in which I setup the Enhanced Numbered Equation CAPTCHA .もし私が同様の方法でWordpressのコメントをどのように実装する方法を説明する記事を書いてありますが私の設定は、十分なGETリクエストの拡張番号式キャプチャ。

The More Spam Defense The Betterそのほかのスパム防衛のファイン

I don’t have a lot of experience in using spam bots, but this is a promising way to enhance our line of defense against spam.私は、スパム対策を使用しての経験をたくさん持っていないが、これは、スパムの防御線を強化するための有望な方法です。 More importantly, its not intrusive on a users browsing experience.さらに重要なことは、その経験を、ユーザーの閲覧に侵入されていません。 Unlike a CPATCHA, it requires a valid visitor to do nothing!一CPATCHAとは異なり、何もしないのは、有効な訪問者が必要!

If you have any thoughts or comments, about this spam technique, leave them below.場合は、それらの意見やコメントを残すの下、このスパムの技術がある。


1 Trackback(s) 1トラックバック(秒)

  1. Nov 26, 2008: WordPress Wednesday: Comment Spam | BlueFur.com 2008年11月26日: ワードプレス:コメントスパム| BlueFur.com



Leave A Comment:コメントを残しなさい:

Comments RSS Feed コメントのRSSフィード

6 Plus 4 = 6 4 =

Custom Theme by Rob Malon | Content & Design © 2009 - Rob Malon [dot] Com. カスタムテーマロブマロン|コンテンツ&デザイン© 2009 -ロブマロン[ドット]コム。 "));
"));