Antispam WP Contact Form

After being at GNU/Linux Day and listening at Fullo's antispam scripting advices, I've just upgraded my WP-contact-form plugin with Akismet antispam control, and DNS domain check.

My version is 1.4.3a and it's based on Ryanduff's code, while I'm writing it's released at version 1.4.3.

To get the contact form with DNS check of the sender email address, and then the Akismet support you must follow this steps:

  1. Download 1.4.3 original version from Ryanduff website
  2. Overwrite original wp-contactform.php with my antispam version
  3. Download the Akismet.class.php, choose between PHP4 or PHP5 version
  4. Copy the PHP class into your wp-content/plugins/akismet directory (make sure the filename is Akismet.class.php)
  5. Obtain a key from WordPress.com website (you must be subscribed)
  6. Activate both plugins (Akismet and WP Contact Form) into your WordPress plugins page, then configure Akismet plugin with the key obtained, and the other plugin as you want
  7. Try if it's checking DNS by inserting random email address in the form, if it's working try if it's catching spam using "viagra-test-123" as Name

This software is released under the General Public License (GPL).

Note: DNS check doesn't works on Win32 servers, by operating system limitations.

commenti

Più tardi, fullo dopo 2 giorni ha divulgato:

ma farne un pacchetto scaricabile? Anzi.. metti tutto su svn di google che ci pastrocchio anche io Okkiolino

Allora, Tassoman dopo 3 ore ha rivelato:

Volentieri. Anche perché il codice scritto da RyanDuff è un po orrendo, sarebbe il caso di aggiustarlo in molti punti, magari aggiungendo il supporto gettext per le traduzioni.

Fixato

Successivamente, Santana dopo 1 settimana ha affermato:

Ficherrimo! Stavo proprio cercando un anti-spam per la contact-form. Ci tenete aggiornati sullo sviluppo del plugin? Grassie. Banana

Al che, neon dopo 5 settimane ha sostenuto:

Sembra che il link alla classe php4 di akismet sia down perchè hanno eliminato tutto il sito.

Per caso ne hai una copia?

Per di più neon dopo 16 min ha replicato:

Invia nuovo commento

Il contenuto di questo campo è privato e non verrà mostrato pubblicamente.
  • Indirizzi web o e-mail vengono trasformati in link automaticamente
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Linee e paragrafi vanno a capo automaticamente.
  • Textual smileys will be replaced with graphical ones.

Maggiori informazioni sulle opzioni di formattazione.

©MMVIII Bologna Informatica - p.i. 0123456789