Antispam WP Contact Form

Submitted by tassoman on Dom, 29/10/2006 - 03:27

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.

5 commenti

ma farne un pacchetto

Submitted by fullo (non verificato) on Mar, 31/10/2006 - 22:15.

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

Volentieri. Anche perché il

Submitted by Tassoman (non verificato) on Mer, 01/11/2006 - 01:35.

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

Ficherrimo! Stavo proprio

Submitted by Santana (non verificato) on Mer, 08/11/2006 - 20:42.

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

Sembra che il link alla

Submitted by neon (non verificato) on Gio, 14/12/2006 - 14:11.

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

Per caso ne hai una copia?

trovata

Submitted by neon (non verificato) on Gio, 14/12/2006 - 14:28.

trovata

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> <h3> <h4> <blockquote> <img> <del> <ins>
  • Linee e paragrafi vanno a capo automaticamente.
  • Textual smileys will be replaced with graphical ones.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
  • Adds typographic refinements.

Maggiori informazioni sulle opzioni di formattazione.

Creative Commons License
Questo/a opera è pubblicato sotto una Licenza Creative Commons. Drupal theme by Kiwi Themes.