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 !!!
@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 https://rapnation.lx.ro … PLS HELP !!!
@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 !!!
@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.
@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.
@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’.
@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
complete
function 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: https://www.dempalmada.com/wordpress/quien-esta-al-otro-lado/ by pressing the Contact link.
Can you help me to solve this?
Thanks in advance.
@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!
@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.
@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
@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 (https://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?
@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>
@Spencer –
1) I hope that smcf_url in smcf_javascript isn’t actually empty 😉 It should be:
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
@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.
@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? 🙂
@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…
@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 🙂
@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 !
@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
@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
@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 https://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 = 'https://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];
?>';
@GluCoZe – thanks for the info. I found out that it was an issue with the
parse_url
PHP 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 –
wpurl
is not in the database, but it is a valid WP variable 😉You’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.
@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
@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
@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?
@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!
@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: https://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
@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
https://www.deboldfield.com/
The text is a little light, I believe it is my css, any idea where I can edit this.?
Thanks again.?
@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 (https://starguides.com.br/contato);
It doesn’t work!
I’m sorry, can you take a look for me ?
thanks (:
Oh, is https://starguides.com.br/blog/contato.
sorry ;P
Thanks for the SMCF. Great plugin. More of those please!!!
@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" "https://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
https://www.landungsbruecke.com/wp-content/plugins/contact-form-7/contact-form-7.js
Line 5
@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… :((
@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 https://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
@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..
@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
$curauth
coming 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
@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 function
https://..../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?
@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?
@Eric – I dont know that I have an example. The idea would be that when the user clicks register or login that the pop up form would use the WP code but display it in a simple modal pop up instead of going through to the WP login page. There are AJAX login plug ins, but they appear as sidebars or the like. It would be fantastic to click register and the site dims down and pops a box with the WP register info, same for forgot password or login.
I could mock something up on Photoshop for you in the next few days.
Rob
@Josh – if you use Firefox/Firebug or just view source, you’ll see that jQuery is being loaded 3 times. You’d have to look at your theme header.php file to see, but it looks like it is being loaded twice by your theme and one more time by the contact form.
I’d suggest making sure your theme only loads it once and them having the contact form not load it at all.
@Rob – sounds good. I probably won’t be able to look into it until after this week…but it sounds like a fun idea!
Thanks Eric. I’ll figure it out.
I look forward to helping you test it 🙂 I really need to learn to develop and write code. It looks like such good fun! Hacking other peoples scripts to pieces just isn;t that gratifying! 🙂
I’m also trying to solve the problem of subscribers changing their passwords WITHOUT having to see the back end dashboard! Those WP passwords just ain’t that memorable!
Hi,
ajax does not display ie5
@Mansur – IE5 is not a supported browser…
Hi
Excellent work. I have installed your plugin and everything works. However, like others, the email I receive has a bizarre subject. Example: “=??B?bXkgc3Vi?=”
Any idea what is up?
Thanks!
@Joyde – I need to update the plugin to prevent that. In the meantime, you can open smcf_data.php and comment out the following line:
The problem is that your instance of PHP does not have mb_encode_mimeheader enabled. So having that enabled would be another way to fix the issue.
Hey Eric. I’m having an issue again and I’m not sure what the deal is. I’ve tried everything I can think of from including the simplemodal jquery plugin as a standalone (apart from the SMCF plugin) to disabling an enabling in endless combinations. I’m not sure if SMCF is in conflict with the other jQuery stuff I’m doing or what. But the form will not pop open.
If you have a minute and are willing, I would deeply appreciate any thoughts you might have: https://joel.thegoodmanblog.com – thanks for the endless support you seem to give on this plugin 🙂
@Joel – hello! Good to hear from you. I checked out your site – the new design is really nice, congratulations!
As for the SMCF problems – I’m getting 2 JS errors when I load your site, which are probably what is causing SMCF to not work.
It looks like the error is being caused by the api_key setting in the jquery.flickr file. Try quoting the api_key value and see if that helps.
thanks Eric… that fixed the problem!
Brilliant. Thanks so much. I wouldn’t have caught that… some third-party scripts you know 😉
Thanks for the quality and compliments!
hi. Thanks for plugin
perfect.
Regards
Hi Mr. Eric
I take your plugin and translate to Turkish for more people can use this good job but i don’t use it.
I use 2 way too. Function and smfc link but i saw to 404 Page. Dırırın… Not Found…
Why?
İf you want another information i can give it and i take to you my translation when i’m start to use it because Turkish people come to me when they have a problem but i won’t be use.
İt will be laught… :))
İf you can send my mail your answer will be more good. I will be waiting…
Thanks Again
@immortalance – I need to localize SMCF and once I’ve done that, I’d love to have a Turkish translation.
As for SMCF not working on your site…I don’t see any of the SMCF files being loaded. Please make sure you’ve activated the plugin, and gone through the Settings. You also need to make sure that your theme uses the wp_head() and wp_footer functions.
hi Eric, i have installed SMCF in my blog. it is ok in Firefox and Opera but it does not work in Internet Explorer, could you help me with this bug.. thxx…
my blog; http://www.birkalem.com
@Birkalem – it looks like the issue might be because you have multiple version of jQuery loading. Can you prevent the older version from loading? It looks like it is coming from your theme.
I’d suggest upgrading jQuery in your theme and then disabling the version that SMCF loads (in the SMCF settings).
hi i got wat u mean bu i dont know how 2 do it, could u get in touch with me via msn messenger info@ogrencisleri.com
ok Eric, i think i made it work 🙂 thx anyway,great plugin !!!
Hi there. One quick question: does your plugin work with SMTP? mail() is not available for everyone, you know. 🙂
Thank you.
@Birkalem – Glad you got it working.
@Dirtchamber – At this time, it requires mail(). If the demand is great enough, I will consider adding SMTP support.
hi eric, how can i combine all javascript http requests on my website in a one request on php?
@Birkalem – are you asking about just the SMCF files, or every JS file on your site?
This post may provide some insight:
https://forum.mootools.net/viewtopic.php?id=9386#post-45183
i have tried that method, but SMCF does not work when i try to combine simplemodal.js and smcf.js with jquery.js in my theme in a single PHP file. r there any suggestion for that?
@Birkalem – as long as they are in the correct order, it should work…
1) jquery.js
2) jquery.simplemodal.js
3) smcf.js
Eric, I’d like to make the changes in the code to have the modal box close by itself after the email is sent, but the most recent release of your plugin doesn’t include a file named smcf_javascript.php , where you point out the changes to be made in comments from last February and March. I’ve also looked for that function in other files; have you changed the file names? Where can I add the code to have the modal box self close? Thanks – Mark
Eric, I’m getting this error that FireBug is showing:
jQuery(“div.wpcf7 > form”).ajaxForm is not a function
https://smbwebguru.com/wp-content/plugins/contact-form-7/contact-form-7.js
Line 5
I’m assuming that something may be conflicting with my theme since it is JQuery too. I have updated and I’m using latest version of plugin. Can you help? I see someone else had this problem above, but it didn’t require an answer because they figured it out on their own. Thanks…
@songdogtech – that file is now js/smcf.js. Let me know if you can’t get it working.
@Andy – any relation to Kirby 😉 Anyway, you are asking about Contact Form 7, which was written by someone else. I looked at your site and didn’t see the error, so I’m guessing you got it resolved.
There’s no “complete” function in smcf.js; I’m guessing it’s now either “close” or “success” in the newer version. I don’t know javascript well enough to splice things together! If you could point out where to add the complete function or how to modify the newer functions for automatically closing the dialog box after the email is sent, I’d appreciate it. – Mark
@songdogtech – you are correct, it is now the
success
function.Something like the following should work:
Eric, That new “success” function doesn’t want to self-close…and I don’t know enough Javascript to figure it out. If you want to take a stab at it, I’d appreciate it. Thanks, Mark
Eric, My bad – that new success function does work OK. I needed to dump caches or something, but it works now! Thanks, Mark
Hi there,
I’m having a little problem understanding some. On settings page it asks for a contact link url – I thought this was meant to be a link to another page if the person didn’t have javascript and couldn’t use the pop-up. I created a page and put the code:
on it but I just get another link to the javascript popup.
Am I misunderstanding part of what the plugin does? Is it only a pop-up?
@songdogtech – glad you got it working.
@Hazel – SMCF is only the Ajax modal/popup dialog. The contact link URL is there for the purpose you mentioned, but SMCF does not have the feature of creating a non-JavaScript contact form. This is something that I’m considering adding in a future version.
Thanks for explaining. I think it would be valuable in a future release.
Great plugin mate. Only one thing.. at https://malenami.com -> left sidebar & “Contact”. All works great, but theres this white line between the header and the first input line, which I cant get rid of. Dunno if theres some conflict between my WP-theme & the SMCF..
@malenami – it is being caused by
h1, body .entry .title
style in your theme. To override it, addborder:0;
to#smcf-container h1
style in smcf.css. You should end up with:Thanks Eric.. its works just great now.
Hi Eric,
The Contact Form that you have presented in your Demo is not working on my Local Machine and on my Server. Note: My Website is not powered by Word Press. So i mean do your scripts only work with Word Press, because i really like the contact form that you have presented in the Demo and i would like to integrate it in my Website. So please help me with this.
Please Eric,
I really want to integrate your Contact Form (Demo) in my website. I would appreciate if you can help me with this issue. I mean i have downloaded your Contact From, but it is not working on my local machine and on my server. When i click on the Demo Button in the Index.html file, nothing is happening. It is like the demo button is not working at all as nothing is happening when i click on the demo button in the Index.html
Please i need your help. Regards.
Thank you for your help Eric. I changed some code and now the contact form is working perfectly on my website. Thank you once again.
We had so much problems with Contact 7, the other guys, that’s why we switched to you, thanks, the form looks great.
Mike
Hello Eric, I was wondering if you could help me out? I have recently installed your (smcf) and for some reason it did not populate my pages with the necessary code. I proceeded to pick through other sites to see what my site was missing to make your script work and did so with the exception of my mail being sent. With further research I realized that my form should have received a personal token value, the one that is there now is the one that came with the form I took of someone’s page. I guess my question to you is how do I get my own or can I just get rid of the token code all together??? My URL… http://www.modintl.com
@martin – just checked your site – it looks like you got it working. Looks good…I like the way you implemented the form!
Hey Eric,
Thank you for the complements on my form and my hat’s off to you for this great script. My apologies in bothering you again but the problem I am having is the fact that I don’t get any emails. When I try and send an email the message given back to me is “unfortunately your message could not be verified”. What I feel may be the problem is the token code belongs to someone else, the plug in did not generate me one so I picked at other peoples scripts to get to where I am at now. I was wondering how can I get my own token value or is it possible to just get rid of the token code? Again thank you for all your help.
@martin – were you able to get it working? The token code is generated based on values from your site, so that should not be the problem. You *could* remove the token, but I suggest leaving it.
I’m having trouble getting the contact form to work properly. It shows up and everything, but neither the closing “X” nor the “cancel” button work or work properly. If you have time, have a look at my page and click on ‘Contact Us!’ on the right to open the contact form. I’m not sure how to fix it, if you have any suggestions. Thanks.
@Dave – I took a look at your page, and it looks like the error is coming from the sikbox js file. The error doesn’t seem to happen until the modal dialog opens.
The problem is with this code:
The
$
needs to bejQuery
.Eric, whatever you did in the new version, you made the animation work in the Collapsing Categories plug in I’ve been trying. Thanks!
https://blog.robfelty.com/plugins/collapsing-categories/
@Matt – interesting…so, the Collapsing Categories plugin was not working and then you upgraded SMCF and now the Collapsing Categories plugin works?
Were you getting any JavaScript errors? I’ll have to try it out and see if I can reproduce the problem…
It was a javascript error, but that’s way out of my depth, so I’m afraid I couldn’t be much more help. The other plugin worked with the animation turned off, but when I turned it on worked at all.
I don’t use any js files for the sikbox search form. It pulls from the Sikbox site. Am I not able to use both the Sikbox and SMCF?
@Dave – I’ve contacted Sikbox and asked them to fix their JS file. Until it is fixed, you can edit your theme and add the following, right before
</head>
:Hello,
I have a problem with this fantastic plugin, hope you can help me to solve it.
When I try to send a message, the following error appears: “500: internal server error”.
I’ve already had problems with ajax powered plugins, but I never found a solution.
I followed all your instruction, my server is Linux. PHP version 5.2.8
You can see the error entering my website, click on “contattaci” and trying to send an email.
Thanks a lot!
Marco
@Marco – With an error like that, you’d really need to look into your webserver logs to see what the problem is.
Hey Eric – Great plug-in! It works when When I post the link anywhere on my blog, but I’m trying to set it up just like yours (Instead of an actual “contact page” it just opens the form). I am new to wordpress and I have 2.7 installed. I also have a custom theme installed as well. I tried doing it through the header.php file like you had posted earlier but it doesn’t get formatted with the other “Nav” links. I really don’t wanna build a custom nav just to make this work, is there a way to do this from the dashboard?
lol, nevermind I got it. Silly.
Hey Eric,
This is an amazing plug in! Thanks so much for all the work you did. I am using it on our test site and it is working, except that I do not receive the email. It said it sent successfully, I just dont receive anything. I did a bit of researching and it may be caused by an anti spam system that was just installed by our hosting company. They gave us two work arounds. I wanted to see I could use these in the code somewhere, and if so where and how would I do it. Any help you could give would be SO APPRECIATED!
Work around from host company was to add this (where I have no idea):
ini_set(’sendmail_from’, ‘user@domain.com’);
I found a guy who wrote a work around for this specific host company and a similar php mail problem. Again, not sure where I would add this code:
sorry… the last part of the code didnt paste… trying again:
<?php
add_action('phpmailer_init','ixw_phpmailer_init');
function ixw_phpmailer_init($php_mailer){
ini_set('sendmail_from', 'user@domain.com');
}
?>
@Jay – glad you got it working!
@Dave – Try putting it in scmf_data.php, right after:
require_once("../../../wp-config.php");
Let me know if that does not work!
Hi Eric,
Thanks for plugin but i have an error, the mail wasnt send.. How can i solve? I edit my header.php with the codes.
(Hmm don’t think my post went thru)
Eric, you are a star.. I don’t know how you have the patience to help so many people. I hope many donate or you make money somehow from this because you certainly deserve it!
I had a crude version of modalbox (or facebox rather) working on my site but it didn’t validate data so I thought I would give yours a go. I am getting the server error response even though I know mail() is installed and working on the server. Any ideas?
https://www.ryanbrennansmith.com – click ‘contact’ on the signpost.
Best regards..
@Ryan – sorry, your comments were flagged as spam. I appreciate your kind words 😉
I just checked your site and it appeared to work…so let me know if you’re still having any problems.
Hmm it does in fact work now, perhaps it just needed a little time to kick in or something? Much appreciated!
I am running WP 2.7 and I installed your plugin.
I added a link to one of my posts and when I click the contact form appears. I enter in the info. and click “Send” and I get the error:
“Uh oh…
404: Not Found”
I have the following settings for the plugin (via WordPress):
Contact Link URL: /contact
Do I need to have some page (i.e contact.php) available somewhere? if so I haven’t created one. If I do need it where does it go??
thanks.
great plugin … my favourite contact page ever!!
i came to try and find out how to add it to the pages menu. the code you provided in the comments worked perfectly.
love it!! thanks for your hard work.
cheers
david
@Ryan – who knows, but I’m glad it is working now 😉
@codecraig – that’s a strange one. It looks like it would work without the /dsc at the beginning of the URL, but that is where everything else is coming from. I’d have to know more about how you have WP setup…
@david – thank you!
I have a main domain (codecraig.com) and digitalchickenscratch points to a directory there, specifically, codecraig.com/dcs. WP is installed in the “dcs” directory.
Hi Eric! You plugin works on my blog, Drobon.com, nicely. But after configuring the permalink it do not works any more and shows 404 error. Would you tell me how to solve this problem.
@codecraig – that is really strange. I can’t understand why it would load the JS and CSS fine, but then have an issue trying to reach the php page. You’re sure all of the files are in the correct folder?
@Tanim – It looks like the JS is not working. I was getting a JS error on your site, which probably is what is causing it.
Hi, I’m having problems using scriptaculous and this library… I can get working only one of the functionalities (feature using scriptaculous or the form using this library).
I am able to run the functionality which uses the library that has been included the last.
Thanks.
AWESOME PLUGIN! Works like a charm. You da man!
@eric – I uploaded the plugin to the wp-plugins folder, was there something else?
@david – the SMCF JavaScript shouldn’t be causing any issues, perhaps it is being caused by something else? Do you have a link I can view?
@JJ Honeycutt – thank you 🙂
@codecraig – so, I finally realized what is going on. It looks like files from codecraig.com are being pulled fine, but anything from digitalchickenscratch.com is not. It sounds like a configuration issue and unless I can see how you have everything configured, I’m not sure what to tell you. If you’d like to send me some more information via email, perhaps I can help figure out the issue.
First, let me say that I love your plug in and can’t wait to use it. I am using WP2.7 and can’t figure out how to add the class
<a href="/contact" class="smcf-link">Contact</a>
to the menu with a theme that uses the wp_page_menu to create menus.Can you help?
Must be b/c of the domain pointer. Basically digitalchickenscratch points to codecraig.com/dcs (which is where WordPress is installed).
Not sure what to do to fix the plugin or wordpress to handle that
@rgregory – I need to look into that. Thanks for the reminder…
@codegraig – can we continue this off of the comments, please. Send me an email with the settings you have for WordPress (WordPress URL and Blog URL).
Thanks for looking into it! I have done a fair share of research to try and solve it. Enough to know that no one has published a workable solution and the old way of doing it doesn’t work.
I found a similar solution where someone was using jQuery to add a class dynamically to a link, but I wasn’t able to change the code to suit this. My java abilities are nil. I think it would be a simple and elegant solution if you were already using jQuery.
I also found a plug-in page-lists-plus that allows the adding of classes to wp_list_pages, which worked when I changed the code to use the older call up. But this is a clunky solution that requires another plugin and some code hacking. (of course if you were going to change the code, you could get the link class there without the plugin)
Just thought I would throw this out there, not sure if it’s helpful or not.
I have downloaded your SMCF plugin for wordpress and it’s great, but for some reason safari doesn’t even recognize the link. What can I do?
@Eric sorry I don’t have any link on the problem, but I have stopped using scriptaculous to enjoy your plugin. Thanks.
@rgregory – sorry for the delay. I’ll need to work something into the actual plugin, but I came up with a temporary solution. In either the SMCF plugin file or your theme’s functions.php file, add the following:
Just change $menu_title to whatever the title is for your contact page. Let me know if you have any issues.
@Scott Greskovic – do other browser have the issue? What version of Safari? Do you have a link I can view?
@david – well, glad you got it working 😉
Hi, Eric. I’ve recently run into a problem, and I hope you can help. If I enable Include “Send me a copy” Option, and the user activates that option in the SMCF, messages will not send. Instead SMCF returns the error “Unfortunately, a server issue prevented delivery of your message.”
However, as long as the sender CC option isn’t used, the form submits correctly.
You can see it yourself at https://iampariah.com Use the e-mail link in the left sidebar under “Quick Connect.”
Any help would be greatly appreciated. Thank you.
Hi there – okay, you’re dealing with a cyber-dork here, so once you’ve finished rolling around on the floor at my ignorance….
Installed and activated plugin. Great! Went to config and did that. Greater! My noggin said “go make contact page”. Did that….
So now what? Went to the WP site and guess what, nothing obvious re installation etc. Ideally I would have liked a little drop down widget-type thingy, but all of them say “not tested on your version” (2.7) so I’m avoiding those. What do I have to do to make the actual form materialise out of the ether and land on the nice little page I made for it??
I know this is probably soooooo simple, and I apologise in advance – being severely cyber-challenged, most “techi-speak” goes over the top of my head, so keep it sweet and simple, please please…
Many thanks
Jude
My blog was running under a number of subdirectories after the domain, I tried this and got 404 error.
<a href="/contact" rel="nofollow">Contact</a>
Used this and it works fine. 🙂
<a href="contact" rel="nofollow">Contact</a>
Maybe it helps someone with 404 error.
As far as I know, no other browsers are experiencing the issue and I have the most recent version of safari. You can give it a look at https://sweetbreadstudios.com/blog. On the right there is a link that says join the mailing list. Thanks
@Pariah Burke – that is strange. Have you modified the php files any?
@Judah Raine – currently SMCF only creates the animated modal contact form that you can see on this page – it does not embed a form into an existing page.
@Trav – hmm…neither of those should work. SMCF is looking for a specific class to bind the click event to.
@Scott Greskovic – That is really strange. Unfortunately, I can’t reproduce the error and Safari doesn’t have the developer tools I need to troubleshoot the issue.
@Eric Nope. No modifications to SMCF at all. Any thoughts on the problem, anything I can try by way of troubleshooting?
@Pariah Burke – in smcf_data.php, you can remove the @ in front of @mail(…) and the actual error message should be displayed. You could also check your web server logs to see if there is any information in there.
Hi sir. Thanks for this great plugin!
I just want to ask a question about the error in my form. I successfully installed your plugin into my wordpress theme and it went good but there seems to be a problem, when it submits the message the error was this message:
Strict Standards: Assigning the return value of new by reference is deprecated in /mnt/Target01/334531/www.siteupdateservice.com/web/content/wp-settings.php on line 520
You can check at this site: https://siteupdateservice.com
Thanks Eric
Eric, I just got it working, thanks! As a suggestion, how about an option to include in the subject (or just as the subject) something like “A message has been sent from your SMCF” or even let us choose the subject. I have a lot of email running through my inbox, this would help a great deal.
Keep up the good work! Thanks for being so responsive.
@Archi – that is strange – shouldn’t have anything to do with SMCF. Looks like you may just need to turn off PHP error reporting.
@rgregory – there’s an option on the configuration page to set the Subject – is that what you mean?
Hey Eric, Thanks for the great work you have done here. I do have a question however. I installed SMCF on the website im currently working on successfully. But what I was looking to do with the form was to succesfully add an Image (something printable) and download link to the final success screen of SMCF. I played around a bit with the javascript success() function and tried to append the HTML that way but this one is over my head because i really dont know enough about javascript to effectively implement this. Is there any way you could help with this!
Thanks for the nice plugin.
Just wanted to know how to make the subject field a compulsory field just like email and message field.
I get 404 error page when I’m trying to access contact form…I’ve done all at well…
How do I turn off the error reporting?? Thanks.
can somebody help me?
@Verious Smith III – sure, send me an email with the specifics.
@Ashish Jha – by compulsory, do you mean required? You’ll just have to modify the HTML to add the * and the JS validation to make sure it is entered.
@Sergiu – please email me with more information like your site URL and any other info you have.
@Archi – error reporting for what? All of the errors in SMCF are suppressed.
Does this currently support multiple forms? IE: If I have a request a quote feature on my site yet each quote request form is different?
Hi!
How can i add the class to a link. I realy dont know and would like to know. I added a link call Contact Us and i dont know hoy to add a class to this link.
Thank you for this great plugin!
I made a translation, but I’m not sure where to put translated .mo file, and what name should it have… help 🙂
Sorry … can’t find a js/smcf_javascript.php file, is that now smcf.js? However i couldn’t find a “complete: function” in there.
I want the box to auto-close after confirming that the message was sent, also i want to remove the “goodbye” message (avoid suggesting user has to leave site after sending a message …)
Would you mind pointing out the exact location and code-to-be replaced once more? thanks
@mikeD – for something like that, I’d suggest a custom solution using SimpleModal. In that case it would be much easier to do as you want.
@mg – not sure if I understand exactly what you are asking. In order for SMCF to work, it needs to attach to an element with a class of “smcf-link”. That means, something like:
<a href="/contact" class="smcf-link"/>Contact</a>
@Victor – it just needs to go in the lang folder and should be named according to the following:
– smcf-
– ISO 639 language code (lowercase)
– an underscore
– ISO 3166-1 alpha-2 country code (uppercase)
– .mo
So for an Italian translation, the file name would be smcf-it_IT.mo
@Mike – yes, the file was renamed to smcf and the function is now success:. If you want it to auto-close after a short interval without the Goodbye message, you’ll need to do the following:
– Modify the code as described in a previous comment.
– In the close: function callback, comment out the following line:
Very nice plugin. I have localized it for the Danes.
In the “var smcf_messages” section, you have ‘is’, ‘are’ and ‘required’. This is unfortunate, as not all languages conjugate verbs in the same way. For example, in Danish the required verb form is one single word, not “is required” or “are required”. Of course, if ‘is’ and ‘are’ are only used with the word ‘required’, then it might be easy to fix this problem. If ‘is’ and
‘are’ are used as auxiliaries with other main verb forms (but I did not notice that in the po file), then there might be a little more work.
Anyway, thank you for a fine plugin and for considering this issue!
The translation will soon be avaible via the following url: https://wordpress.blogos.dk/tag/simplemodal-contact-form-smcf
All the best!
Eric,
Great Plugin and I did get it working (didnt test email) using the sidebar. I am confused (as a new wordpress user) on how I can add the link without putting it in the sidebar? I really didn’t understand what you mean when you refer to “contact link?”
What’s the best way, if I can to use your great plugin to simply add a link into my blogrole or something?
Eric, can’t leave it but once again say thank you, also for your responsiveness to all our noob questions. You rock!
Works like karma, thank you… one question: Can I send the message to various emails instead of one? I am not talking about carbon-copy option… For example, one of my jobs is webmaster of a model site, when someone wants to book her for a photo shooting I want also know it to reclame my $$$ percentage 🙂 Thank you!
Another thing… It seems not to be working with Hotmail accounts. Any one knows something about this? Thank you
Hi Eric, Help me please.
I love this plugin but i have a big problem. When i click on contact, the window contact goes under my flash viewer. Can you have a look in my website please ?
Thank you.
Nice plugin!
@anto you may want to give the id a higher z-index and make sure your wmode in the flash is set to “transparent”.
I love the plugin, but whenever I use it in the contact field like specified it works whenever it comes up, but for some reason whenever I click for it to be sent it says its been sent but I never receive the e-mail whenever I do a test to myself or to another e-mail address that I try. I don’t even receive the send a copy to me. Please let me know what I’m doing wrong.
@ The Frosty @WPCult
THANK YOU 🙂
Hi Eric, Quick question: how would I disable jquery loading with this plugin? I found in my page source that jquery is loading twice – once for Lightbox in the header and again in the footer for SMCF – but Lightbox won’t use the jquery that SMCF loads. And there is no longer an admin option to load/not load jquery. Thanks, Mark
I am excited to use this plugin. I downloaded it to the wp-content/plugins directory but it does not appear in the admin panel so that I can activate it. Any advice? Thank you!
Scratch that. I was trying to do it manually without success. I tried the plugin installer and it worked. Thanks.
Hello Eric,
you must be tired of answering support questions! 😉
thanks for this great plugin anyhow, it’s the contact form i’ve been waiting for.
however i can’t figure out how to get it working on my website, and I usually manage myself, but i’m lost here. I tried it on 2 websites, but couldn’t figure it out.
i’m a wordpress+sidebar user, I have in my sidebar showing up fine, but when I click on “contact” nothing. I have the js loading fine in the document’s head as far as I can tell, footer is in my template…
i don’t get it. I’m going to leave it as is, in case you check this out, for 5 days, after that I’m going to have to put a contact form, as I’m freelance and I still need people to… contact me 🙂
thanks in advance if you get a chance to check it out, otherwise great plugin anyhow and good luck with what’s next.
Dose anybody know if you can use this wordpress comments?
@Georg – I thought about the is/are issue, but wasn’t sure what kind of issues it would cause. The only use of it in SMCF is “x, x and x are required” or “x is required”. Will that work? Thanks for your translation!
@mike – there are 3 different ways to use SMCF. 1) edit your template file (could be any number of different files – just depends on where you want the link) and add a contact link, making sure to use class=”smcf-link”. 2) use the built-in smcf() function in one of your files to add the link. 3) if you use one of the WordPress functions to automatically generate your menus and it includes a contact item, SMCF should be able to add the necessary info as long as the Link Title matches in the SMCF settings.
@Lobo Wolf – just edit the script to include you as one of the recipients, perhaps as a bcc. As for Hotmail, you mean it won’t send to Hotmail accounts? Check the “spam” folder – there is nothing about the script that would prevent it from sending there.
@anto – You need to edit your flash objects to use the wmode attribute. See the second comment here:
https://www.ericmmartin.com/projects/simplemodal/#comment-5009
@The Frosty @WPCult – thanks…the wmode attribute will fix it, like you mentioned.
@Chip Simpson – sounds like a server issue. Do you get any errors back if you remove the @ from the @mail function in smcf_data.php?
@songdogtech – that means that the other plugin is not using the correct methods to load jQuery 😉 You can have them fix it or edit smcf.php and 1) comment out wp_enqueue_script(“jquery”);, 2) change the following 2 lines:
To:
@lynne – glad you got it working!
@laurent – I don’t get tired of answering questions…I’m just not always the best at keeping up 😉 I just looked at your site and it does not appear to be loading SMCF at all. Can you please confirm that the plugin is installed and enabled? Nice site, btw – your work looks very interesting!
@Ben – Can you expand? Not sure I understand your question.
Hi Eric Super Sweet form , was trying to use it on my blogger blog but cant seems to make it work ” Contact Me ”
Maybe im doing it all around i tried to host all ur files and folders on my hosting account and link them to
Help or a tip would be grateful even if i cant use this on blogger very nice job .
Hi, nice for the nice plugin.
I’m impressed there’s no spanish translation so i made one :P.
If you want to add it you can find it here: https://index.moskis.net/
I get no errors at all. It says that the e-mail was sent successful with no issues.
Hi Eric,
I am looking to use your form on my blog. I am currently using contact form 7. however, my biggest problem with that is the lack of a confirmation page for when an email is sent successfully. it prints an an arcane url like:
http://www.mysite.com/contact-me/wpcf7-xxx-xx
I will liek something clean like http://www.mysite.com/contact/thank_you.
how does your handle this? does it output a separate url for each of the possible messages?
Thanks …
You could also check your web server logs to see if there is any information in there.
Hello Eric,
I have been trying to make this plugin work for me and have had no success. Would you mind taking a look at my site below and seeing if there is anything that looks wrong.
Thanks, I appreciate the help.
https://moourl.com/xgbnl
Great plugin that I’ll definitely earmark for future sites. Unfortunately I have a flash banner that obscures the form horribly.
Thanks for sharing.
Thank you for the great job!
There is my Russian translation for Simple Modal Contact Form v.1.2.3.
Forgot!
There is a page about installing and using of Simple Modal Contact Form for Russian speaking users.
Thank you so much for this plugin. It’s fantastic and easy to use, great for my clients!
Hi Eric
Ajay from india
Cant get this working, trying since two hours and read the comments also, i can’t believe im this dumb
This is what i did
1) installed the plugin and activated it
2) it tried to put the below code in lot of places, header.php, sidebar.php and where not. The paths are good, js and everything in plugins/smcf/ folder
Code:
<a href=”/contact” title=”Contact” rel=”nofollow”>Contact</a>
Really frustrated please help
I’m getting the “Unfortunately, a server issue prevented delivery of your message” error message when I hit the “send” button.
Added the near the bottom of my footer, and that got the visuals to pop up … now I’m trying to figure out why it won’t send. You say that PHP mail() is a requirement. Is this loaded by default with WordPress?
This has GOT to be the coolest form out there.
Thanks for all your work.
Got it working Eric!
Awesome job!
Hello Eric, thanks for a great plugin! Is it possible to insert for in sidebar instaed of just having a link and then form popping up?
Thanks!
How would one tweak this to allow the user to select a recipient, out of a list of several?
Great plugin, got it working no problem, many thanks.
I’m getting the “server issue” error just when trying to send from a Hotmail, Gmail, Msn address. With other domain email addresses, there’s no problem. Any tip? TIA!
Pani.
@Jose & @Nikolaj – thanks for the translations!
@Victor – have you tried the demo? The messages are all “inline”.
@Marc – that can easily be solved by setting the wmode property on the embedding code.
@Ajay – if the link does not have the smcf-link class, it will not work.
@Elena – currently a “pop-up” is the only option. I will be adding an option to embed the form in a page in a future release.
@trumpetmic – you’d have to edit the files to include the drop down and then do some more editing them to handle the selected recipient.
@Pani – sounds like a server or SMTP configuration issue – not anything that has to do with SMCF itself.