WordPress.org

Ideas

Hidden ID values for fields on comment forms to deter spam bots


  1. Inactive

    12345

    Akismet does a great job capturing comment spam, but I think it'd be nice if there was an easy way to stop the spam bots from filling out the forms in the first place. This idea might be better suited as part of the Akismet plugin, but I thought I'd start here. Here's my idea...

    The idea is to use fake ID values on the public HTML comment form and then translate those ID values to the real ones when comments are submitted. This translation would occur inside WordPress PHP code.

    For example, the default ID value for the name entered into a comment is "author". I assume spam bots look for the ID "author" (and other possible names) when filling out the form. What if that field's id was changed to "453n43nk4%#"? When the comment is submitted, WordPress would know that "453n43nk4%#" = "author". However, when a spam bot fills out a form on the site or submits a comment via a HTTP call, they would look for/send over "author" and WordPress wouldn't know what to do with it because it wants to get "453n43nk4%#".

    If this worked, you could go even further and have WordPress generate a new ID code each day/session/etc.

    Posted: 9 years ago #
  2. John Havlik
    Member

    hemmeter, if scrambling is not done semi-randomly (e.g., if 453n43nk4%# always meant author) then the spammers would just have to update their clients for the new terms. If these were random, then it would work better, though the method of implementation I have in mind would not be very gentle to the server running WordPress. Additionally, this could only stop spammers that directly access the wp-comments-post.php file without going to a comment form.

    Posted: 9 years ago #
  3. tomaszs
    Member

    Automatycznie republikuje wpisy z bloga WordPress na blog Blox.pl ENGLISH Automatically republishes posts from WordPress to Blox.pl

    Wtyczka WP-To-Blox.pl służy do automatycznej republikacji wpisów z bloga WordPress na blogu na platformie blogowej Blox.pl.

    Wtyczka jest samoobsługowa i republikacja następuje od razu po publikacji na blogu macierzystym. Oprócz tego wtyczka obsługuje obrazki, linki oraz tag [youtube], którego podanie wraz z kodem w ten sposób: [youtube]kodFilmu[/youtube] powoduje zamieszczenie na Blox.pl podanego filmu (polecam używać z pluginem Video-Embedder dla WP), który taki tak właśnie stosuje.

    Rozważ subskrypcję bloga Polishwords aby być na bieżąco z projektem.

    ENGLISH

    Plugin supports [youtube] tag known from video-embedder plugin.

    Subscribe to Polishwords blog to be up-to-date with new releases.

    1. Wrzuć pliki do foldera '/wp-content/plugins/wp-to-blox'
    2. Aktywuj plugin w zakładce 'Plugin' w Twoim blogu WordPress
    3. Ustaw chmod na 77, aby móc edytować wp-to-blox.php
    4. Wejdź w edytor w zakładce wtyczki w panelu administracyjnym bloga wordpress, następnie w odpowiednim miejscu podaj hasło i login do Twojego konta na blox.pl

    ENGLISH

    1. Upload files to the /wp-content/plugins/wp-to-blox directory
    2. Activate the plugin through the 'Plugins' menu in WordPress
    3. Set chmod 777 privilages for wp-to-blox.php file
    4. Set login and password inside wp-to-blox.php to your blox.pl account login and password
    1. Czy wtyczka obsługuje obrazki

    TAK

    1. Czy wtyczka obsługuje filmy z YouTube?

    TAK. Wtyczka nie tylko obsługuje filmy ale dopasowuje je do szerokości blogów na Blox.pl. Umieść film wewnątrz tagu [youtube]kodFilmu[/youtube]

    np. dla filmu 'http://www.youtube.com/watch?v=uwu2AfjkSVk' jego kod to 'uwu2AfjkSVk'

    1.0

    • Działająca wtyczka
    Posted: 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    1 Vote
  • Status

    This is plugin territory