SimpleModal Contact Form (SMCF)
Summary
SimpleModal Contact Form (SMCF) is an Ajax powered modal dialog contact form plugin for WordPress.
It is built on the jQuery JavaScript library and uses the jQuery SimpleModal plugin.
Please visit the WordPress SMCF Plugin page to download as well as for information regarding installation, FAQ’s, screenshots, etc.
Translations
For SMCF v1.2.2+
Italian (Gianni Diurno)
French (E Neuville, ICS-INFORMATIQUE)
Portuguese (Vitor Borges)
German (Mika)
Polish (Tomek Nowak)

Thank you.
Wonderful ! thanks very much.
hi…i reallyyy love your plugin…but i have a little problem…i did everything exactly as you said in the readme and when i click the contact click i get a 404 page…PLS HELP !!!
Author Comment
Eric Martin February 4th, 2008 at 9:45 am@K.Z. – what is the URL that it is trying to access? Does it look correct? Do you have a link I can view?
yeah… the website is http://rapnation.lx.ro … PLS HELP !!!
Author Comment
Eric Martin February 4th, 2008 at 3:21 pm@K.Z. – 1) when viewing your site in IE7 – it throws all kinds of JS errors.
2) you need to put the smcf_link class on your contact link:
Edit: As of SMCF v1.1, the SMCF link class changed to smcf-link
i did exactly as you said…it still doesn’t work…
(
i even tried to use it without any other plu-in installed…still nothing !!!
Author Comment
Eric Martin February 4th, 2008 at 3:44 pm@K.Z. – there is something wrong with the smcf_javascript.php file that is being loaded. Did you place the smcf directory under wp-content/plugins ?
yes…i placed it in wp-content/plugins !!!
Hmmm. Can’t get it to work in IE 6. Can’t break it in FireFox.
Author Comment
Eric Martin February 7th, 2008 at 9:10 am@K.Z. – The first line in smcf/js/smcf_javascript.php is:
Which should be loading the WordPress configs. However, when I look at the file as it is loaded on your site, it appears that it is pulling something else – looks like CSS – which is causing the JS to fail. You’ll need to get that figured out in order for it to work.
As you can see from the require above, it expects smcf_javascript to be in:
wordpress_root/wp-content/plugins/smcf/js
@chad – What is not working?
It does work with the default theme, but not with my modified theme.
It just turns darker and then hangs.
Can you see what I have to change in this them in order to get in working?
Poetry Blog
The contact link is at the bottom of each post on the front page.
Author Comment
Eric Martin February 11th, 2008 at 9:21 am@Niemi – The problem is that the plugin is looking for hidden data in your page, but it is not there. The data is inserted in your footer and is called when wp_footer runs. So, my guess is that you are not calling wp_footer() in your theme.
If you have a footer.php page, add the following before the </body> tag:
That’s it, thank you Eric.
I could have been struggling with this for days.
Great job on this plugin.
And one more thing, is there a way of closing the dialog box when the email have been sent? So the users wont have to click ‘X’.
Author Comment
Eric Martin February 11th, 2008 at 11:15 am@Niemi – Well, there are a lot of different options. Do you want it to close immediately, or after a pause? If you wanted it to close after displaying the final message, you could change the
completefunction to look like:If you just want it to close immediately (which won’t let them know whether the message was sent or not, you could change the above to just:
You’re the devil Eric, thank you a lot.
It may be worth adjusting, as it may be causing some of the above commenter’s problems, the name of the directory when un-zipped is simplemodal-contact-form-smcf as opposed to smcf as referenced in the smcf_data.php file. Thanks for this great plugin, still no able to receive e-mail from it but I have a feeling its more a result of a problem on my server end.
Great plugin, and I’m almost there. The only problem is that I’m not receiving the emails (a pretty big problem). I’ve sent several tests and got nothing. I’ve copy/pasted the two examples you gave at .org plugin page so that there’s an href link on my contact page (see link on my name) and a dynamically created one on my 404 page.
When I send an email, it gives me a message that the email was sent. Do I need to do more than just straight copy/paste? I feel like I’m missing something that should be obvious.
I appreciate your help.
Opened up my email this morning and found a bajillion test emails I sent myself. So it’s working, I was just experiencing major lag for some reason.
Again, it’s a beautiful plugin.
Hi, I have installed your nice plugin contact form. The only thing I cant get working is the big background of the form.
You can check it here: http://www.dempalmada.com/wordpress/quien-esta-al-otro-lado/ by pressing the Contact link.
Can you help me to solve this?
Thanks in advance.
Author Comment
Eric Martin February 14th, 2008 at 10:35 am@bob – thanks for that note…I wasn’t aware of that. I’ve update SMCF documentation to reference the actual plugin folder name. I’ve also update the code so that it can dynamically determine where it is installed.
@Matt – glad it is working!
@DogDay – looks like you got the background issue resolved…
Yes, and I have restored (translated to spanish) the credit link that I removed by error trying to solve my problem.
By the way, your plugin crashes with Live Search Popup plugin.
If I enable yours, Live Search Popup stops working.
I just wanted to drop you a note and tell you I think your program is great! I had no problems!
I really love this plugin. One question though, is there any future to allow for multiple forms? For example, I would like a form for the main contact of the site, but I would also like to be able to have forms for each individual team member listed on the site (about 15 or so). I think this would be a really slick way for customers to contact them and avoid displaying their email address directly on the page.
Keep up the awesome work!
Author Comment
Eric Martin February 24th, 2008 at 7:44 am@Chris – thanks, I’m glad you like it!
@Rene – thanks for the suggestion…I’ll keep it in mind for a future version.
Awesome plugin, Eric. I’m going to use it on several sites.
If I can ever be of service, let me know!
deej
It’d also be nice to offer the option of the sender cc-ing themselves. I know I hate it when I use a form that just doesn’t give me some proof of success.
Hello,
Could you please add a “Subject” field to the contact form? Thanks.
Author Comment
Eric Martin February 29th, 2008 at 10:50 am@Matt – I agree…the cc feature is something is on the to-do list.
@Vasile – the ability to add/remove fields through the admin interface is something I’m considering, but for the time being, you can just download the changes I made, which include a subject field. The field is not required and the default will be used if not entered.
Thanks for a great plug-in. This is easilly the coolest looking contactform for wordpress and it is great since it doesn´t require any special page or subject to be set up.
Since you solved a problem för me (the footer thing) I´m also really greatful for your quick support!
/Mattias
Great plugin. Very useful for me.
Hi Eric,
Regarding the question Niemi had about having the dialog box close after sending the message, where exactly do I add the code you’ve provided? I went to the plugin editor in wordpress, and I’m assuming that the code is to be added to the file it displays, but I don’t know exactly where to place it without causing damage if I’m wrong (excuse my ignorance, but I don’t know much about php files). I don’t see any complete function code in the file which I would then edit.
Thanks,
Patou
Author Comment
Eric Martin March 6th, 2008 at 10:07 am@Patou – those changes are for the js/smcf_javascript.php file. You’ll have to edit that file by hand, it is not available through the plugin editor in WordPress.
Let me start off with a thank you for this contact plugin and then a comment that I don’t know what I’m doing! This is my first wordpress site and I’m not a programmer. I’m trying to use your plugin with the Lightbox2 plugin (http://stimuli.ca/lightbox/). When I go to the Options – SimpleModal Contact Form Configuration – and then select the Include jQuery and the Include SimpleModal the Lightbox2 image view stops working. Any ideas?
Author Comment
Eric Martin March 6th, 2008 at 12:04 pm@Spencer – the problem has to do with conflicts between the different JavaScript libraries. If you are not using jQuery anywhere else on your site, you can add the following to the js/smcf_javascript.php file (right below the
var smcf_url ...line):That should do the trick
Thanks. The smcf_javascript.php file now has the code below;
var smcf_url = ”;
jQuery.noConflict();
I have deselected the “Include jQuery” in the configuration tag and then I have the “Include SimpleModal” selected.
The Lightbox2 now works but the contact page is reporting errors. This is what I’ve got in the contact page;
<a href="/contact">contact</a>Author Comment
Eric Martin March 6th, 2008 at 2:04 pm@Spencer -
It should be:
1) I hope that smcf_url in smcf_javascript isn’t actually empty
var smcf_url = '<?php echo get_bloginfo('wpurl') . SMCF_DIR ?>'2) You need to have “Include jQuery” checked, or SMCF will not work
3) The contact link should look like:
<a href="/contact" class="smcf_link">contact</a>4) Please read the box right above the “Leave a Reply” textarea on how to post code snippets.
hehe, thanks. Like I said in my first comment, I don’t know what I’m doing!
1) var smcf_url = ”;
2)”Include jQuery” AND “Include SimpleModal” are checked
3)the contact link is
<a href="/contact">contact</a>4)jQuery.noConflict(); is right below the var smcf_url … line in the js/smcf_javascript.php file
it all seems to work now. Thanks!
Hello there and Hello Eric,
great plugin you offered! I’ve got it working on my new website on firefox, safari etc. but still not working on IE, it seems that nothing is happening. I’ve read all the reply before but found nothing to help me.
Your help would be highly appreciated.
Thanks in advance
Author Comment
Eric Martin March 8th, 2008 at 6:55 am@damo – it looks like jQuery is being loaded twice on your site. You can try de-selecting the include jQuery option in the SMCF options. However, the other version that is being loaded (it looks by Thickbox) is older and I’m not sure that SMCF will run correctly on that version.
So either try removing the Thickbox jQuery version or the SMCF one and see if that fixes the issue.
@Eric
I’ve tried removing the SMCF jQuery in the option menu by de selecting the “include jQuery” option and now it just doesn’t work in firefox neither. How do I remove the Thickbox jQuery version? I just don’t get it.
Thks in advance
With so many people using lightbox, it’d be nice to have an update that played nicely with LB automagically. Especially for us non-code-monkey types. Great plugin, BTW. Thanks for your work.
Author Comment
Eric Martin March 10th, 2008 at 9:35 pm@damo – I downloaded and activated the Thickbox plugin. I just edited the thickbox.php plugin file and commented out the following line:
@jp – I have two thoughts:
1) I should update SMCF to put the JS files in the footer, as opposed to the header. That would speed up page loading and help with one Thickbox compatibility issue.
2) The Thickbox plugin I tried did not have an option to include/not include jQuery (like SMCF does). As long as any other plugin uses a compatible version of jQuery (1.2+), all should be fine.
Hello Eric,
thanks for your reply. I’ve done what u told me and it still doesn’t work on I.E but still working on firefox… What else?
Author Comment
Eric Martin March 11th, 2008 at 8:17 am@damo – I tested it with IE6 & 7 and it worked fine. When you say it doesn’t work, what is the problem? Have you turned on JS debugging in IE to see if it is throwing any errors?
Hi Eric,
I can’t believe it’s working for you and not for me or my clients…this is so weird. I’ve just tried again with IE 7 and here’s the dubugging message:
Script Error Informations:
====================
OS Information: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
OS Language: fr
Browser: Microsoft Internet Explorer 4.0 (compatible; MSIE 7.0; Windows NT 5.1) 0
Web Browser Language: fr
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Cookies enabled
Java enabled
————-
Script Error:
//—————-
Line: 11
Character: 4
Code: 0
Error Message: Cet objet ne gère pas cette propriété ou cette méthode (if you can’t speak french basically it says that this object can’t handle this priority or method).
I’ve tried to enable a lot of things in the internet options / security window but it doesn’t seem to change anything.
Sould I try something else? or do you need information about my wordpress plugins? Should I uninstall the plugin and install it again?
See I’m desperate…
Author Comment
Eric Martin March 12th, 2008 at 7:51 am@damo – it looks like you still have another version of jQuery being used by wp-shopping-cart. Once you stop it from loading it’s copy of jQuery, all should be fine.
@Eric – Ok thanks Eric but how do I stop it from loading? (I’m far from being a php/html pro…) What kind of line do I have to find, is it the same kind of thing you told me to do with thickbox?
Thanks and sorry for being such a pain
Author Comment
Eric Martin March 13th, 2008 at 7:45 pm@damo – the easiest thing to do would be to copy the version of jQuery that comes with SMCF into the wp-shopping-cart/js folder. Then just disable jQuery for the SMCF in the Admin Options.
Hi, Eric. First of all I’d like to say great plugin you’ve got here. However, I can’t seem to get it to work the way I’d like to.
I notice you have it working directly from a page and instead of having your Contact link take you to a page, it brings up the contact form. Is there a way I can do this from the dashboard and with a pre-made theme?
I listed my site if that helps at all. Thanks.
@Eric>> I’ve tried and it just doesn’t work for me…So I’ve decided to give it up and get back to a more “classical” contact form. That’s a shame because yours was awesome. Anyway thank you for your time and I’m sure other users will enjoy it !
Author Comment
Eric Martin March 14th, 2008 at 8:11 am@David – Are you wanting to have a contact link that takes you to a contact page, where the user would then click another contact link (or button/image/etc) and that would display the contact form?
If so, then all you need to do is (assuming the plugin is activated):
1) create a contact page (wordpress)
2) add a contact link to your site (theme)
3) edit the contact page and include a link/button/image/whatever to open the contact form. It must have a class of
smcf-link.@damo – I’m sorry to hear that. If you want to contact me privately, I can get it working for you.
@Eric – Nope, I’m looking to try to do exactly what you did: have the contact tab directly bring up the form rather than being taken to a page first. I’m just wondering how you did this, since I can’t edit what kind of links the page links are. So I’m wondering if you were able to do this because you wrote your own theme/stylesheet or if there’s a way to give the link to the page the smcf-link class so it can bring up the contact form rather than taking me to a static page
Author Comment
Eric Martin March 14th, 2008 at 9:19 am@David – ahh…sorry for the misunderstanding
I downloaded K2 and True Blue and just added a Contact link as a top menu item (along with Main and About). To do that, I just edited the themes/k2/header.php file and right below:
I added:
@Eric – that worked perfectly. Thanks a ton for your help. Great plugin!
thank you for nice plugin.
Hey, thanks for the update with the cc:self option. Works great.
I installed your plugins, it’s very nice, but when i fill the form and clic on send, i get “Uh Oh… 404: not found” error message.
Can you please help ?
many thanks
Author Comment
Eric Martin April 2nd, 2008 at 6:28 am@Glucoze – I made some changes to how it determines the URL to send to, so that could be the problem. In Firefox/Firebug, check the smcf_javascript.php file and see what value it has for var smcf_url = ?. You can also your URL and I can take a look.
thanks for the quick reply
the smcf_url variable is
var smcf_url = '';
the URL of my pre-prod WP site is http://www.thynis-et-glucoze.info/sucrette
Contact form is accessible via the tab on the top of the header.
many thanks
in Firebug -> var smcf_url = ”;
Ok i probably got it.
with WP 2.5, there is no “wpurl” variable in the wp_options table.
the wp url variable seems to be -> siteurl
the blog url variable seems to be -> home
i delete the “parse_url” function in smcf_javascript.php and i get
var smcf_url = '';
=>
var smcf_url = 'http://www.thynis-et-glucoze.info/sucrette/wp-content/plugins/simplemodal-contact-form-smcf';
but if i put the parse_url back i get
var smcf_url = ''
it works with this :
var smcf_url = '';
var smcf_url = '<?php$lurl = parse_url(get_bloginfo('siteurl') . SMCF_DIR);
echo $lurl[path];
?>';
Author Comment
Eric Martin April 2nd, 2008 at 10:45 am@GluCoZe – thanks for the info. I found out that it was an issue with the
parse_urlPHP function. I was using the component parameter, which is only supported in PHP 5.1.2+. I fixed the problem in SMCF v1.1.2.Also –
wpurlis not in the database, but it is a valid WP variableYou’re welcome
and thanks for the info, and most of all for the plugins. Very nice and well done !
I love this plugin. How can I make the dialog close when clicking outside the box? Perhaps as an alternative to clicking the X, like lightbox.
Author Comment
Eric Martin April 3rd, 2008 at 8:43 pm@K-Dog – in smcf_javascript.php where you see:
Change that to:
thanks
Hi Eric,
I’ve been trying to get SMCF running on my site, but I’m a bit unclear with your instructions.
I understand that I need to create a page called Contact, but I’m a little stuck on where I’m supposed to do this:
I tried to send this with your contact form here, but it doesn’t seem to want to go thru. Any help would be appreciated.
Thanks much,
nina aoki
Author Comment
Eric Martin April 7th, 2008 at 10:13 am@nina – sorry the instructions aren’t clear
Once you’ve installed and activated the plugin, you have two options for “making it work”. 1) If you already have a contact link on your site, you just need to add the smcf-link class to that link. or 2) If you don’t already have a contact link, use the smcf() function to create one. You’ll need to edit your template files and place the code to call the function in there (like sidebar.php)
If you need further details, let me know.
Hi,
I’m Daniele, an Italian guy. I’ve just installed your nice plugin in my blog-platform (WP 2.5) but when I use SMCF in IE7 it doesn’t work…
Could you try to understand, please, what’s going on?
(to use SMCF you have to click the “Scrivici” related image on the home-page sidebar or the same image you can find on the page called “contatti”)
Thanks much
Author Comment
Eric Martin April 8th, 2008 at 9:47 pm@Daniele – hello! The problem is that you have a comment on the first line of your HTML, which throws IE7 into quirksmode. So, you have two options, remove the comment or add the following CSS to your page (right above </head>):
But which file do I have to edit?
Thanks much
because I cannot find a file with the /head code you referred to. (I’ve opened home.php, page.php, index.php, style.css and default.css). The only way to find the html code of the page is to show the source code directly from the browser, but then?
Author Comment
Eric Martin April 9th, 2008 at 5:50 am@Daniele – look in header.php. Also, I’d just remove the comment from (most likely) that file, then you won’t have to add any additional markup.
Sorry Eric,
I’ve put the code you indicated in header.php, above /head… but nothing!!!! It’s still the same…
what do you mean with “comment”?
thanks a lot Eric, this is by far the best contact plugin out there. good work mate!
Author Comment
Eric Martin April 10th, 2008 at 1:27 pm@Daniele – if you look at your HTML source, at the very top, you’ll see:
I’m assuming that if you open your header.php file, you’ll see that somewhere. I suggest removing it!
@theWizard – thanks!
@eric
Okay – I gathered that I need to add the code in to my theme files. Right now I don’t have a page called Contact – but if I use option 2 and add the code to the sidebar, it should work? I hate to sound so dumb – But I tried creating a page called Contact and then didn’t know where I was supposed to add the the smcf-link class to that link. I looked in my header.php and didn’t see any link to any of my pages. There’s code in my header which seems to call to a list to get the pages to appear across the top of each page. So, I guess I might have been looking for something that wasn’t there? But – I’m okay with adding it to the sidebar – I just have to figure out how to do that!
Thanks much,
nina aoki
ps – I will try and send you something again. Thanks for your email.
@eric
Hello again – in the configuration screen:
Contact Link URL — would that be the path to the contact page? Ex: http://blogname.com/contact
Is this the correct formating if I was trying to use this with a page named ‘Contact’?
Thanks!
nina aoki
@eric
I got it working! Yay!
Thanks!
nina aoki
Author Comment
Eric Martin April 10th, 2008 at 8:09 pm@nina – great, I’m glad you got it working! I found an issue though…it’s the same issue that Daniele has/had. You’ll want to edit your header.php (most likely) file and remove the comment that gets put in the page before the doctype.
@eric – last one tonight! I’m getting feedback from users that SMCF doesn’t work in IE7 and causes display problems. I tested myself in IE7 and see the problem. Are there any known issues with IE7 or might I have done something wrong? It works fine in FireFox and Safari tho.
nina aoki
@eric – sorry, just saw your reply. So I should remove that code from my header.php – got it! Thanks!
nina
Thanks much Eric, now it’s all right!!! Good luck!
Works like a charm
Thank you
http://www.deboldfield.com/
The text is a little light, I believe it is my css, any idea where I can edit this.?
Thanks again.?
Author Comment
Eric Martin April 17th, 2008 at 7:54 pm@Steve – in your smcf.css, you need to edit
#smcf-container form:Been searching a while for something like this. Tried many others, but really nothing worked per my specs. If this works you have got yourself a fan for life. Will be checking out emAlbum too. Thanks for sharing.
Hey Eric, thanks for the comment and tip. The two errors I was getting were due to the default version of prototype that WP included in their package. I upgraded my prototype and scriptaculous libraries and it seems to work now… I think. Thanks again for your help!
OMG! This is the coolest ever contact form. I used up whole day to configure Contact Form II and I ended up with disappointment because I couldn’t make it with my gmail account.
With this plugin, I tuned
<a href="/contact">Contact</a>to
<a href="/blogmiji/contact" class="smcf-link">Contact</a>then it works perfectly with cool ajax effect.
Thanks Eric. =D
this SMCF contact form is great can we do upload in this form ?
i changed the input type text to file in contact.php and printed the $_FILES array
in $action==send but did get a blank array not file arrays exact information…..:(
Eric, this is very cool. I would really like to try to implement this on my wordpress blog. Up to this point I haven’t configured much on my blog, if I mess it up will you help me?
Good stuff man. I was actually looking for a decent contact plugin. I really appreciate it.
Thanks for th plug-in. This was very useful to me. It’s great it doesn´t require any special page or subject to be set up.
Eric, just wanted to say thanks for this amazing plugin. Worked great for me and and I definately will be using in for a long long time. Great job!
this is brilliant, works a treat.
Regards,
Mark.
Hi Eric,
first of all congratulations for this code. It’s fantastic.
I’m getting problems with my ie7 version. The Contact Form appears at the end of the page. Terrible. I’ve tried to find out the solution in this section but all the changes I made didn’t fix the problem. Could you please help me?
Thanks in advance, sir!
Really good stuff, I like this alot, Thanks
Thanks, thats a really sweet contact form. However it would be cool if you could change the colour/fonts of the form via the wordpress admin panel.
Wow, really cool plugin. Thanks!
Great Plugin. Took me a while to configure it, but it is working now. I had to upgrade by wordpress version and it worked like a charm. TY
Great Plugin
cool plugin. Thanks!
It work fine, but if your extend configuration options (as said above) it’ll be the best!
Works well.. I had a real struggle with the configuration though. I think it’s probably just an IE thing though because I had no problems in Firefox.
thanks- i used this for a client today and it worked fantastic and saved me a ton of time
oh, thanks. that’s a grat plugin, but
there is a problem!
here, on this page (http://starguides.com.br/contato);
It doesn’t work!
I’m sorry, can you take a look for me ?
thanks (:
Oh, is http://starguides.com.br/blog/contato.
sorry ;P
Thanks for the SMCF. Great plugin. More of those please!!!
Author Comment
Eric Martin May 8th, 2008 at 8:00 am@Joel – glad you got it working. I’m looking forward to your review of SMCF!
@Brendan – glad you like it!
@Rabindra – you should be able to. Did you add
enctype="multipart/form-data"to the form tag?@Bob – yes, if you need help, just let me know!
@Dani – Try changing your DOCTYPE to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">If that doesn’t work, let me know.
@HTML Guru – I’ll keep that in mind for a future version, thanks!
@Annie – what version of WordPress were you using?
@Lúu – it doesn’t look like smcf.js is being loaded. In your theme, do you have the wp_footer() call?
Also, you have a JS error in the lightbox.js file. You might have to add this line of code to prevent a conflict with SMCF.
very nice script dude, might use it on a couple of my sites
thanks- i used this for a client today and it worked fantastic and saved me a ton of time
Hi Eric but why my comment deleted ?
Great plug in for my website
Great, I’ll try the plugin on my blog tonight.
Thanks!
Great plug-in. Thanks a bunch
, Mike
Very very cool one. I am surely going to use it. Thanks a lot
Hello,
Thanks for the plugin. I have a few questions…
1) I’ve added the following code to smcf_javascript.php and the dialog still does not automatically close after sending a mail…
complete: function (xhr) {
jQuery.modal.close();
},
2) How do you change the opacity of the overlay? It’s set to “0.5″ and I’d like to change it to 0.8 to fall in line with other parts of my site.
3) While the dialog is open, the mouse changes to the hour-glass icon when placed anywhere over the overlay; how do I change that so it stays at the normal pointer icon.
Thank you,
Craig.
Thanks for the awesome plugin Eric.
Hi Eric,
Regarding the question Niemi had about having the dialog box close after sending the message, where exactly do I add the code you’ve provided? I went to the plugin editor in wordpress, and I’m assuming that the code is to be added to the file it displays, but I don’t know exactly where to place it without causing damage if I’m wrong (excuse my ignorance, but I don’t know much about php files). I don’t see any complete function code in the file which I would then edit.
Thanks,
Patou
Great Plugin!
But mir Firebug says:
jQuery("div.wpcf7 > form").ajaxForm is not a function
http://www.landungsbruecke.com/wp-content/plugins/contact-form-7/contact-form-7.js
Line 5
Author Comment
Eric Martin May 19th, 2008 at 10:37 am@Hakan – sorry. I’ve been getting a lot of spam lately and it’s not so easy to always figure out what is legit and what isn’t.
@Craig – 1) Hmm…it should work. If it’s still not working, let me know and send me a link, if you can.
2) You can change the opacity on the modal call by adding
overlay: 80. For example, in 1.1.3:3) Edit the smcf.css and change/remove the cursor attribute for #smcf-overlay
@dizi izle – the best place is in the footer.php file, right above the </body> tag:
@Fabian – I just took a look at your site and was able to open and submit a message using the form and did not see any errors…
Its already done. My fault. But thanks for the fast reply.
Nice Plugin – nice support!
i did exactly as you said…it still doesn’t work…
(
Author Comment
Eric Martin May 22nd, 2008 at 9:47 am@video izle – do you have a url I can see…
Great Plugin,
I followed the instruction and it works great.
To video Izle, please remove and follow the intructions closely. It should work
This is by far the coolest plug-in I’ve ever used.
Thanks for putting it out there!
It’s great!
Hi Eric, AWESOME plugin, thanks so much! Question: Any way to get it to work with other plugins that use lightbox? (Specifically, Lightbox-2 from http://stimuli.ca/2008/05/21/lightbox-261-plugin-for-wordpress/ ??) Thanks!!!
I was wondering the same thing, I have lightbox on a few of my pages. Thanks Eric
Author Comment
Eric Martin June 2nd, 2008 at 12:10 pm@Ramsey – I just downloaded the lightbox-2 plugin and got it working w/o any issues. What specifically is the problem that you are having?
Hi,
I installed your plugin on my site, and it all seems to work correctly – yaaa! – but the messages that we receive via email have subject lines full of gibberish. We tried various settings for the subject lines: allowing the user to specify one; the default settings; and having the same subject line of our choice by default, but it always comes through as gibberish like this:
=??B?ZGEgc3ViamVjdA==?W5CbG9vbSBGZWVkYmFja
Any ideas?
Hi,
I am also having the similar problem. The mail reached but contains a garbage subject. I dont understand why.
Can it be corrected?
Regards,
Vivek
My server is an IIS based server and I’ve been having problems even getting regular scripts to send mail. My hosting company told me that I needed to add the line below to get mail to send properly from a mail() script.
ini_set (”sendmail_from”,”webmaster@domain.com”);
I am wondering if you can give me some advice how I can get your code to work with an IIS based server.
Hi Eric,
funny contact form this is and work like a charm.
Just one thingy, Id like to use it for my authors, which means multiple email adresses as well as a title header like
“. $title; _e($curauth->first_name); _e($curauth->last_name); . ”
- doesnt work of course.
Any idea or upgrade in sight?
Cheers,
Os..
Author Comment
Eric Martin July 24th, 2008 at 8:32 am@Sara, @Vivek – sorry for not getting back to you sooner…I sent you both messages.
@Shane – I haven’t run anything on IIS in quite some time, but a quick google search seemed to provide some helpful information. Were you able to get it working?
@Os.. – where is
$curauthcoming from? Anything is possible, really, but you’ll need to customize the script in order to achieve what you are looking for.Hi,
I just installed you plugin for my blog site. but which not showing for me when i click the contact link on top. when i click the contact link which shows another contact link button and it shows ajax contact form.
please support me to work the form when the user click the contact link on top bar itself.
i created the page name as “contact” and added the following code on “Contact” on the page.
Thank you in advance
Sheriff
Author Comment
Eric Martin July 31st, 2008 at 8:12 am@Sheriff – the contact link on the top needs to have the smcf-link class:
Hi,
sorry to reply back. I have sent mail also. It is still causing problem.
Hi Eric, thanks for the plugin, fantastic. If you ever consider using the same simple functionality and look and feel to do a simple modal login and register for WP I’ll be on the beta crew!
Thx very much, will link you from our charity site when we go live.
Rob
Eric,
I’m having the same problem that Fabian above had back in May, with the following error from Firebug:
jQuery("div.wpcf7 > form").ajaxForm is not a functionhttp://..../blog/wp-content/plugins/contact-form-7/contact-form-7.js
Line 5
Looks like he somehow fixed it, but I don’t know how. How do I fix it?
Author Comment
Eric Martin August 16th, 2008 at 6:21 am@Rob – if you can show me an example of what you’re looking for, I can see about creating something like that.
@Josh – it looks like you are using Contact Form 7, not SMCF. However, it looks like you have 3 different copies of jQuery loading…try getting that down to just one and see if that helps.
Eric,
Oops, thanks for the help. I just did a search for the error message, I didn’t even notice I was looking at a different plugin! Sorry about that.
Although I am a software guy, I am not a php/js programmer, so I know just enough to get into trouble. I haven’t customized WP other than to add plugins and use a theme. So I don’t know how it is that I have multiple copies of jQuery loading. Is that because different plugins are probably doing it? Is this just a plugin incompatibility problem? Where would I even look to figure out where 3 different copies of jQuery are coming from?