веб: November 2006 Archives
strike {
display : none ! important;
}
Грубая сила больше не предопределяет победу в играх. Тонкий женский ум, способность стратегически мыслить и планировать тактику действий долгое время недооценивались мужчинами-геймерами. Представленный коврик для мыши FeminaPad должен символизировать торжество феминизма на поприще компьютерных игр.
а потому, приделываем тест Тьюринга к вордпрессу + плагин для опенид. частично слизано отсюда.
- открываем wp-content/themes/наша_тема/openidform.php.
находим форму сабмита коммента и добавляем перед кнопкой submit (там вообще их две, делается по аналогии)
<p>
<input type=”text” name="turing_test" id="url" size="28" tabindex="6" />
<label for="turing_test">How much is six times seven?</></label>
</input>
</p> - открываем wp-content/plugins/openid/openid-comments-post.php. добавляем сразу после инклюдов:
$turing_result = trim($_POST["turing_test"]);
if ( $turing_result != 42 ) {
die( __('You gave wrong answer to the Turing test.
Please hit back and try again.') );
}
с пхпбб аналогичная фиговина заткнула спамеров раз и навсегда. интересно, как оно будет с вордпрессом. :)
“I have noticed even people who claim everything is predestined, and that we can do nothing to change it, look before they cross the road.”-- Stephen Hawking
вот :)
Now don’t get me wrong – there’s a 100% chance that the voting machines will get hacked and all future elections will be rigged. But that doesn’t mean we’ll get a worse government. It probably means that the choice of the next American president will be taken out of the hands of deep-pocket, autofellating, corporate shitbags and put it into the hands of some teenager in Finland. How is that not an improvement?
