Zero Conf Mail

It took me quite some time to check a few existing contact forms and I didn' t like any of them. No, I don't want you to load jquery on every page of my blog. I want it localized, pretty please. Oh, and I want this JavaScript onfocus/onblur effect I wrote about. And why do I have to do any configuration at all anyway?

Update: The plugin now has a simply but hopefully very effective protection against automated spam bots.

Install, add [zcmail] on some page or post, done.

Shortcode demo, please don't send me test mails:

{zcmail}

Downloads at WordPress.org.

Since 0.3.1 the plugin includes a CSS file that is included by default. If you want to modify the CSS styles please have a look at:

WordPress plugin demos are disabled as I don't use WordPress on this site any more.

Published on Oct. 11, 2009 at 1:43 p.m. by Nicolas and tagged easy, mail form, simple, WordPress, WordPress plugin, zero conf mail. You can follow the discussion with the comment feed for this post. Feeling generous? Donate!

136 comments

  1. avatar
    wrote this comment on

    Hi Nicolas,

    I just want thank you for developing and sharing this with all.

    Wishing you the best!
    Joe Coon

    Reply to this comment
  2. avatar
    wrote this comment on

    Hey,

    it produces a fatal error, when I try to activate it:

    Parse error: syntax error, unexpected T_ARRAY, expecting '&' or T_VARIABLE or T_CONST in wp-content/plugins/zero-conf-mail/inc/page.php on line 149

    Reply to this comment
    1. avatar
      wrote this comment on

      Thanks for your report! Which plugin and PHP version do you use? Does the error happen with a version > 0.1.4?

      Reply to this comment
  3. avatar
    wrote this comment on

    Hi, I just grabbed this to try it out, and ran into a similar syntax error. From experience, the first thing I did was look for short open tags - i.e. "<?" instead of "<?php" - and found 4: 3 in page.php (lines 145, 148 and 199) and 1 in admin.php (line 354).

    With those fixed, the plugin seems to work.

    Reply to this comment
    1. avatar
      wrote this comment on

      Thanks a lot Kelson! I have fixed that and made a new release.

      Reply to this comment
  4. avatar
    wrote this comment on

    After upgrading to 0.1.7, the form no longer displays properly.

    Instead of having one text field per line, the textfields "Your name" and "Your email" now show side by side.

    How can I fix this?

    Reply to this comment
    1. avatar
      wrote this comment on

      This is a CSS issue, the plugin doesn't generate any <br> or similar. Something like #zcmail input { display: block; } should fix it.

      Reply to this comment
      1. avatar
        wrote this comment on

        I pasted my CSS for the form above on this page. Try to add this to your style.css

        Reply to this comment
  5. avatar
    wrote this comment on

    Today I accidentally released the development version as stable. The 0.1.9 release fixes this, I hope not too many people installed a broken version.

    Reply to this comment
  6. avatar
    wrote this comment on

    Thank you, all is well!

    Reply to this comment
  7. avatar
    wrote this comment on

    hallo,

    sehr schönes plugin. ich benutze es auf meiner seite. habe aber leider ein problem mit der formatierung. die felder werden irgendwie seltsam angeordnet. vielleicht kannst du ja mal einen tipp geben...?

    danke und gruß

    henning

    Reply to this comment
  8. avatar
    wrote this comment on

    hallo,

    habe das problem schon selbst über die style.css gelöst...:-)

    Reply to this comment
    1. avatar
      wrote this comment on

      Wunderbar! Das Problem scheint öfter aufgetreten zu sein, deshalb gibt es seit 0.3.1 eine Stylesheet-Datei im plugin.

      Reply to this comment
  9. avatar
    wrote this comment on

    Instead of having one text field per line, the textfields “Your name” and “Your email” now show side by side.

    How can I fix this?

    Reply to this comment
    1. avatar
      wrote this comment on

      I have made new release, 0.3.1. It includes a CSS file that will be included by default, I think this should fix almost all layout problems.
      For existing users, you may want to deactivate this feature if you have already styled the form in your template.

      Reply to this comment
    2. avatar
      wrote this comment on

      Hi costas, the fields have to by styled though CSS. See the example on this page, you can add it to your template's style.css.
      I guess I'll have to think about a solution, maybe include a good default stylesheet that I include with the plugin.

      Reply to this comment
  10. avatar
    wrote this comment on

    Hi Nicolas,
    i've just upgraded zcmail to 0.3.2 and i have to say that the translation program "poEdit" has some problems with your .POT file.
    it says that a lot of the lines are "missing `msgstr' section". can you fix the file? i need it to translate the plugin to hebrew.
    thanks, asaf

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Asaf, thank you for the translation! I don't think you're supposed to edit the .pot file, you should edit zero-conf-mail-he_IL.po. I have already included it in the plugin's translations folder.
      The .pot is just a template that's used to generate .po files if I understand correctly.

      Reply to this comment
  11. avatar
    wrote this comment on

    I love the plugin. I like how customizable the styling is. But the last few times you've posted updates the new styles override what I set in style.css so I have to go in and edit your css file rather than the main css file. Not a huge problem but it makes me not want to install updates.

    Thanks again for the great contact form.

    Reply to this comment
    1. avatar
      wrote this comment on

      Micah, just disable the CSS file in the customization options. That setting will be preserved across plugin upgrades. I made the decision to include it by default so that the plugin works out of the box for as many people as possible.

      Thanks for understanding!

      Reply to this comment
  12. avatar
    wrote this comment on

    This looks great, and so many people seem to have been really pleased with this plug in, that I kind of think I must be doing something wrong.

    I think I missed something...

    I've installed it, and added the shortcode... I can see it on the page...

    how does it know what email to send to?

    and when I use it I am getting an error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@youngblood.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.41 Server at youngblood.co.uk Port 80

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Tim,

      the plugin sends the mails to the admin who installs the plugin, usually the blog owner. It uses the address he is registered with.

      Do you have access to your server's error log? I have no idea what's going on. If I understand you correctly the error happens when you try to send mails? Or before?

      Unfortunately your webserver looks like it isn't configured properly. And it is ancient and not really supported any more. However, if you find your log I'll look into it.

      Reply to this comment
  13. avatar
    wrote this comment on

    Hi.
    How I can delete a field that I have added by mistake?

    Reply to this comment
    1. avatar
      wrote this comment on

      Actually, try <a href="http://downloads.wordpress.org/plugin/zero-conf-mail.0.4.0.1.zip" rel="nofollow">this version</a>. It includes a delete fields option. It's uploaded but might take some time until it's published at wp.org.

      Reply to this comment
    2. avatar
      wrote this comment on

      Hi diego,

      unfortunately you can't - yet! This will be added in one of the next releases. All you can do atm is to reset the form, sorry.

      The problem is that the plugin would stop working if certain fields get deleted, and I haven't worked around that yet.

      Reply to this comment
  14. avatar
    wrote this comment on

    i get the following error using the script..
    Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in \wp\wp-content\plugins\zero-conf-mail\inc\page.php on line 106

    Any Ideas, I like what you have done just found your blog going to look it over..

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Ray, you server isn't configured properly. Unfortunately there's nothing I can do about that, please check your php.ini.

      Reply to this comment
  15. avatar
    wrote this comment on

    i checked the php.ini and it has the correct ports 25 set.

    Has anyone else had this issue?

    Reply to this comment
    1. avatar
      wrote this comment on

      Could you try to add something as described <a href="http://drupal.org/node/341969" rel="nofollow">here</a> to the zcmail_sendmail() function in inc/page.php?
      Please inform me if adding the correct values fixes your issues, I will add a config option then. (or bug your hoster, sending mails via PHP should just work).

      Reply to this comment
  16. avatar
    wrote this comment on

    I have added your plugin succesfully. I have 1 question, is it possible to give a link in the mail from wich post the mail was sent?

    Reply to this comment
    1. avatar
      wrote this comment on

      Good idea, will implement this soon.

      Reply to this comment
  17. avatar
    wrote this comment on

    Hi Nicolas,

    thank you for the plugin. Nice, clean and simple.

    Is that possible that you would add this feature? In case required field/s was not filled could you display what field it was?

    Right now if I do NOT fill anything just click send message the email is sent. I did not change mandatory settings for any fields.

    I was testing the form and it said "Temporarily closed". It would be nice to tell users why.

    Thank you,

    Radek

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Radek, giving information about which fields have to be completed is somewhere on my todo list but really low priority.

      If you click send message withoug changing the values no mail should be sent. It works this way on my blog, but I'll do a little testing later this week.

      Temporarily closed means that you hit the flood filter. I'm not sure I want spammers to know that. Will think about it.

      Reply to this comment
  18. avatar
    wrote this comment on

    Hi Nicolas,

    i'm having same problem as Radek in that it will send a mail when required fields are left blank, or left with default text.

    i tried removing the label text from the boxes so that they would remain empty but form still sends a mail.

    fyi in my inbox i get the mails, they contain the following:

    "Bug 02 - no subject field defined"
    "Bug 03 - no message field defined"

    I really like this plug-in, it's clean, and has a great settings control panel. Just what i wanted. Would like to resolve this and would appreciate your thoughts.

    Thanks,
    Simon

    Reply to this comment
    1. avatar
      wrote this comment on

      That's very odd. You shouldn't be able to trigger those bug messages as you can't delete fields in a public release yet. Do you use the development version? I'll look into later this week.

      Could you try to deactivate the plugin from within the wordpress admin, and delete it from the admin after that?

      Or instead, simply reset it.

      After that please try to reproduce the bug. I don't really know where to start looking.

      Reply to this comment
      1. avatar
        wrote this comment on

        On resetting the plugin it works perfectly
        but i can easily reproduce the bug from a fresh reset as follows:

        Enable customisation options, then save settings to view them, then change or just click on some element within the 'Input Fields Configuration' setting (eg just clicking on a radio button that is already selected then saving settings ie not changing anything will do), and then the form will mail out anything. Have reset it 4 times or so to confirm.

        i'll still use it, just wont touch the options panel for now!

        I'm using wp 2.8.5

        Many thanks,
        Simon

        Reply to this comment
        1. avatar
          wrote this comment on

          Thank you very much for the detailed report! :-)

          The bug should be fixed in 0.4.1 which will be available at wp.org in a few minutes.

          Reply to this comment
          1. avatar
            wrote this comment on

            Thank you Nicolas, it works beautifully now!

            This is a great plug-in, very small, very flexible, easy to get working, and intuitive to use and tweak, my first choice by a long way.

            simon

            Reply to this comment
  19. avatar
    wrote this comment on

    That was quick! ;-)

    Thank you Nicolas.

    Working smoothly now.

    R.

    Reply to this comment
  20. avatar
    wrote this comment on

    Hello Nicolas-

    I'm a new WordPress user, using the Headway theme, and I'm getting this:

    Warning: Invalid argument supplied for foreach() in /zero-conf-mail/inc/page.php on line 242

    Reply to this comment
    1. avatar
      wrote this comment on

      You are absolutely right. 0.4.1 introduced a new bug which is fixed in 0.4.1.1. Will be available at wp.org soon. Thanks for reporting!

      Reply to this comment
  21. avatar
    wrote this comment on

    Hi there. Just an input. it would be good to change the sent from mail address "somevisitor@hotmail.com" to "wordpress@domain.com". The reason is most mail applications setup in mail servers refuse to send emails which are not originated from the mail servers. Emails like domain.com are checked via Reverse DNS to see if the email is authenticated.

    The way it is now, your plugin will cause most emails sent from it as spam or rejected. By changing the from address to a valid email address eg "wordpress@mydomain.com" will solve this problem. Other than that. i think so far yours is the best mail plugin there is for wordpress. Ta

    Reply to this comment
    1. avatar
      wrote this comment on

      Actually, I think I shouldn't define a From at all, let the mailserver handle that, and use Reply-To. Comments welcome.

      Reply to this comment
      1. avatar
        wrote this comment on

        hmm yeah i suppose it good as well. just use a reply to. For the FROM, it would be safe to use wordpress@mydomain.com (whatever the installed domain is).. since this is what the wordpress uses to send out the first details to administrator. hope this help . :D and well done again. Am very impressed on your dedication on your plugin. great work! keep it up.

        Reply to this comment
        1. avatar
          wrote this comment on

          Yes, I'm using a WP function now to send the mails. Uses correct From and I add a Reply-To header. Thanks for bringing this to my attention!

          Reply to this comment
    2. avatar
      wrote this comment on

      Hm, I think you are right about the from address. It's configured this way because in my setup mails never go through any external server. It would be better to put the sender's mail in the reply-to, right?

      I'm happy you like my plugin :-)

      Reply to this comment
  22. avatar
    wrote this comment on

    This is "FREE"..??

    Reply to this comment
    1. avatar
      wrote this comment on

      Yes, this is <a href="http://www.gnu.org/philosophy/free-sw.html" rel="nofollow">free software</a>

      Reply to this comment
  23. avatar
    wrote this comment on

    can we use "coma" to multiply email..??

    Reply to this comment
    1. avatar
      wrote this comment on

      For receivers? No idea, I never tried it.

      Reply to this comment
  24. avatar
    wrote this comment on

    Hello

    Is it possible to translate "Your email here" "Your name" etc. into danish?

    Reply to this comment
    1. avatar
      wrote this comment on

      Sure, the form can be customized.

      Reply to this comment
  25. avatar
    wrote this comment on

    Thank you for nice mailform :)

    I like simple.

    This is easy to setup, especially for Wordpress begginer.

    Reply to this comment
  26. avatar
    wrote this comment on

    Hi Nicolas, now that the form sends from wordpress_at_domain i no longer get the sender's email (whatever they entered). Is there any way to put that info into the mail that is sent? or to remove the email box on the form? Preferably to send the email field input in the mail as currently I can't reply to anyone. or am i missing something?

    Many thanks
    Simon

    Reply to this comment
  27. avatar
    wrote this comment on

    ok just read your comments above and see you have to hit reply to see the email address!

    that wasn't so obvious though works perfectly!

    thx again for your plugins and support.
    simon

    Reply to this comment
    1. avatar
      wrote this comment on

      Hello simon, you're right, I think I will include the mail address in the mail body beginning with the next release. I guess not all email clients display the reply-to header.

      Reply to this comment
  28. avatar
    wrote this comment on

    Hi! How can I add contact form to sidebar? In WP2.9 adding text/HTML widget with [zcmail] in it does not working :(

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Paul, use the new widget that's included in the 0.5.0 release.

      Reply to this comment
  29. avatar
    wrote this comment on

    Hi I love the plugin and it does exactly what it says but for one thing. When the fields are not filled out correctly it gives a message "Please fill out all fields!" in white text on a pink background. This is not very easily visible and I would like to change the text color to black on a pink background. Can you tell me how to do this please? p.s. Happy New Year

    Reply to this comment
    1. avatar
      wrote this comment on

      The color is defined through you theme's css, but I will add a fix to make the font black by default in the next release.

      Reply to this comment
      1. avatar
        wrote this comment on

        Nicolas, thank you for getting back to me I will endeavour to change the css in the theme although I would appreciate a little point in the right direction. Would it be input: for example?

        Reply to this comment
  30. avatar
    wrote this comment on

    Hi Nicolas, could you tell me how [zcmail] thing works? I want to trigger some function on a page or where ever I want and I do not know how to do it.
    I guess the answer is here, right? http://www.nkuttler.de/2009/10/21/shortcodes-include-css-and-js-only-on-the-correct-blog-pages/

    Thank you. Radek

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Radek, [zcmail] is a shortcode and it's usage is documentented on this site: http://codex.wordpress.org/Shortcode_API

      Reply to this comment
  31. avatar
    wrote this comment on

    Hi,
    I installed your zero-conf-mail plugin, it installed fine, works fine but... I never receive any e-mails! I've tested it, sending e-mails to the address of my Wordpress site administrator and I receive nothing.

    Any ideas?

    Reply to this comment
  32. avatar
    wrote this comment on

    Спасибо за плагин! Сделал русскую локализацию плагина. Если интересно - скачать можно здесь - http://www.shoptec.ru/files/2010/01/translations.rar
    Описание - на странице - http://www.shoptec.ru/?p=2355

    Reply to this comment
  33. avatar
    wrote this comment on

    Thank you very much for the nice plugin.

    1- The widget should have the following options:
    A- to set the forms' width. No sidebar is 500px (which is the default width), so it must have its own width setting, independent from the css that applies to the form placed in a page. I modified the style and added width:100% so it stretched the form in the sidebar to the sidebar limits.

    B- We should be able to give a title to the widget, I dont know why you disabled that.

    2- Iti s great if you add the ability to add a custom antispam question, like I set the question and the only answer that must be input for the message to be sent.

    3- It is nice also if you add "send me a copy of the message" checkbox under the form.

    If you do these, your plugin will be the ultimate contact me !

    Reply to this comment
    1. avatar
      wrote this comment on

      Mouad, thanks for your suggestions! I'll look into them.

      Reply to this comment
      1. avatar
        wrote this comment on

        Thank you ! I hope you do them soon, or at least the widget fixes.. because, btw, setting the widget's width to 100% after setting the form's w max-width to something higher than 150px didnt work, and the widget kept showing very wide , extending beyond the limits of the sidebar.

        It must be changed and the width of each of them to be set separately, otherwise, the widget is not usable unless you significantly minimize its width, which will reflect also on the form within a page, and which will not look fairly good.

        Reply to this comment
  34. avatar
    wrote this comment on

    Thank you for the plugin.

    I agree with Mouad on the custom antispam question. Your plugin is just what I had been looking for on my website, but recently I am starting to get spam.

    If you can add this feature in, this would be the PERFECT plugin. Thanks again.

    Reply to this comment
  35. avatar
    wrote this comment on

    Here is my suggestion as i have not seen this on any contact form thus far, and it really does seam like a no brainer....

    k, was seeing if you could add user recognition.. so if your logged in, your name and email are filled in the fields(or those fields dont display and just the subject and msg fields are displayed whatever is the best way)

    also i know that your goal is a non bloated contact form, and i did read ur reasonings against form security, but i would really love to see recaptcha... you could just add the option for it to be on or off..

    i would also be down for this anti spam method which is described in #2(with the ability to set like a few phrases and answers so its not the same one every time) this way you would have to deal with recaptcha stuff...
    i also like #3 to have the option to enable that..
    "2- Iti s great if you add the ability to add a custom antispam question, like I set the question and the only answer that must be input for the message to be sent.
    3- It is nice also if you add “send me a copy of the message” checkbox under the form."

    thanks,
    madLyfe

    Reply to this comment
  36. avatar
    wrote this comment on

    In the firefox browser, the fields "Your name" and "Email Address" are side by side (this does not happen in IE).

    How do I fix this?

    Reply to this comment
  37. avatar
    wrote this comment on

    Is this plugin no longer supported?

    Anyways, I've managed to solve the issue on my own.

    Reply to this comment
    1. avatar
      wrote this comment on

      Of course the plugin is still supported, but I don't aways have the time to answer all questions. And I don't do free HTM/CSS support, thanks for understanding.

      Reply to this comment
      1. avatar
        wrote this comment on

        I was not able to solve this issue with HTM/CSS - i had to modify the core php file.

        It took more than 2 weeks for you even to respond to my issue - I'm not sure we can call this product "Supported".

        Thanks for understanding.

        Reply to this comment
  38. avatar
    wrote this comment on

    I'm just releasing version 0.6.0 which includes a very simple but hopefully effective protection against automated spam bots. Enjoy!

    Those pesky spammers sent me one email too much. :-)

    Reply to this comment
  39. avatar
    wrote this comment on

    Hi, Nicolas.

    U am using your plugin on many sites but now i ran into a problem: i want to use this plugin in the footer of the page, and not in the post directly - how can i call for it?

    I manged to display posts with Shortcode Exec PHP plugin in the footer. But it wont display your form if i add your shortcode in the post...

    so the main question: how can i call for your contact without shortcode?

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Klemen,

      <code>&lt;?php echo zcmail_shortcode() ?&gt;</code> should work. I'll add that to the readme as well.

      Reply to this comment
      1. avatar
        wrote this comment on

        Great - that helps alot!

        Reply to this comment
  40. avatar
    wrote this comment on

    Nicolas, it works great! Thank you for the plugin!!!

    I´m just trying to modify a minor detail: is it possible to change the POST=#zcmail so the page that we get in return after pressing the submit botton (that with the success message) apears in a way that my visitors could see my head´s site...
    I mean, it was great if when getting the success message, my visitors could see the menus of my site without needing to roll up the sidebar...
    I´m not sure I did a clear explanation... hope so...
    Thank you in advance! And once again: GOOD JOB!

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Marcelo, you're absolutely right. I changed that behavior in the last release. I'll change it back and make the anchor an option in the next release. Thanks for the report!

      Reply to this comment
      1. avatar
        wrote this comment on

        Hello Nicolas,

        Thank you very much for answering my question!
        I´ll wait your next release!

        Best regards!

        Reply to this comment
        1. avatar
          wrote this comment on

          Uploading right now. Enjoy!

          Reply to this comment
          1. avatar
            wrote this comment on

            Great Job! It´s perfect!
            Thank you Nicolas!!

            Reply to this comment
  41. avatar
    wrote this comment on

    hi nicholas.
    thanks for all your work on this great plugin. i'm having a strange issue where suddenly the plugin seems not linked to it's own css. i had it set up perfectly and when i went live with the site (and changed the url to the root) the plugin looked completely different and any changes i make to the css (whether in your stylesheet or my own) do not register. i reset, completely uninstalled and reinstalled...checked and unchecked the 'include recommended css styles' box, but no change. any thoughts.
    thanks again, tchandler

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Todd,

      did you perform all the steps described in http://codex.wordpress.org/Moving_WordPress ? I guess not moving the install correctly can cause problems. You should probably check the path to the CSS file in your page source and use firebug to determine which styles are applied. Good luck!

      Reply to this comment
      1. avatar
        wrote this comment on

        thanks for the quick response.
        my wordpress install has it's own directory, i just changed the blog url (to root) and moved the htaccess and index.php files to root.
        any css showing up in firebug when inspecting zeroconf elements are from the theme's main stylesheet-- css from my child-theme and from your stylesheet are not applying. but all other css on the site is working just fine.

        Reply to this comment
        1. avatar
          wrote this comment on

          sorry, you're right, of course. it's something with the css since changing the blog url, the location of the htaccess and index files. my child theme and any other css outside of the parent theme stylesheet is not being recognized. clearly not an issue with your plugin, so i will seek help elsewhere. thanks again.

          Reply to this comment
  42. avatar
    wrote this comment on

    Hello, First of all, thanks for such a handy plug-in... Sorry to bother you with this, but I seem to be having a little problem with it. I'm using the plug-in on my client's site, however the emails generated are going to my address. The default address in WP is definitely set to go to him. (ie: the email address field in WP General Settings is correct.) But, in Zero Conf Mail Settings, it says "the mails are being sent to [my Email Address]" Is there a specific file on the server where I can manually change this? Again, many thanks.

    Reply to this comment
    1. avatar
      wrote this comment on

      ps: I did notice in the "readme" file that it said the option can be changed on the "plugin options page"... however in WP, when I select "Plug-Ins/Zero Conf Mail/Edit" I don't see an email address listed anywhere. Thanks again.

      Reply to this comment
      1. avatar
        wrote this comment on

        Hi Jason, you need to enable the "Customize the form" option, that will show many more option fields. You should be able to change the mail there.

        Reply to this comment
        1. avatar
          wrote this comment on

          Hi I have the same question but very limited experience with WP so for me it's not that simple. Can you explain how to enable "customize the form"?

          Thanks
          Karyn

          Reply to this comment
          1. avatar
            wrote this comment on

            It's a setting on the plugin's settings page.

            Reply to this comment
        2. avatar
          wrote this comment on

          aaargh! I knew it was going to be something simple... Thank you very much for such a quick response!

          Reply to this comment
  43. avatar
    wrote this comment on

    Hey Nic,
    How to clear the background of your plugin? :(

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Joey, not sure what you mean. The only thing that has a background is the success + error message. You can override that with CSS.

      Reply to this comment
  44. avatar
    wrote this comment on

    Hi,

    Great plugin. However, I'm trying to hide the subject field as its not needed. I've tried #zcmail input.zcmail_subject {display:none} but it doesnt seem to work. Any ideas?

    Thanks

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi John,

      I had a quick look and maybe an attribute selector http://www.w3.org/TR/CSS2/selector.html#attribute-selectors can be used to hide inputs by name attribute. Not sure how many browsers support that though.

      Reply to this comment
      1. avatar
        wrote this comment on

        Hi,

        Thanks for the reply. Great idea.

        Got it to work by adding

        input[value=Subject] { display:none; }

        Seeme to be supported by most browsers

        Reply to this comment
  45. avatar
    wrote this comment on

    Hi! Thank you very much for great Plugin that's unreal useful.
    I've got only one question (it might be very stupid, but anyway...)
    How can i resize form fields in widget-area?
    I placed widget there - it looks great but it's a little bit wider, than I need.
    Thanks.

    Reply to this comment
    1. avatar
      wrote this comment on

      You should be able to use the same method John in the comment above used.

      Reply to this comment
  46. avatar
    wrote this comment on

    Great plugin. Simple to use as you promised!
    Can I return a 'thank you' page somehow.

    Is there a place in the code to modify?

    It would help me with my 'goals' in my analtystics program.

    Thanks for the great work.

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Joanna, that sounds like a great feature. I'll think about how to add. Right now the plugin can't have a thank you page.

      Reply to this comment
    2. avatar
      wrote this comment on
      Here's a quick hack that I did to add a thank-you page that seems to work ok for Google Analytics goal tracking. Note that I am using the Thesis theme so maybe Nicolas can check if any modifications to my instructions are necessary for a standard wordpress install:

      1) create a "Page" on your site called /zconf-thanks/ with your thank-you message on it. Be sure to check off the boxes for robots noindex, nofollow, noarchive (just search the page for "robot" when you're editing in wp-admin)

      2) Go to plugins, scroll to "Zero Conf Mail" and click the "edit" link

      3) click "zero-conf-mail/inc/page.php" to edit that document. Be sure that it is writable on your server first so that you can save these changes. On linux it's something like "chmod 777 page.php"

      4) Replace this:

      if ( $success ) {
      $return .= '<div class="zcmail_success">';
      $return .= $option['config']['messages']['success'];
      $return .= '</div>';
      }



      with this:

      <?php
      if ( $success ) {
      $return .= '<div class="zcmail_success">';
      $return .= $option['config']['messages']['success'];
      $return .= '</div>';
      /********** thank-you-page-redirect by consortemarketing.com 4-2-2011 **********************/
      echo "<script>window.location.href='/zconf-thanks/';</script>";
      /********** thank-you-page-redirect by consortemarketing.com 4-2-2011 **********************/
      }
      ?>

      Reply to this comment
  47. avatar
    wrote this comment on

    Danke für dieses Plugin! Ich möchte es als Widget nutzen, in das man NUR seine Emailadresse eingibt. Sie soll dann an den Admin gesendet werden, der sie händisch in einen Emailverteiler einträgt. Warum lassen sich die Felder "Name", "Subject" und "Message" nicht löschen? Was muss ich im Plugin-Code ändern, damit ich nur ein Feld für Email habe?

    Reply to this comment
    1. avatar
      wrote this comment on

      Das ist mit diesem plugin so nicht möglich, aber ich werde mir mal anschauen ob ich das Löschen der Felder erlauben kann.

      Reply to this comment
  48. avatar
    wrote this comment on

    Hi Nicolas, I customize the name of the fields in this blog (http://hiperideal. com.ar/blog/?p=489), but I don´t remember how I did it. Could you help me? Thank you for this spectacular plugin!

    Reply to this comment
    1. avatar
      wrote this comment on

      You enable the "Do you want to see the customization options?" setting, then you can customize the form.

      Reply to this comment
      1. avatar
        wrote this comment on

        I´m going to Plugins tab, then Zero Conf Mail are enable. And I only have 2 options: disable it or edit. In edit, I see the zero-conf-mail.php, page.php, admin.php, and others. In these files can not find where I changed the name of the fields. Is it right what I'm doing? Thanks!

        Reply to this comment
        1. avatar
          wrote this comment on

          Settings->Zero Conf Mail

          Reply to this comment
  49. avatar
    wrote this comment on

    Hi, Nicolas. Thanks again for great job.

    I got one more question. I use zero-conf widget, but I didn`t recognise how can I place title of it( I didn`t find such option neither in plugin-settings, nor in widget-settings( Pleas help if it`s possible.

    Reply to this comment
    1. avatar
      wrote this comment on

      You're right, it looks like I didn't build in a title option. I'll look into this soon.

      Reply to this comment
  50. avatar
    wrote this comment on

    Hey nicolas, I just tried out your plugin but instead of using it on a page. Is it also possible to directly include it in the sidebar.php file of my template? If so, could you give me the PHP of it? Regards!

    Reply to this comment
    1. avatar
      wrote this comment on

      Please check the readme.txt

      Reply to this comment
      1. avatar
        wrote this comment on

        I did, but I still didn't get it to work. There are other Contact Me solutions that allow the user (me) to add an extra button in the navigation bar. When clicking this button, the contact form pops up. Is this possible to achieve with your plugin aswell?

        Reply to this comment
        1. avatar
          wrote this comment on

          Well.. that's just a little JavaScript. No, this plugin doesn't support this.

          Reply to this comment
          1. avatar
            wrote this comment on

            Alright thank you for your comment! :) The only thing that bothers me at using [zcmail] as a shortcut on a page, is that the author and post time are also displayed. I want to have a CLEAN contact page, any idea how to hide this quickly? (Yes mabye a little off-topic, but perhaps you know a nice and easy plugin for this)

            Reply to this comment
            1. avatar
              wrote this comment on

              I'm not sure what you mean by author & time? If you mean your normal template, you can create a page template http://codex.wordpress.org/Pages#Page_Templates

              Reply to this comment
  51. avatar
    wrote this comment on

    Hi Nicolas!

    I find your plugin very useful for those who aren´t familiar with all that configs. I'm translating into portuguese-brazil.

    Reply to this comment
    1. avatar
      wrote this comment on

      Cool! You can use my contact page and I will send you a reply, so that you can send me the po/mo files :-)

      Reply to this comment
  52. avatar
    wrote this comment on

    Hi -

    Is there any way to configure the Widget width? My right side column is 250 pixels and the form is wider than that, causing it to stick out too far to the right.

    Also, a way to specify a widget title would be great.

    Thanks - it really looks great - and exactly what I was looking for - nice &amp; simple, nothing super-fancy.

    - Fred.

    Reply to this comment
  53. avatar
    wrote this comment on

    Sorry ... another request. Is it possible to allow for multiple emails (separated by commas, I suppose) in the "who receives emails" area in the settings?

    - Fred.

    Reply to this comment
  54. avatar
    wrote this comment on

    Sorry again ... I hope this is my last question/request for the day!

    I just took a look at the message I received a little closer.

    I mainly want to use the form to allow folks to send their email addresses to us and subscribe to an email list.

    I would love to have a configurable static subject rather than have the user enter it. Also, our site name contains an apostrophe, and it gets mangled in the current subject (Chandler&amp;#039s World).

    Thanks!
    - Fred.

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Fred, no, that's not possible at the moment.

      Reply to this comment
  55. avatar
    wrote this comment on
    Hello

    I really appreciate the simplicity of this plugin, thanks.
    However, I am creating a multi-lingual site, and I think it's not possible to have the form translated actually.
    I started to think how to do it, by putting the __ function for the values, for example __($values['label']).... and put the labels in pot or mot files.

    Is there an another way ? Have you thought about it ?
    Reply to this comment
    1. avatar
      wrote this comment on
      The translated strings are stored as an option, so they are blog-wide. If you have multiple languages on the same blog you're right, that can't be translated at the moment.

      You could check the source if there is a filter when I output the messages, it's been quite some time I worked on this plugin.
      Reply to this comment
  56. avatar
    wrote this comment on
    Hi there. I have just installed zero conf - and it looks good. However, I changed my email address under general settings but it's not being reflected in the plugin. It is still sending mail to my original email address. I deleted and reinstalled thinking that would help, but it didn't. It picked up my original email address (which is strange). I am running WP 3.1.3. ANy suggestions? Also it looks as though I should be seeing some customisation options, but I'm not. Is this possibly a further 3.1.3 issue?
    Reply to this comment
    1. avatar
      wrote this comment on
      Hello, iirc there is a checkbox or dropdown that turns on displaying of the advanced options. Can't you change the email there?
      Reply to this comment
  57. avatar
    wrote this comment on
    Thanks Nicolas for your plugin

    Everything it´s ok but...
    can I change the with of text box
    If yes, I w'll apreciate, because I can't see in the css or php files
    I've tried where it´s seams the obvious css place but nothing as change

    Thanks in advance

    Reply to this comment
    1. avatar
      wrote this comment on
      You should probably install yourself firebug and inspect the element. Sorry, I can't provide CSS support here.
      Reply to this comment
  58. avatar
    wrote this comment on
    Hi,
    I wanted to ask a favour I added it to my contact page of my portfolio site. However, when I preview it, I can see an outline around it and I couldnt remove that outline, I just removed the borders from the each boxes which are "Names,subjects,message" boxes but I couldnt remove the outline from all area. what can I do for it? I am not good at code things. I hope you can help me. Thanks
    Reply to this comment
    1. avatar
      wrote this comment on
      Hm.. sounds like a CSS problem. I'm afraid I can't help you with that.
      Reply to this comment
  59. avatar
    wrote this comment on
    This looks pretty cool is it still available, and does it work with the current version of wordpress?
    Reply to this comment
    1. avatar
      wrote this comment on
      It should still work, but I haven't tested it.
      Reply to this comment
  60. avatar
    wrote this comment on
    FINALLY a simple contact form that can be translated! Thank you so much!
    Reply to this comment

Start a new thread

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.