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 . Augie (خلاقة مستثمر عقاري) منع البريد المزعج عرض طريقة الفكرة التي كنا نتحدث عنها سابقا في إطار ما بعد الاسبوع الماضي : HowTo القضاء وورد Trackback التعليق وPingback البريد المزعج. 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. تستخدم تسمية الاتفاقية على الميدان ينبغي أن تكون مخبأة تحت اسم "البريد الإلكتروني" أو "رابط" لخداع بوت. 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. آخر مفتاح ذلك كله هو انهاء فمك (haha) في شعبة بحيث بوت وهو غير قادر على القول ان هذا الحقل هو خفي. 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. تعيين هوية أو فئة لشعبة وتحديد العرض : لا شيء ؛ بوت سيسبب الكثير من الأعمال الإضافية التي على الأرجح ليست مبرمجة. You could also use a built in id or class directly on the div to specify it as a hidden field. يمكنك أيضا استخدام بني معرف أو فئة مباشر على شعبة تحدد بأنها مخبأة الميدان.

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">
  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. أنها ليست أكثر من اللازم لإضافة جزء مخصص لهذا الحل أو تنفيذها وورد في شكل تعليقات أو الإضافات لأن معرف والفصول المخصصة للمدخلات المجالات افتراضي. If you’re not already using a form plugin check out: إذا كنت لا تستخدم بالفعل شكل البرنامج المساعد راجع :

cforms II or Contact Form 7 (my preference). cforms الثاني أو نموذج 7 (المفضلة بالنسبة لي).

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 . إذا كنت تحصل على ما يكفي من الطلبات أنا أكتب وظيفة وهو ما يفسر كيفية تنفيذ هذا وورد في تعليقات مماثلة في الطريقة التي يمكنني إعداد المعزز مرقمة المعادلة كلمة التحقق.

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 Trackback (ق)

  1. Nov 26, 2008: WordPress Wednesday: Comment Spam | BlueFur.com 26 نوفمبر 2008 : ورد اليوم الاربعاء : التعليقات غير المرغوبة | BlueFur.com



Leave A Comment: اترك التعليق :

Comments RSS Feed تعليقات تغذية RSS

7 1 = 7 1 =

Custom Theme by Rob Malon | Content & Design © 2008 - Rob Malon [dot] Com. عرف الموضوع من جانب روب Malon | المحتوى والتصميم والنشر © 2008 -- روب Malon [نقطة] كوم. "));
"));