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

Perciò fullo dopo 2 giorni ha riferito:

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

Per di più Tassoman dopo 3 ore ha esternato:

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

Per di più Santana dopo 1 settimana ha aggiunto:

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

In seguito, 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?

Più tardi, neon dopo 16 min ha proclamato:

Invia nuovo commento

Il contenuto di questo campo è privato e non verrà mostrato pubblicamente.
©MMVIII Bologna Informatica - p.i. 0123456789