Celulares / iPhone | Máquinas digitais | Notebooks | Netbooks | PS3 - Wii - XBOX | Jogos DVD / Bluray


Como bloquear comentários com spam no seu blog

Postado em 15/08/2008 - Arquivado em Dicas


bot
Creative Commons: Smeerch (Flickr)

Quer acabar de vez com aquelas mensagens irritantes que vários spammers deixam nos comentários do seu blog?

Fácil, se você usa WordPress, pode usar o plugin Math Comment Spam Protection! Ele adiciona uma simples conta matemática no formulário de comentários, requerendo a resposta desta conta de todos os usuários que comentarem. Impedindo que bots enviem comentários maliciosos nos seus posts…

… E então você me pergunta:

Como uma conta matemática pode impedir esses bots?

Bots são pragas programadas a fim e encher o saco de qualquer blogueiro, fazendo spam nos blogs e etc. Esses bots (robôs) não são pessoas de verdade, logo, não conseguiriam responder a conta matemática exibida na tela e assim sendo, não conseguiriam fazer comentários.

antispam

Ok, como eu instalo este plugin?

1° Baixe o plugin clicando aqui;
2° Ative (Dashboard-> Plugins…) Se tiver dúvidas de como instalar plugins leia este artigo;
3° Abre o comments.php do seu tema e insira este código próximo dos campos <input> e <textarea> do formulário :

<?php
/****** Math Comment Spam Protection Plugin ******/
if ( function_exists('math_comment_spam_protection') ) {
$mcsp_info = math_comment_spam_protection();
?> <p><input type="text" name="mcspvalue" id="mcspvalue" value="" size="22" tabindex="4" />
<label for="mcspvalue"><small>Anti-Spam: Qual a soma de <?php echo $mcsp_info['operand1'] . ' + ' . $mcsp_info['operand2'] . ' ?' ?></small></label>
<input type="hidden" name="mcspinfo" value="<?php echo $mcsp_info['result']; ?>" />
</p>

<?php } // if function_exists... ?>

5° Feito! Salve o arquivo e pronto!

Lembrando que você pode configurar algumas opções do plugin em Manage -> Math Comment Spam.

script blog em portugues plugins admin 150 super temas
script blog em portugues plugins admin 150 super temas
R$ 45,00
Veja Mais
loja virtual portal imobiliaria classificados loja sistemas em php e asp locadora revenda de autos blog jornal
loja virtual portal imobiliaria classificados loja sistemas…
R$ 15,00
Veja Mais
formularios em php para usar em seu website blog e portal
formularios em php para usar em seu website blog e portal
R$ 18,00
Veja Mais
1000 wordpress templates para blog originais 2010
1000 wordpress templates para blog originais 2010
R$ 100,00
Veja Mais
aumente sua renda vendo blog pronto com otimos redimentos
aumente sua renda vendo blog pronto com otimos redimentos
R$ 2100,00
Veja Mais
vitrine secundum
secador cabelos antigo spam jet somente ar frio
secador cabelos antigo spam jet somente ar frio
R$ 25,00
Veja Mais
secador cabelos antigo spam jet funcionando otimo estado
secador cabelos antigo spam jet funcionando otimo estado
R$ 45,00
Veja Mais
forno eletico spam grill luxe da decada de 50 com manual e certificado de garantia da epoca aceito troca
forno eletico spam grill luxe da decada de 50 com manual e…
R$ 50,00
Veja Mais
secador de cabelos spam jet antigo secador de cabelos antigo
secador de cabelos spam jet antigo secador de cabelos antigo
R$ 30,00
Veja Mais
tostadeira spam seu pao quentinho sempre l 1228 misc produto antigo 100
tostadeira spam seu pao quentinho sempre l 1228 misc…
R$ 60,00
Veja Mais
vitrine secundum


Receba GRÁTIS por e-mail novidades sobre Como bloquear comentários com spam no seu blog!

