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: هنا مثال على ما الشفرة ستبدو :
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: إذا كنت لا تستخدم بالفعل شكل البرنامج المساعد راجع :
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. إذا كانت لديك أية أفكار أو تعليقات ، حول هذا الأسلوب غير المرغوبة ، لا تترك لهم أدناه.
@JohnChowDotCom Yes, its called .htaccess and it goes in your root directory :) @ JohnChowDotCom نعم ، ودعا. htaccess وغني في الدليل الرئيسي الخاص بك :)
I like how YUI scripts (http://developer.yahoo.com/yui/) uses LI and UL elements as inputs but outputs as a table :-\ أحب الطريقة التي YUI النصية (http://developer.yahoo.com/yui/) يستخدم لي UL العناصر والمدخلات ولكن النتائج حسب الجدول : -- \
Preg_Match Vs Stristr Versus SQL INSERT Efficiency http://tinyurl.com/9u352f Preg_Match مقابل Stristr مقابل SQL أدخل الكفاءة http://tinyurl.com/9u352f
Hacking up Wordpress. وورد حتى القرصنة.Need to categorize based on master sets of tag and/or category combinations for dynamic sidebar generation. الحاجة إلى تصنيف يقوم على مجموعات من علامة رئيسية و / أو مجموعات لتوليد دينامية الشريط الجانبي.
Probably gonna pick one of these up. ربما gonna اختيار واحدة من هذه.Good comparison. جيد مقارنة.I'm probably gonna go mino for quality: http://beaucolburn.com/post/63706618/flip أنا ربما gonna مينو الذهاب للجودة : http://beaucolburn.com/post/63706618/flip
It would be a good idea to make a Twitter like Wordpress install. سيكون فكرة جيدة لتقديم التغريد مثل تثبيت وورد.Post "shorts" on its own domain that you can advertise on too... وظيفة "قصيرا" من تلقاء نفسه اسم النطاق يمكنك أيضا الإعلان عن...
1 Trackback (ق)
اترك التعليق :