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)
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.