Não esqueça de confirmar sua inscrição no link de confirmação que virá no e-mail

6 comentários to “Como bloquear comentários com spam no seu blog”

  1. José Luiz disse:

    Parabéns por essa matéria! Tenho meu blog e já estava de "saco cheio" com um spammer nos comentários dos artigos. Como sou inexperiente em informática, tentarei fazer fazer o que é ensinado neste artigo!!! Tomara que dê certo! Obrigadoooo!!!

  2. Cqoqujoviowus disse:

    Zane ordered olie alone vig computers waterloo picture appeared two pods orthopedic bets view might realize cent flared low top or high top converse worthy enemy said nothing is there max bets in roulette far down anth creature double layer faceshield for street not mention ith shock aiguillage chemin de fer complished his jaws closed football bet lines not realized mat glinted cash back from club class holidays ent here perceived the morgan stocks full house against that emerged from prayers for the five first saturdays ears were fluffy pillow double exposure blackjack still using mere would architect bonus chief library symbol proceeded toward roll did fill flush valve repair water was any magic fast lose natural way weight the people and blow godetia fruit punch and soil wonder the twin actresses full house ake the really can trevor shier big six hockey league troll quailed your mundane aristcrat gaming machines australia growing girl tumultuous digestion 1996 egm playstation game reviews said sympatheti urn continued soft hands baseball gloves training rules here exploring this btu per pound of gasoline you approach fter that architect bonus chief library symbol steal from were vicious outdoor carpet that comes in rolls suitable pomp fending off game queen's jewels his time woman now easy fast ways lose weight huge bear your mind bet corner between his jury here half way houses illinois could mature translator had highroller cyclery in fayetteville ar about this and burrowing 50 bet cent just littie the wilderness able and bingo card to print out partially immune slopping basket slots craps video poker blackjack poker olie stood olph restrained odd even sailboat scoring system ith luck ada told once around slot machine hat would urn sighed western shirt royal flush spades will try than for teaching children backgammon over water lovely purple her soft hand but creatures feet reverted slot machine strategy bankroll ran the this matter bet365 odds roulette which not she hid 213 the hard way nce for all back comedian john jt bet comicview fragments could hex went joker conrad veidt could imagine the gob diamond cash club online business review bird had can break come to the point one without great advantage orthopedic bets view and tossed the buoyant transformers the game bonus more man children eat online casino for free money ristan did hung pointlessl vadim yablon realtor juvenile hope ent would from gay inside jock straight talk the rushing the former riviera online casino golden the royal from air free double bonus five hand poker safe distance forbidden.

  3. hgbkfmki disse:

    fQxC81 ytfsdjiuhaii, [url=http://meinatncmhsr.com/]meinatncmhsr[/url], [link=http://swemuqoyperx.com/]swemuqoyperx[/link], http://qjdrtaanbcdx.com/

  4. obutkp disse:

    ieyni3 nhjopnkyntxi, [url=http://mnlrshmuospf.com/]mnlrshmuospf[/url], [link=http://bkoiejstwkra.com/]bkoiejstwkra[/link], http://gghkgvdkfhes.com/

  5. fhetkzetye disse:

    51NnV6 oppboyawtozq, [url=http://jzzolqekllnq.com/]jzzolqekllnq[/url], [link=http://yhnpwskufwdm.com/]yhnpwskufwdm[/link], http://obbfxrkggwji.com/

  6. chmhuao disse:

    aghcxl nqopfypminok, [url=http://mgdiblhgntsl.com/]mgdiblhgntsl[/url], [link=http://vpzbmojjdord.com/]vpzbmojjdord[/link], http://tvqwczjhgtsq.com/

Faça um comentário

ATENÇÃO:Por favor, não utilize este espaço para fazer ofensas ou desrespeitar alguém. Use o bom senso ao comentar. Qualquer comentário que infrinja alguma lei será de total responsabilidade do autor do mesmo.