13th August 2007

Wordpress Contact Form with Spam Protection Fixed

posted in Wordpress Plugins |

Update: THE WORDPRESS CONTACT FORM 2.06 PLUGIN IS OFFICIALLY WORKING.

Keep in mind that this plugin is for Wordpress version 2.06. The newest version of Wordpress is now 2.5.1 and I highly recommend it! The latest Contact Page Plugin for this newest version of Wordpress can be found here

I enlisted the help of several buddies at Open Designs. A bunch of great guys over there.

At any rate, we combed over the original authors PHP code and we were able to find some silly issues that were leading to a handful of annoying problems for some users. I also located some bad additional code that prevented the form from validating. Anyone who knows me knows how crazy that makes any web designer.

OK, so now that the wp-contact-plugin is working across several platforms, I feel safe in making it available to you once more.

Grab The Plugin Here! and extract it’s contents to your hard drive. The extracted folder will contain three files.

  1. options-contactform.php
  2. wp-contactform.php
  3. Read Me text file

Make sure you are running Wordpress 2.x

Follow these easy steps:

  1. Deactivate older versions of wp-contact-form and delete any older versions of wp-contact-form from your plugins directory.
  2. Upload the newly extracted wp-contact-form folder and its three files to your wp-content/plugins/ directory. Leave the folder in tact.
  3. Login to your site, navigate to your plugins page and activate the wp-contact-form plugin on the plugin screen
  4. Go to Options -> Contact Form and update the fields with your information
  5. Create a post or a page and press the Contact Form quicktag button to insert the quick tag, %%wpcontactform%%, where you want the form to be. If you do not see a Contact Form quicktag button, just copy and paste %%wpcontactform%% where you want the form to appear. When you view the entry or page, your contact form will be inserted in place of the quicktag.

 

Wordpress Contact Page

They say a picture says a thousand words. I hope this helps to add clarity to the instructions.

Here is a screen shot that shows how to create a new page or entry that displays your cool contact form! Click the thumbnail to enlarge it. Click it again to shrink it back down to size.

That about does it.

Please let me know how this works for you. If you have any issues CONTACT me.

 

 

 

FAQ

  1. What is a QuickTag Button? a) Some browsers may display a button amongst the Post tool buttons just above your entry field for new pages and new entries. This depends on how you have your Wordpress set up and what browser you are using. Pressing the QuickTag button will automatically insert the following code into the main entry form field: %%wpcontactform%% If you do not see a QuickTag button, you will have to manually copy and paste %%wpcontactform%% wherever you want your contact form to appear. Note: See thumbnail above.
  2. What is a Multi-Select List? a) This is a feature of this plugin that allows you to give your visitors the option of several subject headings which are chosen from a drop down menu such as the one on the Contact Page of this web site. This option is configured by going into your Admin area. Look for the Options Tab. Assuming you have wp-contact-form installed properly, you will see Contact Form options tab. Click that to get to your wp-contact-form configuration page. Once there, look for the area called Subject Line. This is where you configure your Multi-List Subject Header. You can create as many Subject Headings as you like, separating each one with a vertical hask mark, like so:
    Website Issues | Diet | Exercise | COPD Tips
This entry was posted on Monday, August 13th, 2007 at 1:12 pm and is filed under Wordpress Plugins. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

There are currently 14 responses to “Wordpress Contact Form with Spam Protection Fixed”

Why not let us know what you think by adding your own comment! Your opinion is as valid as anyone elses, so come on... let us know what you think.

  1. 1 On August 27th, 2007, Igor said:

    Hello. I have great message in my Plugins page, like this:

    Ryan Duff but has been modified by Doug Karr to require a challenge question and response to fight spam as well as some other features. * Author: Douglas Karr * Author URI: http://www.douglaskarr.com * Version: 2.0.4 */ load_plugin_textdomain(’wpcf’,$path=’wp-content/plugins/wp-contact-form’); // Declare strings that change depending on input. This also resets them so errors clear on resubmission. $wpcf_strings=array( ‘name’=>”, ‘email’=>”, ‘response’=>”, ‘usersubject’=>”, ‘msg’=>”.htmlentities($_POST['wpcf_msg']).”, ‘error’=>” ); function wpcf_is_malicious($input) { $bad_inputs=array(”\r”, “\n”, “mime-version”, “content-type”, “cc:”, “to:”); foreach ($bad_inputs as $bad_input) { if (strpos(strtolower($input), strtolower($bad_input)) !== false) { return true; } } return false; } function wpcf_is_challenge($input) { $answer=get_option(’wpcf_answer’);

    It’s something wrong???

  2. 2 On August 27th, 2007, webmaster said:

    I am not sure I understand your question. What are you asking?

  3. 3 On August 27th, 2007, peter said:

    I have the same problem that Igor is experiencing. When I go to Plugins in WP admin, instead of there being a way to activate the Contact Form plugin, all I see is all the code from the plugin itself. I put the WP-Contact-Form folder in my Plugins directory — usually that allows me to activate the plugin through my WP admin page. However, in this case, all I see on the page Plugin admin page is just all the code from the plugin itself.

  4. 4 On August 27th, 2007, webmaster said:

    Peter and Igor, my suggestion is navigate away from the Plugins in Administrations to some other area inside Admin. Then, FTP to your plugins folder and delete the fixed wp-contact-form folder from the Plugins directory.

    I am curious, can you tell me if you already had the original wp-contact-form plugin installed? And if so, did you deactivate it and delete the original plugin before installing the new one?

  5. 5 On August 29th, 2007, webmaster said:

    OK folks, I think we have it now. Thanks for your patience. As it turns out, the original contact form had more issues than anyone was aware of. I think it works smoothly for everyone who is trying it now.

  6. 6 On August 31st, 2007, Luke said:

    I installed your widget and placed %%wpcontactform%% on the Contact page. This showed the forms ok. But in the Control Panel, if I click Options >> Contact Form this just sends me to my blog with a 404 Error - Page not found message. How, then, can I configure the widget?

    Thanks.

  7. 7 On August 31st, 2007, webmaster said:

    Luke, thanks for the email. I am glad you resolved the issue.

  8. 8 On August 31st, 2007, Luke said:

    Yep. I installed it into the wrong folder and couldn’t, for the life of me, see what the heck I’d done wrong. But it’s happy days now. Thank you for your kind offer of help.

  9. 9 On August 31st, 2007, webmaster said:

    No worries.

    Be sure to have a few folks come by and test your new contact form, just to make sure you have it configured properly.

    Cheers

  10. 10 On September 7th, 2007, Donna Littlewood said:

    So far, so good. I just downloaded and installed this plug-in. It was so easy that a technically challenged person such as myself could do it. I have also run a test on it and will follow your advice to have some others do so as well.

    I want to thank you for this. BTW, I did add you to my Technorati favorites.

  11. 11 On September 8th, 2007, webmaster said:

    Donna you are more than welcome. It took a while, but we got it where we want it :)

    Enjoy the plug-in!

  12. 12 On September 26th, 2007, Bryan said:

    Does this work with 2.3?

  13. 13 On September 26th, 2007, webmaster said:

    That is an excellent question.

    I upgraded a less popular blog of mine to 2.3 yesterday just to test it, and while some of my plugins broke, so far the contact form seems to work.

    http://www.bluestravels.com/contact-us/

  14. 14 On October 4th, 2007, Adam said:

    Where I can view the comments?

Leave a Reply

  • About Total Physique Online

  •  

    Would you be interested in helping this site continue to offer encouragement to people who need it?

    By making a small donation you can help do just that.

    Make a donation to Total Physique Online with PayPal - it's fast, free and secure!