Scaleable Contact Form Plugin
A Plugin for ..
.. a very customizable contact form on your wordpress blog.
- Uses Captcha but no Akismet (yet).
- Required, non required Fields can be configured.
- Five different Field Types: Textfield, Textarea, Select, Radios and Checkboxes.
- All labels and buttons can be modified.
- You can choose either a regular send formular or AJAX driven
- Optional confirmation mail to ser
[scaleable-contact-form] somewhere in a post or site or call
echo scf_print_contact_form() directly from a template.
In the WP Admin interface, you’ll find a submenu entry “S.C.Form” under “Settings”. There you can add new fields, edit labels, error messages, behavior and so on..
Usage for AJAX Form
[scaleable-contact-form-ajax] somewhere in a post or site or call
echo scf_print_contact_form_ajax() directly from a template.
- Fix: Session unset after comment
- Urgent fix: removed debugging “display_errors”
- Adjusting PHP code to be compatible with php 6.
- Message is now optional.
- Added new error, which will be displayed if the user hit’s (accidentally? spam?) reload (could not use redirect due to session_start for the captcha..).
- New optional customizable confirmation mail to user.
- Fixed non removal of the used captcha code.
- Fix for 2.9.1
- fixed the missing closing div
- .. and replaced bloginfo with get_bloginfo to surpress the site title
- Replaced lot of the patches relating captcha with old working version
- Patch from Jonathan Rogers: Assure JQuery is included, differentiate between checkboxes and radios better, using fieldset for checkboxes and radios
- remove the “formular always displayed on top of page” bug (the [scaleable-contact-form] tag could be placed now anywhere)
- fix for PHP4 (still?)
- minor security issue
- better Simple CAPTCHA recognition
- integration of ajax formular
- Use the WP Pluginstaller OR download .zip file and extract into your “wp-content/plugins” directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Either put [scaleable-contact-form] somewhere in a post or page (in the text-editor, it will be replaced by the generated contact form) or call
scf_print_contact_form()directly from a template.
- Does it work with WP Super Cache (or other caches for that matter)
No, but you can simply add the URL of the page where you use the form to the ignore list (at least with WP Super Cache, tested with version 0.9.9.6):
1. Go to WP Super Cache configurations in WP Admin.
2. Go to the advanced tab.
3. Scroll down to where it says “Add here strings (not a filename) that forces a page not to be cached. […]”
4. Add the path of your page/site.. eg if it is in http://yourdomain.tld/contact/ then “/contact/.*” will fit).
I use the SCForm here: http://blog.foaa.de/about/, so i added “/about/.*” to the list, cleared the cache once and it worked like a charm.
- How many fields i can use in my contact form ?
As much as you want and common sense dictates .. surely i didnt test with more then a “reasonable” amount..
- How can i use SMTP for sending the contact form mails ?
This plugin uses
wp_mail()instead of php’s
mail()so you need (another) plugin which modifies this method. I used WP-Mail-SMTP ( http://www.callum-macdonald.com/code/wp-mail-smtp/ )
Contributors & Developers
“Scaleable Contact Form” is open source software. The following people have contributed to this plugin.Contributors