WordPress-Ready Contact Form v.2.0WP
On October 3rd I announced that I released my Secure and Accessible PHP Contact Form v.2.0. It was also requested at that time that it made available for use with WordPress. Well, now it is. I teamed up with Mike Jolley and together we took my form script and made a WordPress plugin that you can download on the Official v.2.0WP Download Page (see WordPress Version Demo). Check it out. (Also see Mike Jolley’s Official Page.) I think you’re going to be very pleased.
To date, this “Secure and Accessible PHP Contact Form v.2.0WP” has been downloaded 1568
times since its release on: Oct. 25th, 2006.
It took many hours of demanding work to get it done but I must say — and I hope this doesn’t sound too boastful — it really kicks butt! We went all out and I think it’ll show: it’s simple to install, easy set up, and it’s loaded with features. This announcement post is mainly for comments, suggestions, and feedback. To learn more about the plugin and to get a copy for yourself, go to the Official Secure and Accessible Contact Form v.2.0WP Download Page. Enjoy.
Attention: There is a new post for form support. Please use it to post your comments, questions or suggestions. Please, however, review the comments herein first to see if your question or concern has been addressed already. Thank you.
SeaBeast Theme Demo » An Accessible WordPress Theme by Mike Cherim » Blog Archive » Contact Form Plugin Option responds:
Posted: October 25th, 2006 at 1:41 pm →
[…] Would you like to comment or have a question? Please do so in the post on my blog. […]
Anthony Brewitt responds:
Posted: October 26th, 2006 at 4:04 am →
Thankyou so much, I will be installing asap! The first from was great, the second as a plugin, fantastic!
Mike Cherim responds:
Posted: October 26th, 2006 at 7:41 pm →
Important Notice: Bug found and squashed. Please read the details and act if applicable to you. Sorry about this. We tried like hell to get it right on the first go ‘round, but it figures we didn’t. Our story, this stuff is complex, and that’s the story we’re sticking to.
Rest assured the fix is really quite simple.
Robert Meireles responds:
Posted: October 28th, 2006 at 1:33 pm →
I’m running into a problem with your form 2.0
I’ve done everything according to the instructions, but yet I can’t get a message to go through. I keep getting the following error:
Results: Whoops! Error Made!
Anti-Spam Trap 2 Field Populated: You populated a spam trap anti-spam input that is meant to confuse automated spam-sending machines. If you accidently entered data in this field, using your “Back” button, please go back and remove it before submitting this form. Sorry for the confusion.
Thanks for the help on this.
Mike Cherim responds:
Posted: October 28th, 2006 at 8:16 pm →
Hello Robert,
Sorry it has taken me so long to respond… had a power outage here today
Being that it’s Spam Trap 2 giving you grief is extremely puzzling because if it was a configuration issue, you’d more than likely get a Spam Trap or Form ID issue. I went to your site, to see the form (my form) but it isn’t enabled. Can you please enable the form so I can come over and look at some stuff that might help me diagnose. If the form is on another site, please provide the URL. If you don’t want to do so on this post that’s cool, just use my contact form to send it to me. Also, have you done any edits to the
wp-gbcf_form.php
file itself?Mike
Mike Cherim responds:
Posted: November 1st, 2006 at 3:37 pm →
Important Notice: New build made with lots of improvements — this could be the “final” build of this version. Please read the details, item 2. Post here if you need any help.
Cecilia responds:
Posted: November 4th, 2006 at 2:46 am →
Thank you so much for SeaBeast theme, and plug-ins! You have made my job so much easier, establishing a weblog for an arts website! The owners absolutely adore the green fish, (Oregon=Salmon etc.) and are incorporating it into the site was perfect, since they already had the same colors on their site!
I am still tweaking- I still say it’s easy…and I’ve only been doing any computer stuff for 2 years.
I would like to know 2 little things, though….after not finding answers…or at least a re-direct?
1. If it’s possible, How to place the middle side bar on the left side? and have the posts running down the middle…
2. How to enable the green fishhy on the home page to blink into our name/orange fishy like I got it to do on all the other pages? It is disabled on the home page, and I can’t tell how to enable it it there. Also, /or if not, how to add our blog name after the fish…similar to “SeaBeast”. It’s weird…sometimes it works after clicking back.
3. Ok, I fibbed…I also want tko now how to indent page children as in other themes…to show heirarchy, and how to place pages in the “Main Pages” section, as they seem to only show up under other pages.
Thank god and the Loch Ness monster for talented people like you!
Cecilia
Mike Cherim responds:
Posted: November 4th, 2006 at 3:10 am →
Hello Cecilia,
All that you’re asking would be done by editing the master style sheet. There you’d arrange the positions of the elements by floating the sidebar left (though it wouldn’t be as simple as that no doubt), add the hover effect to the masthead — I do it that way on the Home page because it doesn’t lead anywhere — and indent the child category links. It’s more support than I’m willing to try and put into writing. Plus, some of it even before I could advise I’d have to do and test. Sorry.
This is sort of off-topic for this post. You should have probably gone to the official SeaBeast blog to post your support questions.
Cristina responds:
Posted: November 17th, 2006 at 10:56 am →
I just used this form on my site and it works great! was also quite easy to edit and customize!
Nest step will be using it also on my other site on wp.
As always you do awesome things!
thanks again Mike!
Mike Cherim responds:
Posted: November 17th, 2006 at 11:09 am →
Gotta love positive feedback… thanks Cristina!
Now it’s time to give some back: You have a really neat site. Design-wise it’s cool, and then clicking on one of the navigation links delighted me. What a neat effect you have going on there!
cristina responds:
Posted: November 18th, 2006 at 6:56 am →
thank you so much Mike!
I also tried to make a site accessible as possible thanks to your advices! (maybe there’s still something to work on…) Btw I’m really happy that you like it!
Thank you for your feedback!
Max Capener responds:
Posted: December 5th, 2006 at 7:31 am →
Hi
When I come to activate the plugin things go very wrong, I get a parsing error with the following:
Parse error: parse error, unexpected $end in C:\wamp\www\mydomain.com\wp-content\plugins\wp-gbcf\wp-gbcf_form.php on line 1350
This basically disables my whole site.
I’ve installed a load of other plugins successfully this morning so it’s not a server issue.
Unfortunately I’m no PHP buff so I can’t resolve this myself, any reason why I am getting this?
Regards
Max
Mike Cherim responds:
Posted: December 5th, 2006 at 10:01 am →
Hello Max,
Not really sure what would cause that. I assume you’ve done the configuration correctly. I would have to come over for a look-see. First, though, I would disable plugins one-by-one and try re-enabling the form. If you disable a particular plugin and all of a sudden the form works, then it may be attributable to a plugin conflict. Not sure, though. I know of one other user that reported an issue like this.
If you’re using the “Rich Editor” you might want to click the button marked HTML so you can see the contents and make sure the insertion tag isn’t parsed in “p” — it’s not supposed to be, and the script tries to remove that, but I’ve seen a couple of instances where it was anyway, always when the Rich Editor was being used.
The vast majority have enjoyed simple plug-n-play ease. There’s nothing wrong with the script or anything. I mean this is no real parsing error in the script itself.
Let me know what you find trying this or contact me with an invite to come take a look if need be.
corpodibacco responds:
Posted: December 12th, 2006 at 11:40 pm →
Hi,
I’m using your form on my blog. It stops spam better than other forms do. Way better!
As a user fixated with customization and lightness though, there are a number of things I’d like to be different. Some of the following things I have solved my own way, changing the script, which obviously isn’t a good solution since it turns into a dilemma when there is an update of the plugin available.
first, lines before the FORM: it’d be great if the form wouldn’t replace itself with anything else contained in the page other than the , so that one could add its own lines or graphics before the form. In my experience, anything you try to add before or after the line is deleted from the page (some conflict, maybe?).
In alternative, an optional multi-line field to add text or code before the form would do.
second, CSS and script: I am not very happy with loading a CSS file and a script file every time any page or post on the blog is loaded. It seems too much useless weight on the entirety of the blog.
It’s great that you give me the opportunity to use my own CSS, but doing so I’d end up loading the CSS istructions for the form on every page of the blog just the same.
Instead, the right solution for me would be for the CSS istructions of the contact form to be loaded only when the actual ‘contact’ page is loaded. That is, embedded in the body of the page. Same with the JS script. Why? because a contact page can be a quite not-visited page, and it’s no use to load heavy stuff for it on every other page. (Note that this problem and the previous one overlap, because If I could add lines of code before , I could also add the CSS instructions.)
third, FIELDS: It would be great to have an option to just hide certain fields from the form, like ‘website’ or ‘phone number’, which I wouldn’t dream to ask to any of my readers.
Also, not to force them to pick one of the ‘contact reasons’ I want but instead letting them write their own subject would be appreciated.
Finally, it would also be great if one could decide which fields are actually required and what not, to reduce where possible the police-like feeling that pervades the net.
fourth, RANDOM: Wouldn’t it be very very great to have a little random function to pick from a number of anti-spam questions?
OK, that’s it. Sorry if I sounded pedantic… Hope my suggestions can be useful. Ciao!
Mike Cherim responds:
Posted: December 13th, 2006 at 12:55 am →
Hello corpodibacco, I’ll address your suggestions.
First: you’re right. We’ve been offering an easy solution to individual users that have written, such as adding something like that shown below to the single page file, or to a sidebar, but we should actually create a full time solution. Just busy.
Adding fixed content:
Second: You can add the CSS to your site’s CSS file, use no CSS, use a theme, or create your own. I do feel we offer a lot this way and it’s not a huge file — neither is the JavaScript file. We used a lot of customs classes so conflict could be avoided. They don’t have to be used but felt it was helpful. Regarding the JS, that is for accessibility, but you’re right, we offer no means of calling up those files only on the contact page. It is a good suggestion. But, since they do load, though, just like the styles, one way to take advantage of that and use the power of those files site-wide instead of having replication. That way your comments form and search box all match and all offer IE6 hover/focus styles on forms. As far and loading in-line styles if that’s what you mean, we’d really prefer not to do that as it’s not a “best practice” and the form was meant to be as accessible and well-structured as possible. We thought about it and offering a styling interface but that was going to be a load of work so we opted out and created the editor instead.
Third: Yep. Lotta complex work in doing all that, especially when trying to maintain the highest level of security, accessibility, and validity on both ends of the form (admin and user). If the script was originally written for WP and MySQL then more could have been done. But it’s not, it’s a retrofit of a free-standing script. Someday maybe; I know I’m very busy so free work has to take a back seat to paid work. We opted for a one-size-fits-all sort of thing. The phone and website are options but we understand not everyone wants this information. We figure it’ll satisfy the needs of lots of people, but not everyone, that would probably be impossible. Regarding police-like feelings… I didn’t originally write this script without feeling somewhat cop-like, or rather like a foot solider in the war on spam. :-/
Fourth. Allowing the random Q/A function would requiring setting a session to hold the variables for the second HTTP request. We opted not to do this. Sorry.
I’m glad you like the form aside from these points. I checked out your site and like how you managed it. Thanks for taking the time to offer suggestions.
Mike
corpodibacco responds:
Posted: December 13th, 2006 at 2:40 am →
Mike, thanks for your answers!
I’ll keep visiting for updates.
– Thanks for the snippet. I solved in the dirtiest way already
– About the CSS, it’s true that CSS in HTML is not the best. On the other hand I want the blog to load fast also on slow connections… websiteoptimization.com always bashes me for something..! Maybe php and wordpress could handle CSS dynamically, I wonder if anyone ever thought about that? One could set blocks of styles to be loaded conditionally according to the kind of page (a crazy fantasy, sorry).
– I also customized the error messages of the form… You should give it a try!
– I didn’t meant that you or this script in particular were acting anything like a cop! Only, for a personal blog like mine which has a little audience, one would like the rules to be more relaxed. After all, if there were more options, I could always change them if the situation worsen.
I was disappointed that because of the darning spammers I had to put all these checks in my trivial contact page which wasn’t even very much used.
(Now I am very happy with it, though)
Thomas GIBERT responds:
Posted: December 13th, 2006 at 5:15 am →
Hi,
I have a very big problem with the plugin, each time i receive an email using outlook 2003 it displays a serie of letters and numbers like “…SGVsbG8gSURHIEluZm9ybWF0aXF1ZSBkZSBHZXN0aW9uLAoKWW91IGFyZSBiZWluZyBjb250YWN0 ZWQgdmlhICBieSBBbGFpbiBDTEFWRUwgLSBTT0ZSQ…” and i can’t read it. Is it normal ? do i need a certain software to read it ? Thanks in advance !
Mike Cherim responds:
Posted: December 13th, 2006 at 10:03 am →
@corpodibacco: It wouldn’t be hard to make it so the JS and CSS only loaded on the contact page, but then some would lose the benefit of sharing those files across the site. That’s what I’d suggest. Remove form styling from your CSS and put it in the form’s CSS, or select no theme and use your style sheet for the form too.
Regarding customizing error messages, I’m happy with the stock messages so I guess I’m all set there. I tried to make the errors intelligent so as to inform the user what went wrong instead of providing a blanket error, but there’s no doubt that some people would like to change them. It’s difficult satisfying the needs of everyone.
But I’m happy you’re happy. If you’re getting no spam and have an accessible contact form, even if it’s imperfect, then I guess we did okay.
@Thomas: I guess we don’t have enough information to begin to solve this. Do you have the form online to test? Did you make modifications? What settings are on the Outlook version? It sounds like you’re getting the post variable but it’s not followed by the message. Without more info I just don’t know what it could be. I’d have to test the form myself.
Thomas GIBERT responds:
Posted: December 13th, 2006 at 12:28 pm →
@mike my form is available at http://www.idgfrance.com/?page_id=23
I’ve just translated all the displayed texts in french I didn’t touch the outlook settings.
Thomas GIBERT responds:
Posted: December 13th, 2006 at 12:31 pm →
@mike hmm.. funny if it configure my gmail email in the configuration part of the plugin, its fully readable and understandable so its outlook that is bugging !
Thomas GIBERT responds:
Posted: December 13th, 2006 at 12:41 pm →
@mike it seems that other clients like nPop or my webmail also displays the mashed text & numbers when using my local domain email but when using gmail or hotmail its clear and understandable… very strange. I have to precise to you that my webserver is located on my office on my local domain, maybe its helpful.
Mike Cherim responds:
Posted: December 13th, 2006 at 1:49 pm →
I see. So it must have something to do with your local domain web server. I don’t have any ideas for fixing it. I did test out the form so you may get a copy. The CC wasn’t available so I guess you’ll have to replay to the email for me to see it.
corpodibacco responds:
Posted: December 14th, 2006 at 6:01 am →
! only for the record, about the error messages: I wasn’t accusing you to be wrong in anything! Since you had been so kind to compliment my customization of the form, I was merely inviting you to check out how I customized the error messages because they could be fun to read, that’s all. Only for that. Maybe the wink face I put there caused a misunderstanding. Your editing and packing of the whole plugin is beyond reproach, and the error messages in particular are exhaustive and really meant for everyone, which is obviously a remarkably good quality. I confirm you I am quite happy with it.
ciao.
Thomas GIBERT responds:
Posted: December 14th, 2006 at 9:32 am →
@mike could you please resend me the email using the form ? thanks in advance !
Mike Cherim responds:
Posted: December 14th, 2006 at 9:57 am →
@corpodibacco: I see what you’re saying. I did note some humor in those. Also in the way you presented the anti-spam Q. Good stuff.
@Thomas GIBERT: Done. I just sent you a test message.
Thomas GIBERT responds:
Posted: December 15th, 2006 at 5:04 am →
@mike i sent to you the emails.
Thomas GIBERT responds:
Posted: December 15th, 2006 at 5:09 am →
@mike YAY !! I just decrypted the weird mail ! its BASE64 encoded i dont know why and i dont know how to change it to standard plain text. Do you have an answer ?
baptiste responds:
Posted: December 15th, 2006 at 5:36 am →
Hi !
It doesn’t work for me when i edit the wp-gbcf_form.php with this at the top :
Custom Content
Your custom content goes here' );
}
?>
Do you have any idea or another way to put some content at the top of my contact page ??
Thanks.
Mike Cherim responds:
Posted: December 15th, 2006 at 9:45 am →
Hello Thomas, I got those mails. I noted that the site/contact name in the [brackets] is missing. Maybe you left that blank or something. As far as it encrypting it must be somewhere downstream. The script doesn’t do that, not sure if the PHP mail function is doing that, or anywhere in the chain from sender to receiver. I don’t know what to suggest aside from checking your error logs to see if there are any errors being generated and to ask your host. I Googled it but didn’t find anything that gave me answers. It’s quite a strange problem.
Mike Cherim responds:
Posted: December 15th, 2006 at 9:50 am →
Hello baptiste: That doesn’t go in the
wp-gbcf_form.php
file. That goes in the theme file which may besingle.php
,page.php
, whatever template file is used for WordPress “pages” with your theme. Place what I gave outside of the WordPress “loop” but within the content area. Optionally, you can also add it to thesidebar.php
file to show up on the sidebar of only that page.Rellie responds:
Posted: December 17th, 2006 at 12:31 am →
I’m not sure what’s wrong, but the form just doesn’t send. I don’t get a “Success! Mail Sent!” or even an error when I try sending it. Thank you.
Mike Cherim responds:
Posted: December 17th, 2006 at 1:26 am →
I went to your site Rellie, assuming that’s the form in question, and it worked fine. I CC’d myself and it mailed it to me without a problem. Did you do something to resolve the issue?
Rellie responds:
Posted: December 18th, 2006 at 12:27 am →
Hey Mike
I think my other comment didn’t get through, but I have not fixed it yet. When I test it myself, I can never get through, but I’ve been getting comments through the form, so apparently it’s working. I’m not sure what I did wrong when I submit the form myself though. But thanks for the plugin. It’s amazing. I’ve been getting hundreds of spam messages from my other contact form, so I’ll cross my fingers and hope for the best.
Mike Cherim responds:
Posted: December 18th, 2006 at 12:44 am →
Hi Rellie, that’s strange you’re not getting them when sending them to yourself. I’m glad the other inbounds are making it. You might want to run this by your host.
baptiste responds:
Posted: December 18th, 2006 at 6:19 am →
Thank you !
It’s good for me.
Another thing : I use Gmail (and yahoo) in french and when I send the form to these adresses, it goes directly in the “Spam” box… I translate the form in French and it works but I had to remove a lot of things in the mail…
Turi responds:
Posted: December 21st, 2006 at 1:56 pm →
what is the easiest way to translate it to Spanish?
what files I must edit? and what words?
thansk and regards,
Turi
Mike Cherim responds:
Posted: December 21st, 2006 at 3:20 pm →
You would want to edit the wp-gbcf_form.php file, Turi. Scrolling most of the way down the file you’d locate the error messages in the script and edit the wording in those, then you’d locate the actual form below below that and edit the legends and labels. It shouldn’t be too hard to do, you just have to edit with care. One thing to be aware of is not putting an unencoded apostrophe in those error message strings for example:
Straight error message:
echo ( 'This is an error message' );
Error message with an unencoded apostrophe (will cause an error):
echo ( 'This's an error message' );
Error message with an encoded plain apostrophe (no error):
echo ( 'This's an error message' );
Error message with an encoded typographer’s apostrophe (no error):
echo ( 'This’s an error message' );
Obviously you could edit the admin areas as well, but that shouldn’t be necessary.
Mike responds:
Posted: December 21st, 2006 at 4:26 pm →
Hello Mike,
I downloaded and installed your comment form for use on WordPress 2.0.2 running on a Yahoo!-operated website. After getting the configuration values set properly so that I didn’t get any referrer mis-match errors, I get the “Success” page, but no e-mails arrive to my mailbox (and as far as I am testing this with two different e-mail addresses I use, I’m not getting CC’s either…)
… so I did a check to see if the mail() function within the script was having success or not, and it seems to be failing.
This doesn’t make sense to me, because I have had another popular plugin (Subscribe2) operating on my blog for a few months now, and it seems to be sending mail out just fine. I notice the difference between the two scripts is that Subscribe2 calls the “wp_mail()” function. Looking that up on WordPress’ Codex, I find out that this is just a wrapper for the PHP mail function, making the wp_mail() function customizable for individual installations.
Any ideas why mail() might be failing?
Mike responds:
Posted: December 21st, 2006 at 4:46 pm →
Mike, a quick follow up:
I removed the $gb_header parameter from each call to the mail function. Now it works. I haven’t ever messed with the content that is compiled into $gb_header, but apparently there is something there that is causing mail() to fail.
Mike Cherim responds:
Posted: December 21st, 2006 at 4:47 pm →
Hi Mike,
Here are some possibilities:
1) The PHP mail function isn’t enabled by your web host. If it’s not then they need to enabled it for your domain or you won’t be able to use the form. There is a way to override this but we won’t offer this (yet, below) as your web host’s preferences are theirs to have.
2) They allow the mail function, but not to outside domains without SMTP authentication. If this is the case you will need to make sure the address submitted to is the same as your domain as in
your-email@your-domain.com
. If this is the solution you will have to disable the CC option to your visitors as they won’t receive the copy.3) Recently I learned from one user that Yahoo may disallow the “From” address to be from outside the domain. In this case the script would have to be modified to have the From be your email address but to have the “Reply-to:” the user’s address so you can still hit “Reply to Sender.” Otherwise you’d have to reply in a separate email or hit “Reply to Sender” but copy-and-paste their email address in the “To:” line.
Mike Jolley and I have talked recently about making some modifications to the script soon to try and correct some of these web host-related issues. They don’t come up much — about 1 in 200 installations that we know of — but it’d be nice if everyone could use the form without issue. Perhaps we may check out what WordPress does and implement it in their custom function (to the non-WordPress version as well). If it’s not already included in the custom function, we might even add
ini_set
to force themail()
function to work regardless of PHP server configuration. Some hosts might get mad at us for doing this, though and that is a downside.Hope this helps.
Mike Cherim responds:
Posted: December 21st, 2006 at 4:56 pm →
In reply to your second post: I think it’s the “From:”
It’s a Yahoo thing I think.
Mike responds:
Posted: December 22nd, 2006 at 3:08 am →
Mike,
Thanks for your insights. From what I’ve experimented with, it appears you are correct about Yahoo requiring the “From” field to be within the originating domain. This would explain why Subscribe2 works since I have the “From” set to a generic “info@wasatch-rr-contractors.com” e-mail that I set up for sending news and other automated e-mails.
I hard coded this address into the header parameter (for testing), and it works fine. Adding “Reply-To: $email” (the commenter’s e-mail address) to enable easy replying works as well, so clearly Yahoo is only checking to make sure it is legitimately originating from our domain.
If I was Yahoo and had a zillion people setting up websites that could potentially exploit my mail system with perl and PHP scripts, I’d probably do the same.
If you are looking to enhance the plugin to adequately handle this, then maybe its just as simple as adding a configuration variable for the “From:” for the automated responses that may or may not be the same as the person the message is being sent to. For someone with a personal blog, it could default to be the same; for a company like us where we don’t have one set person who will handle these comments from now to the end of time, it could be an established e-mail account that is the “front” for automated responses.
It appears that currently Yahoo does not check to see that the “From” mail account within said domain actually exists, so you could have the “From” set to “not_a_real_account@my-yahoo-site.com” and it will still send the e-mail, but any mail sent to that specific address would either bounce or be auto-forwarded to the domain’s catch-all account. I wonder if other hosts might be even more strict and require complete address validation.
I wouldn’t force any web host to mail something as though it were from a visitor to my website, because– technically– the e-mail doesn’t come directly from them anyway; it comes from the script running on my website, and the “From” field should correctly reflect that. If we need to reply to this person, then the “Reply-To:” will handle that for us if properly set.
Thanks again for the help. Now I can enjoy Christmas break knowing I’ll be ready to launch our new site on New Year’s.
- Mike Lewis
Wasatch Railroad Contractors
Turi responds:
Posted: December 22nd, 2006 at 8:18 am →
The first letter in the main legends: (USE…,Requiered…, Opcional…, Time…) is a little disappeared to the left.
even in your DEMO web:
http://green-beast.com/blog/?page_id=135
thanks and regards,
Turi
Mike Cherim responds:
Posted: December 22nd, 2006 at 9:49 am →
@Mike: Thanks, that’s valuable info. We’ll probably add the Reply-to: and for the from simply extracted the “Name” inputted for the “From:” so the mail will come in with the submitter’s name, yet simply be replied to with a simple click. Good luck with your launch!
@Turi: Thanks for the feedback. I assume you’re using IE6. I was aware of that but haven’t bothered to fix it. In the style sheet you’ll see this:
To fix it it needs to be this probably:
Have happy holidays!
A Nappy Girl responds:
Posted: December 31st, 2006 at 11:40 pm →
Yes, it definately “kicks butt”. It’s a GREAT contact form. Folks have emailed me, just to tell me they love the contact form. Thanks so much for all your hard work.
Collin1000 responds:
Posted: January 7th, 2007 at 2:52 pm →
Hay, nice site. Ive been lurking on your blog for quite some time and just wanted to say you do a really great job. I love your blog and just wanted to take the time to comment and tell you how much I love your blog.
Mike Cannon responds:
Posted: January 9th, 2007 at 12:49 am →
I got the same error as one of the users above when I attempt to submit the form:
Results: Whoops! Error Made!
Anti-Spam Trap 2 Field Populated: You populated a spam trap anti-spam input that is meant to confuse automated spam-sending machines. If you accidently entered data in this field, using your “Back” button, please go back and remove it before submitting this form. Sorry for the confusion.
My ISP requires authentication for outgoing mail so I am assuming that this is the cause?
The link to the page is:
http://www.wastelandwars.org/?page_id=7
Mike Cherim responds:
Posted: January 9th, 2007 at 1:29 am →
Hmm. I tested it and it submit without that error, but it does seem that your server doesn’t like it the way it is and it didn’t carry out the mail function. You have to do the same as was suggested above by delving into the script, find the form header (
$gb_header
), and replace the first$email
variable with the form recipient variable$gb_email_address
. That should solve the problem.Mike Cannon responds:
Posted: January 9th, 2007 at 12:13 pm →
Here’s what I did. (I speak ASP but not PHP… but I’m learning….) I went to around line 1102 where it has:
// Email header
$gb_email_header = "From: $gb_email_address\n"."Reply-To: $email\n"."MIME-Version: 1.0\n"."Content-type: text/plain; charset=\"ISO-8859-1\"\n"."Content-transfer-encoding: quoted-printable\n";
I took the From:
$email
and substituted what is above.1) is this correct
2) probably not, as I get the same error!
Mike Cherim responds:
Posted: January 9th, 2007 at 2:08 pm →
That’s correct, so I don’t understand why you’re getting that weird error. Please share this with the web host. Hopefully they will know why and then maybe we can figure out how to fix it.
faustina responds:
Posted: January 10th, 2007 at 9:23 am →
Are there any plans to include an attachment option so the user can send a file along with the email?
Mike Cherim responds:
Posted: January 10th, 2007 at 9:52 am →
Not in the near future faustina. Maybe someday.
baptiste responds:
Posted: January 10th, 2007 at 10:36 am →
Hi Mike,
The form works perfectly for a month and now since 2 or 3 days i always got this error message…
“Referrer Missing or Mismatch: It looks like you’re trying to post remotely or you have blocked referrers on your user agent or browser. Using your “Back” button, please go back and try again or…”
I just know that my host has moved his servers recently…
Have you got any idea of what the problem could coming from ??
Baptiste.
Mike Cherim responds:
Posted: January 10th, 2007 at 11:06 am →
Hello Baptiste,
Has the form page URL changed? It should be: (http://filsdo.com/contact/). That is typically the problem when we see this error. Is there anything with the new server that would be triggering this (a question for your host).
Mike
baptiste responds:
Posted: January 11th, 2007 at 6:28 am →
Ok, it’s good…
I’ve just activated “URL Rewriting” on WP and after that the name of the page was http://…./id=18 and now it’s http://…./contact
I just rename the page in the options of the form and it works good.
Thank you.
Baptiste.
Mike Cherim responds:
Posted: January 11th, 2007 at 10:34 am →
Very cool!
Abhijit responds:
Posted: January 12th, 2007 at 1:55 am →
Hi there,
I have a secured contact form at http://www.abhijitsplanet.com/vu2acx/?page_id=9
Everything is working fine till the form submission. Get succeess report. Then after no emails are received to me nor the carbon copy to the sender.
Please guide me.
On the same server, other html forms are working.
I use my gmail email id as an admin email.
Our server used qmail for sending mails.
Mike Cherim responds:
Posted: January 12th, 2007 at 2:58 am →
Hello Abhijit,
I think this comment may help. It may be your other forms are JavaScript and the PHP mail function isn’t support. Maybe?
baptiste responds:
Posted: January 13th, 2007 at 10:00 am →
Hello, it’s me again !!
Juste another little question for you Mike ::
When I receive the mail, all the accents are remplaced by weird characters… I think it’s a problem of encodage… or something like that.
There’s an example of what I receive : “Rapporter un problême” instead of “problème”
I know that in English you do net use accents… Sorry
Thanks.
Mike Cherim responds:
Posted: January 13th, 2007 at 11:07 am →
I’m not really sure unless it’s the character set in the email header. Right now it is
charset="ISO-8859-1"
. If I recall, though, someone tried changing that toUTF-8
and it unfortunately didn’t fix the issue. Thus, I’m not really sure.Mike Cherim responds:
Posted: January 20th, 2007 at 2:15 pm →
Updated the form today. See details here. Thank you to anyone who made suggestions
andrabr responds:
Posted: January 23rd, 2007 at 7:26 pm →
I have made two useful changes in your code — you may want to incorporate them into the next version:
1) I moved “
if(strstr ($content, "<!−−gb_contact_form−−>" )){
” from the end of function show_contact_form [line 1350 or so] to its very beginning (somewhere about line 960) and made the rest of the function dependent on this condition. This way all the hard work is done ONLY if a page actually has<!−−gb_contact_form−−>
. This should speed up Wordpress significantly (for the pages that do not contain your wonderful form).2) at the end of function show_contact_form I replaced
$content = str_replace("<!−−gb_contact_form−−>", "<!−−gb_contact_form−−>", "$forms");
with
$content= str_replace ("<!−−gb_contact_form−−>", $forms, $content);
Now if the page contains something before or after
<!−−gb_contact_form−−>
, it will be shown (judging by your FAQ it is a frequent request).3) Now that I have done my part towards improving this plugin, I would like to suggest a feature: it would be nice to be able to “switch off” the fields in the form. A simple checkbox in the admin menu (next to the tab order?) and a couple of checks in the code should do it. One can make them invisible on the page via CSS, but they would still show up in the emails…
Good job on the documentation!
Mike Cherim responds:
Posted: January 23rd, 2007 at 9:02 pm →
Hello andrabr,
Thanks for the excellent suggestions. Number one will more than likely be done, as will number 2. The request isn’t really frequent — the FAQ was done preemptively — but it’s still a great idea.
There is another method we share on a per request basis — one that I incorporated into my latest theme — when someone want to add content (an easier method than what I suggested previously). It goes like this:
1) Copy the page template and rename it whatever you want, ie. “contact.php”
2) At the very top of the file add this:
3) Within the file where the page content would be, place this:
(Swap the two sections if content is wanted after the form.)
4) Add the file to the theme directory.
5) Create a new WordPress page for the form — or use the existing page (Edit)
6) Remove the “tag” if the page already exists, but feel free to add other text content.
7) Select “Contact” from the pull down on the sidebar of the edit page (Contact if the name of the template made in steps 1-4.
8) Save it. That’s it. Here’s a real example
Regarding the suggestion about offer the ability to disable fields, that’s something we’ll think about (we have already). Not sure if we’ll do it because some people hire us to do mods. Don’t want to put ourselves out of business.
Thanks for the feedback and great ideas!
Mike Cherim responds:
Posted: January 25th, 2007 at 5:22 pm →
This plugin has been tested and works with WordPress version 2.1.. yaaaay!
Dan Butcher responds:
Posted: January 31st, 2007 at 6:38 pm →
Thanks for the great plugin! I especially like that I can customize the drop-down list of reasons for contact–great idea! And thanks, too, for taking the time to carefully answer so many queries about finetuning things. I found the information I needed to add some extra information to the contact page before the form.
Mike Cherim responds:
Posted: January 31st, 2007 at 7:26 pm →
Thanks for the words Dan. We’re going to try a roll out another build very soon to take care of a couple of minor issues. We’re going to add the templating option to the FAQs while we’re at it. Glad you found the info, though.
Mr Papa responds:
Posted: February 4th, 2007 at 3:17 am →
Hey Mike, have liked and used your plugin for a while now… Just upgraded one of my sites to wp 2.1 tonight and grabbed your latest version to put on the site… for some reason, I cant seem to get it to work… the required contact reason pull-down wont open up…
I have several choices available in the config page, but they dont show… I can change them on the config page and they always reappear back there in the changed form, so they appear to be getting in the database… I have tried using many diff themes just to make sure I didnt screw up something when customizing the theme…
getting late, but have you ever seen something like this before with your plugin? will try to dig into more tomorrow…
thanks…
Mike Cherim responds:
Posted: February 4th, 2007 at 3:29 am →
Hello Mr. Papa, In your config you have the “xhtml” option set to “html” I think (see Configuration page section 5 of 7). That is likely the issue. Your contact page has a lot of errors and many of them — not all, I’m afraid — are related to things like inputs not being closed. I’m suspect in this case that something like that, combined with the other errors, might mess up the pull down. I didn’t really fool around with that function during the last build session so hopefully you made it that way in the configuration. Please check it out and let me know.
Mr Papa responds:
Posted: February 4th, 2007 at 10:33 am →
that’s just the current state… I have tried it both ways… didnt make a difference… in one of those rare occurrences, I havent touched the plugin code at all… will try to look at some more today too… its back to xhtml…
Mike Cherim responds:
Posted: February 4th, 2007 at 10:57 am →
Being back to xhtml is a start, you’re down 22 errors (which is about right for the number of occurrences. I have the new build in use and it seems fine so I suspect it’s something else on the page. I can see your other entries if I arrow down with my keyboard when focused on that select so the data is posted. Make the mark-up valid and the style sheets valid (I couldn’t check them though, validator’s down), and I bet all will be right.
Mr Papa responds:
Posted: February 4th, 2007 at 1:17 pm →
It validates now… Had one plugin that wasnt 2.1 compliant that threw 95% of those errors… corrected the other ones, but its still not working… I will start digging further after lunch…
Mike Cherim responds:
Posted: February 4th, 2007 at 2:23 pm →
Do check and validate the CSS if possible. It must be something simple and silly like that I’m sure.
Mr Papa responds:
Posted: February 5th, 2007 at 12:50 am →
no dice on css validation as its been down all day… for grins, I opened it up in IE 7 vs my normal Firefox and it works fine… so, its something that Firefox doesnt like…
Mike Cherim responds:
Posted: February 5th, 2007 at 2:48 am →
It’s something in the style sheet, maybe the one for the form. If styles are off it works fine. To verify this turn off styles. To find out what style sheet is causing the problem, select another form theme from the list in the admin. Then test it out. If that solves the issue, the select element’s style properties will need adjusting. This may be able to be done by copying the select styles on the working sheet and putting them in the suspect style sheet. If you want, show me what you have in the file under the select element. No doubt it’s something simple.
Let me know. Oh, by the way, it’s still best you went through the trouble to make everything valid. Good job!
Mr Papa responds:
Posted: February 5th, 2007 at 9:13 am →
i subtly mentioned this earlier, but I have tried about 8 or 9 of the other included styles, including none, and all have the issue with Firefox… so if its styling, it would be with my site theme…
off to work now, will work some more this evening… site contact currently set to no styling if you want to look again
as you know, the site style sheet is accessible at: http://www.klasen.us/wp-content/themes/after-spring/style.css
thanks…
Mike Cherim responds:
Posted: February 5th, 2007 at 10:10 am →
It must be the theme’s CSS then as you said. Try commenting out the part that has select in it though I don’t see anything about it that would have this effect. I’m still not able to validate the CSS. Seems like the validator is down. What an annoying issue.
KJ responds:
Posted: February 6th, 2007 at 8:55 am →
Hello,
I’ve been using this mod for a while now and i’m now using the latest build, however when the form submit button is press the page loads up the default home page for the site instead of showing any error or success messages. I’m pretty sure i’ve set up all the correct details in the configuration screen but still it seems to go directly to the home page on submit. I’m using the template based method of installation incase that has any bearing on this issue.
Thanks again
KJ.
Mike Cherim responds:
Posted: February 6th, 2007 at 9:51 am →
Hello KJ,
I suspect the tag is parsed in p-tags. If using the Rich Visual Editor click the HTML button to see the code, If parsed, remove them, the
<p></p>
, save that, then update the page. I’m pretty sure that’s been the issue when this has happened.Let me know.
KJ responds:
Posted: February 6th, 2007 at 9:57 am →
Hello Mike,
The call for the form is in the actual template code rather than entered into the Rich Text Editor.
<!-- show contact form -->
Cheers.
KJ responds:
Posted: February 6th, 2007 at 11:05 am →
Hello Mike,
I think I have narrowed it down to a single line in the plugin code.
In wp-gbcf_form.php on line 1247
if i replace
action=”‘.$_SERVER[’REQUEST_URI’].’#results”>
with either the full url to the contact page or
action=”contact#results”>
then the page works, but obviously hardcoding the page name isn’t ideal. It could be the server setup.
Cheers
KJ
Mike Cherim responds:
Posted: February 6th, 2007 at 11:15 am →
That’s a new one KJ. I did notice in your comment you had written
<!-- show contact form -->
I’m not sure if this is a post oversight, but it should be
<!--gb_contact_form-->
Alex responds:
Posted: February 6th, 2007 at 4:46 pm →
Hi Mike,
Thanks for the excellent plugin. This is by far the best contact plugin I’ve tried:)
However, I am having the same problem as K.J. above. When the user hits submit, it just takes them back to the homepage. They don’t get any success page or anything like that.
I looked into this, and you were right. There is a p tag surrounding
<!--gb_contact_form-->
. However, I can’t seem to get rid of it in the HTML editor. Every time I try to delete it and click “Update”, and then click “Save” and I try to submit an email to myself, the same thing happens. Then, I go back into the page editor, and the p tag is back:(Mike Cherim responds:
Posted: February 6th, 2007 at 5:40 pm →
Try this Alex: Go to “Users” on which you’ll see your “Profile.” Scroll down and de-select the “Rich Visual Editor” and “Update.” Then go to that page to edit it and you should see the tag in the main window (probably shown without the p tags due to the nature of the editor). Save it. Then you should be all set. Test it out. Once it’s all set you can then turn the rich editor back on (though I can’t really recommend it… I don’t like that editor).
Please let me know.
Alex responds:
Posted: February 6th, 2007 at 5:57 pm →
Nope, same results:( I’ve even tried completely deleting the Contact Form page that I created, and recreating it, with the rich editor off (thanks for that tip btw I HATE that editor too), and I still get the same results. Here’s the link to my form page so you can see it for yourself:
http://blog.trossenrobotics.com/index.php/contact-page/
as you can see, after you submit the form, the next link is:
http://blog.trossenrobotics.com/index.php#results
I don’t have redirects working yet on my blog because my host uses IIS and I can’t find a clear cut way to get them working, so what happens anytime a page isn’t found is the homepage is displayed.
Thanks,
- Alex
Mike Cherim responds:
Posted: February 6th, 2007 at 6:41 pm →
Silly question, perhaps, but do you have “http://blog.trossenrobotics.com/index.php/contact-page/” entered as the “Form Page URL” in the config? If not, that’s what needs to be in there. If it is in there just like that let me know and I’ll give you another fix (or I’ll create another build fixing this possibility for one and all). I do see what’s going on, but it’s just a matter of why. You might want to ask your host if
$_SERVER['REQUEST_URI']
is supported for your domain as well.Alex responds:
Posted: February 6th, 2007 at 8:13 pm →
There are no silly questions, just #$@hole answers Mike:) Thank you for being so cool with my issue. It’s great to hear when someone takes pride in their work enough to support it! I can’t seem to get a lick of support on general Wordpress questions on Wordpress.org. Their blog software is fantastic, but it’s a shame they don’t support it more than they do. Sorry, off topic a bit.
This is exactly what I have in the box labeled, “Your Form page URL:”
http://blog.trossenrobotics.com/index.php/contact-page/
I’ll email my host about the URI question. I have a question though. Does this plugin work on IIS? It may be a “silly” question (sorry, no pun intended ), but I’ve ran into a lot of problems in the past with plugins because my blog was on IIS.
On a side note though, not sure if this helps, I emailed my host earlier and they informed me that PHP mail is enabled, but the mail server requires SMTP authentication.
Mike Cherim responds:
Posted: February 6th, 2007 at 9:08 pm →
The SMTP issue no longer exists — that was addressed two builds ago. Not sure about IIS, but I think it’s okay. For some reason some hosts don’t support the request URI. Here’s what I want you to try if they confirm it is not. And if this fixes it for you I will come up with a permanent fix so upgrading won’t be an issue. On build 20070204, on line 1247 you’ll see this:
Change it to this:
Then test it out. If it works, and if you’re willing, please try this (if it works it’ll be part of my next fix):
Then test that out please an let me know. Thanks.
Alex responds:
Posted: February 6th, 2007 at 10:54 pm →
I think we may be getting somewhere:D
I tried both of your fixes. Both of them give me a results page now. What is really wierd though is that even though the Results say “Success! Mail Sent!”, it generates the following error at the top of the results page:
Mike Cherim responds:
Posted: February 6th, 2007 at 11:58 pm →
Hmm, I’m sort of stumped. Please try this:
The error line is the mail function string but there’s nothing wrong with it so I’m thinking something’s off with the path so maybe this will fix it. If not it’s time to talk this over with your host again, giving them that error of course. SMTP auhtentication was solved by using the domain’s email as “From” while maintaining the form sender as the “Reply-to.”
Did you get the emails? If you did I suppose we could also kill the error.
KJ responds:
Posted: February 7th, 2007 at 5:30 am →
Hi Mike,
I managed to get my install working but the form action is hardcoded till i find a solution, i’ll let you know.
One other thing that concerns me is the length of time it takes for the form to submit and for the success page to be displayed. Could this be caused by the collection of all the other info that is included in the email such as the referrer ip etc etc? I’m going to comment that out to see if it increases the speed.
To reiterate what Alex said, this is a really cool plugin and one that would be even cooler once these niggles are ironed out, so thank you for that. Your help is much appreciated
KJ responds:
Posted: February 7th, 2007 at 9:24 am →
Hi Mike, I rewrote your plugin code where the mail function is called and replaced that to use the phpMailer class and it’s working brilliantly now, sending mail almost instantly. If you want the code i’ll get that to you
Mike Cherim responds:
Posted: February 7th, 2007 at 10:05 am →
You bet I do Alex. The contact form will strip it out but you can post it here (being careful to encode your characters) or you could email it to me at mikecherim at this domain dot com. Thanks.
Alex responds:
Posted: February 7th, 2007 at 10:54 am →
I forgot to mention before that I did not receive the emails. I tried the last solution you provided, and that actually brought me back to square 1, in the sense that it no longer displays the Results page. I’ll check back here, because it looks as if KJ may have a solution to try as well. In the meantime, I’m going to change that line back to the one that generated that error, and pass it along to my host to see what they have to say.
BTW, do you have any icon or something that I can put on our contact form page? With all the help you provided man, I would really like something more on there than that little blip of PR for you and your plugin.
Alex responds:
Posted: February 7th, 2007 at 11:26 am →
What does it mean when it says that the mailbox is unavailable or not local in wp-gbcf_form.php on line 1210?
Mike Cherim responds:
Posted: February 7th, 2007 at 11:32 am →
Yeah, I’m looking forward to seeing KJ’s fix. As far as a link back, you can just choose to display the contact form credit line — that’ll be cool by me. I don’t have an icon per se unless you see one on the sidebar you want to use. Donations are always gratefully accepted
As far as that mailbox unavailable question I don’t really know. It “looks” as if it’s trying to reach outside the domain. That’s one of the questions I’m hoping yur host will have an answer for.
Alex responds:
Posted: February 8th, 2007 at 4:52 pm →
Just heard back from my host. They had a question. What does your program send an email as, meaning who would the email be “from”?
Mike Cherim responds:
Posted: February 8th, 2007 at 6:07 pm →
It is “from” the admin’s email. In other words if you enter alex@yourdomain.com as the email address the user will submit to, that’ll be the “from.” It would appear that the mail was sent from you to you, but when you click reply-to, the email will be sent to whatever address the sender inputted. The reason it was done this way was to circumvent SMTP authentication.
Alex responds:
Posted: February 8th, 2007 at 6:26 pm →
ah ha! Now I think we may be getting somewhere:)
Our email account host is different than our blog host. Any ideas?
Mike Cherim responds:
Posted: February 8th, 2007 at 6:45 pm →
Hmm, maybe it would possible to whitelist the one you’re using with your host… or, is it possible to get a domain email account to use for the form? Just guessing.
Alex responds:
Posted: February 8th, 2007 at 6:59 pm →
I actually have control over all of that. They’ve given me an admin panel (plesk) which gives me many different options, including creating email accounts. The restriction though, is that all email accounts must end in @blog.trossenrobotics.com. I created an email account, and changed the admin’s registered email account to match the one that I created. Unfortunately that didn’t work:(
I talked it over with my host a bit and this is what they had to say:
I really hope that all of this doesn’t mean I can’t use your plugin, cuz I love it man!!
craig responds:
Posted: February 8th, 2007 at 7:01 pm →
Mike,
Is there a way to edit a page w/o using the rich editor? I cannot remove the parsed tags no matter what I try.
Mike Cherim responds:
Posted: February 8th, 2007 at 7:29 pm →
@Alex: I’m afraid that if the form has to send login information it doesn’t do that. I suppose it could be modded to include that info but I’m not exactly sure where it’d be added. This is a pretty odd situation. And @blog.trossenrobotics.com didn’t work for you? That stinks
@Craig: I responded to your post here: http://green-beast.com/beastblog/index.php/2007/01/19/support-questions/#comment-53
Why’d you post in both blogs?
craig responds:
Posted: February 8th, 2007 at 7:41 pm →
sorry about that mike. I posted over on the wrong support forum I guess. I deactivated the rich editor and was able to get the code un parsed but it still does not work. Here is the form page: http://www.craigmolway.com/blog/?page_id=210
The page just looks blank. I even tried changing the server request to told alex in line 1247 to look like this “” without any luck.
I am stumped.
Alex responds:
Posted: February 8th, 2007 at 7:52 pm →
Hey! I actually got the form to submit without an error:)
We actually have two domains on our host’s server (trossenrobotics.com and blog.trossenrobotics.com). What I did, was I went into the trossenrobotics.com domain, and created the email that is already registered to the admin in Wordpress.
Thing is now though, is that the none of the emails come through to the admin:(
Mike Cherim responds:
Posted: February 8th, 2007 at 8:21 pm →
@Craig: It’s cool. I went to your page and it’s still parsed. I;m stumped too. I don’t know why it’d be parsed. If you want contact me by email at mikcherim at this domain or use my form and set me up with a login and I’ll take a look.
@Alex: So the form is submitting but you’re not receiving the emails? Grrr. I can extend to you the same thing I offered Craig, though I’m not sure what I can do. I guess I can try my email to see if it’s sending to me anyway. If it’s submitting and not coming through it could be something else — possibly.
Alex responds:
Posted: February 8th, 2007 at 8:43 pm →
Well, I think my host is checking a couple of last things on our end. I’ll get back to you once I hear back from them. Thanks again for all your patience and support!
Mike Cherim responds:
Posted: February 8th, 2007 at 9:03 pm →
No problem Alex. I hope they have some ideas because I’m about tapped out. I still haven’t heard from KJ which is sort of a bummer.
Aaron responds:
Posted: February 10th, 2007 at 5:22 am →
Hi Mike - great little plugin. I’m currently skinning it to fit my site - should have it up and running in day or two.
In the meantime I’ve listed your plugin in my Top 10 plugins for a WordPress newbie - clearly an achievement to be immensely proud of!
Thanks for all you work on it.
Mike Cherim responds:
Posted: February 10th, 2007 at 10:08 am →
Thanks for the mention Aaron.
EB responds:
Posted: March 6th, 2007 at 5:20 am →
First, let me say thanks for this great script. It looks awesom!
The main things, like the text above the open lines, I altered already.
Next stop: digg a little deeper into the style.
But before I do that I have just one question/remark: the costum tabindexing doesn’t seem to work.
I didn’t want the phonenumber line to be visible, and I have a privacy policy, but the link doesn’t appear in the form. How do I costumise the form tabs? I used 0 for not visible, and then 1-9 to get the order right.
What am I doing wrong?
Thanks, EB
Mike Cherim responds:
Posted: March 6th, 2007 at 10:10 am →
Hello EB. Tabindexing doesn’t control visibility. It is the order one goes through the form via they’re keyboard): Tab. Regarding the privacy policy link, you should fill in a URL for it and select “yes” and it should show up (attached to the main legend). That said, looking at your contact page and I don’t see any of the legends so I’d look at the style sheet to see what you did with them. I didn’t investigate but I’m guessing you made them so that aren’t seen? Please be careful making too many edits; you could compromise the accessibility and usability of the form.
Kali O. responds:
Posted: March 16th, 2007 at 5:16 pm →
Hello. I’m working up a wp site on my local host. I am trying to configure the form URL, but it keeps giving me the malformed page URL message. Is it rejecting it because it is a local address? Have you seen this before?
Here’s the URL: http://localhost:8888/wordpress/contact/
Thanks!
Kali O.
Mike Cherim responds:
Posted: March 16th, 2007 at 5:50 pm →
Hello Kali O.
It shouldn’t give you that warning I don’t. the malformed URL message is only given if 1) the URL doesn’t contain http:// and 2) the “.” The reason it does that is some people might accidentally put a semi-colon instead of a colon, or a comma instead of a period. I did notice a page didn’t load with that URL you gave.
That said, I suppose it could be the second colon even though I don’t think it should be a problem. One quick way to tell is to remove it and see if that clears up that error. Obviously the form won’t function without the right address, but it will instantly tell us if that second color is the issue.
Do let me know please.
EB responds:
Posted: March 19th, 2007 at 4:57 am →
Hi Mike,
Thanks for your response. I get the Tabs now.
The privacy policy is still a mystery. I have the URL and I checked Yes, but still no link.
Is it because I use special permalinks? Should I use the original link and not the permalink?
What do you mean by not seeing the legends? I have altered the text above the text boxes, but I haven’t altered anything else. The stylesheet I use is default.css.
Thanks, EB
Mike Cherim responds:
Posted: March 19th, 2007 at 8:42 am →
Hello EB. Turn off styles and you’ll see it. It is there. You’re not displaying the legends; you’re hiding them with CSS, and the privacy link is nested in the main form legend. When making edits there are always risks apparently.
EB responds:
Posted: March 19th, 2007 at 10:07 am →
Hi Mike,
Thanks for your speedy reply. I know, I must look like a complete idiot, but with what CSS am I hiding them?
For Form theme I have selected none. But still……..
Should I change something in my theme template style.css? Or in the plugin form?
I am so sorry to keep bothering you.
Thanks, EB
Mike Cherim responds:
Posted: March 19th, 2007 at 10:52 am →
In your main style sheet you have this:
legend,#searchform label{display:none;}
Change it to this (remove legend)…
#searchform label{display:none;}
Or better (for accessibility)…
#searchform label{position:absolute;top:-9000px;left:-9000px;}
Kali O. responds:
Posted: March 19th, 2007 at 1:41 pm →
Mike,
Thanks. It wasn’t the second colon. It was the lack of a period. Once I changed the page to contact.php instead of /contact/ it accepted it. Unfortunately the .php page doesn’t exist, so I will figure out how to add extensions to my page names.
Cheers,
Kali
Kali O. responds:
Posted: March 19th, 2007 at 2:02 pm →
Hmm … but I can’t figure out how to add a .html or .php extension to a word press PAGE. i can add one to a post … but not to a page. Hmm … interesting.
Mike Cherim responds:
Posted: March 19th, 2007 at 2:14 pm →
Hello Kali O., it probably won’t be an issue once the site is on the web. When it is it’ll have a “.” as in .com, .net, .org, etc. I would just focus on the styling for now, and once it goes live it should test just fine. Make sense?
EB responds:
Posted: March 20th, 2007 at 4:17 am →
Thanks for your feedback (again) Mike!
I think the problem is the theme entirely. Even after the new CSS line you provided the legends still aren’t there, but my other themes (accessable through theme switcher) do give the legends. So problem solved (kind of).
Many thanks for your help.
EB
EB responds:
Posted: March 20th, 2007 at 8:15 am →
Hi Mike,
I don’t know what I did exactly, but it works, even with my original theme!!! )
I updated my permalinks, maybe that was the problem.
But I’m happy. Thanks again for your help, and your great form.
EB
Mike Cherim responds:
Posted: March 20th, 2007 at 8:45 am →
Hello EB, maybe it was cached and needed a hard refresh, then switching themes did that… maybe. Glad all is well.
Kali O. responds:
Posted: March 20th, 2007 at 1:31 pm →
thanks. i’ll work on getting it online.
Cindy responds:
Posted: March 25th, 2007 at 10:16 am →
Hi, Great plugin here..thank you!
Is there a way to take off some of the fields on the form?
For example, I would only like to have name, email, website, the dropdown box and the message box.
Is that possible?
My form is here http://shs1987.org/register
Thanks!
Mike Cherim responds:
Posted: March 25th, 2007 at 11:51 am →
Hello Cindy, if you want to remove the phone it is possible to just comment it out. To do a more thorough job it should be taken out of the outputted info (in emails and on success message) within the script. Custom form work is something I do if needed.
Jay responds:
Posted: March 25th, 2007 at 4:27 pm →
Hello!
Great plugin! But does anybody have a french translation avaible for it?
Mike Cherim responds:
Posted: March 25th, 2007 at 5:04 pm →
Hello Jay. Nobody was created an official translation for distribution in French yet. If you are interested in doing this, let’s talk. Just contact me and I’ll let you know what I require. Many people have translated it for themselves, but for distribution I have to retain a copy and the maker has to agree to some specific terms, etc.
kaitlin responds:
Posted: March 25th, 2007 at 7:44 pm →
I seem to be having a problem with the initial configuration - I put in all of the options, click submit and am redirected to a page that says the page I’m trying to access can’t be found and it offers for me to search my site. I got back to the config and nothing has updated….
Mike Cherim responds:
Posted: March 25th, 2007 at 8:25 pm →
Please give me a link Kaitlin. I’m sure it’s something simple, but unless I can see it I can’t help. If you don’t want to post a link here that’s cool, just send it to me by way of my contact form. Thanks.
Fred responds:
Posted: March 26th, 2007 at 10:00 pm →
Most excellent form Mike, thank you for your hard work
The one thing that would make it ideal for my use is the ability to use it to contact more than one person, particularly linking to my site’s authors. I could see using a drop-down list of authors for the visitor to select, and then go from there. Beyond my meagre ability to code though
Mike Cherim responds:
Posted: March 26th, 2007 at 11:04 pm →
Thanks Fred
We do offer a “commercial” version that has that exact feature — it can be used to contact one user or infinite users (entered the way contact reasons are entered, but as “
User Name, users@email.org
“). All users get a personalized email too. It’s fully supported as is the free version, has a different configuration and a special help page to match.If you want to see an example in use check out the version at Accessites. The one at Accessites is modded further due to it having a dual purpose, but the required distribution is what you’re asking about I do believe. That version is v.20WPM (for multi-user).
Kaitlin responds:
Posted: March 26th, 2007 at 11:45 pm →
It looks like it’s just going to my 404 page when I hit the configure button. I just realized that some of my other admin pages are sending me there, too when I try to update things, so it might be a problem in my WP installation instead of with the plugin…booo.
Mike Cherim responds:
Posted: March 27th, 2007 at 12:02 am →
Well keep me posted Kaitlin.
Kaitlin responds:
Posted: March 27th, 2007 at 1:31 am →
I thought I had it fixed, but I’m still getting a 404 error page when I submit my configuration.
This is what I used to fix the other problem I was having: http://wordpress.org/support/topic/77335
Kaitlin responds:
Posted: March 27th, 2007 at 1:34 am →
Okay, sorry - after a little poking around, I entered this into my .htaccess file - it looks like my host has something configured that was causing the problem:
SecFilterInheritance Off
Kaitlin responds:
Posted: March 27th, 2007 at 1:34 am →
And it doesn’t like coding at all
<*Files admin.php>
SecFilterInheritance Off
<*/Files>
Mike Cherim responds:
Posted: March 27th, 2007 at 1:55 am →
I don’t know what to say. I’m not really familiar with that server setting. Sorry.
David Paul Robinson responds:
Posted: March 29th, 2007 at 12:24 am →
I’m getting this error when a user tries to submit the contact form. Any ideas?
Referrer Missing or Mismatch: It looks like you’re trying to post remotely or you have blocked referrers on your user agent or browser. Using your “Back” button, please go back and try again or use my regular email, [email removed], to circumvent Referrer Mismatch.
Mike Cherim responds:
Posted: March 29th, 2007 at 8:39 am →
Hello David, I removed your email from your comment so it isn’t exposed. Within the error it shouldn’t be a problem, but in a comment it wouldn’t be safe from harvesting.
The referrer mis-match issue is most likely (99.99%) caused from not entering the form page URL correctly. Go to your contact page (where the form will be I am assuming), and copy the URL in your browser’s address bar. That is what needs to go in “Form Page URL” input in the config.
Let me know if this helps.
David responds:
Posted: March 30th, 2007 at 4:47 am →
I wanted to say thank you for the great plugin. Its easy to install and works like a charm. Also, the section on the main page delineating which files are which is invaluable and should be emulated by others producing open-source plugins for the common man, who is often tech savvy without being technical.
The Best of the Beast in 2006 » Beast-Blog.com responds:
Posted: April 1st, 2007 at 12:17 am →
[…] 2006/10: WordPress-Ready Contact Form v.2.0WP […]
Alberto De Lucca responds:
Posted: April 4th, 2007 at 7:10 pm →
Hello Mike, I love your contact form.
Has there been any attempt at localizing according to GETTEXT?
I’d love to help translating the form in spanish, if only someone told me which text to translate.
Thanks a lot, excellent work.
Mike Cherim responds:
Posted: April 4th, 2007 at 7:28 pm →
Hello Alberto. We do plan to do that at some point. If we do it’ll more than likely brand new version with certain modifications — including a *.pot file for using GETTEXT. Some of the modifications will be to add better control of legends, labels, errors, and any other text. This old dog has to learn a few more tricks in the meantime. During the wait I can do customizations, including language customizations to a specific language for anyone who is fluent in both English and their language of choice. This is a paid service but it’s all I am prepared to offer at this point in time. The new version will be a quite a wait as it will take a solid week of work to make so a chunk of time, which is quite limited, will have to be scheduled. Sorry.
kaush responds:
Posted: April 22nd, 2007 at 12:10 pm →
Hi Mike,
I am what one would call a beginner/almost novice when it comes to webpages, styling etc. I absolutely love your contact form. The instructions you provided made it absolutely easy to install it! I wanted a Contact Form on my site but was dreading setup and installation. Your site made it so easy! Thanks so much for the contact form. I am still learning the different features and styling, but I will be recommending it to all
Thanks,
Kaush
mitch responds:
Posted: May 4th, 2007 at 4:10 pm →
I love this plugin except it doesnt send me mail. The form installs, the config goes but I dont get any mail or CC on anything when I test it. This may be a mail/sendmail issue. I saw KJ seemed to have a fix for it, can you post that up? I would love the re-write . check out the site to see what I mean. http://www.new-hole.com
Mitch
Mike Cherim responds:
Posted: May 4th, 2007 at 4:32 pm →
Hi Mitch. If the mail function isn’t enabled you’ll get a warning stating that. As far as KJ, he implemented the PHP mailer class (Google that), but he never got back to me as far as what he did specifically. What you should do is contact your web host as they may have the function enabled but have some other road-block in place
Please note, I did try your form and I got a completely blank page upon submitting it. That is not normal. I would consider checking out your error logs before contacting your host. Also, there are some validation issues on the page so you should probably attend to those. I doubt that would affect form performance, but it’s a good idea anyway.
I know I’m not offering much in this reply, but I hope it helps all the same.
Ng Wai Loong responds:
Posted: May 6th, 2007 at 8:52 am →
Hi!
I’m having a problem with the field.
“Your form page URL:”
Obviously, I created a Wordpress Page and configured that field to the page:
http://wwww.yourdomain.com/about/
What happens is I need to submit the contact form at least twice before the form can take in the filled information. I noticed that the source PHP code requires detection of “#results”. Could there be a problem for a setup like this on a WP page?
I have to specifically tell my visitor to click the “Submit” button at least once before typing in their information.
Does anybody else have this problem too?
Mike Cherim responds:
Posted: May 6th, 2007 at 9:09 am →
I’ve never heard of that one. The results fragment ID is just there to return users to the resulting error or success message, but that doesn’t need to go into the form page URL.
Cynthia responds:
Posted: May 23rd, 2007 at 6:00 am →
Hello,
I am testing the form on my site. I answered the human test question with a wrong answer and got the expected wrong answer page. I clicked on the Back button to return to the form to provide the correct answer but the contents of the form had been cleared. Visitors who have a typo in their answer aren’t going to like having to re-enter their information and comments if they get a wrong answer. Is there any way to retain the user’s field entries if they need to return to the form to give the correct answer?
Thanks.
Cynthia
Mike Cherim responds:
Posted: May 23rd, 2007 at 8:40 am →
Hello Cynthia, We knew this happened to Safari users, and from what we found out yesterday it can happen to some IE7 users, though not all. It doesn’t clear the inputs for me using IE7 (on Win XP, WP, 2.0.5). It doesn’t do this with IE6, Firefox, or Opera, either. We’re trying to avoid setting a session as some people don’t have cookies (that’s why the Q&A isn’t randomized). Truthfully, I don’t even know why it’s doing that. That’s not normal browser behavior. Hitting the back button shouldn’t do anything to the page. Same thing refreshing a filled in form. It shouldn’t do clear the fields.
So, since this is twice in two days, please tell me what browser you’re using… is it IE7, Safari, or something else? Also. Please tell me what operating system (Vista bug?), and what version of WordPress (a new 2.2 issue?). This will help us figure out what, why, and how to fix. Thanks.
Samuel responds:
Posted: May 27th, 2007 at 6:35 am →
I would like to know what License apply to this plugging.
Thanks.
Mike Cherim responds:
Posted: May 27th, 2007 at 8:35 am →
Use, modify, but no distribution. I’d have a CC license on it but the licenses seem to all authorize distribution so I’ve fallen back on a simple copyright with terms.
listikal responds:
Posted: May 31st, 2007 at 1:52 pm →
Wow, excellent plugin. These thing is as slick and easy as it gets. You should leave an option for removing certain fields though, such as the phone field. I ended up manually removing it from the code, so it wasn’t a big deal, but still would be easier if we could remove it through the WP interface.
Check it out: www.listikal.com/contact
Elliott Cross responds:
Posted: May 31st, 2007 at 4:24 pm →
Mike,
I love this plugin! I have made the jump to Wordpress and was excited when I noticed that there was a WP form, and thought that as a plugin it would be easy to get going. I have read the discussions down to this point, but am having problems.
At first, the form would keep giving me a referrer mismatch, so I have deleted all files, etc. 3 times, to make sure I got it installed correctly. It was still giving me the errors. So, i tried changing the REQUEST_URI to PHP_SELF, like the suggestion was, but now it just takes me right back to the front page, no errors however, but no success/failure message.
Not sure what else to try….any ideas?
Thanks!
Mike Cherim responds:
Posted: May 31st, 2007 at 4:43 pm →
The form action shows index.php so that’s why it’s jumping to home, and it’s not sending as it has to stay on that page to re-process the script and send the mail.
In the config, in the “Form Page URL” do you have this? http://ejcross.com/contact/ If not, that’s what you need. If so, and the REQUEST_URI is back, you might need to ask your host. It seems that when we can’t figure it out, the host has been able to change something in the PHP.ini file, or something.
Elliott Cross responds:
Posted: May 31st, 2007 at 6:06 pm →
Mike, I have disabled the “cc” option, changed the PHP_SELF back to REQUEST_URI, and the config info is correct. Still not sure what else to try, I do have full control over the php.ini file, and it is the default setting from the WP install. Do you want me to email it to you, or is there something else I am missing. I am running PHP 5 by the way if it makes a difference….
Elliott Cross responds:
Posted: May 31st, 2007 at 6:22 pm →
Ok, so it’s been a long day at work, and I remember something about our city network having issues before. So, I fired up the laptop, dialed up (yuck) and it works now for some reason. Not sure what is going on, but hey, at least it’s working now!
Thanks a ton Mike!
Mike Cherim responds:
Posted: May 31st, 2007 at 6:33 pm →
Hi Elliott. The CC option shouldn’t have any bearing. I just visited you and it tested fine for me. Hopefully it’s fixed. I do remember one fellow who did something wrong in the configuration, then fixed it, but still had problems. It took a bit, but we learned it was his cache. He did a hard refresh and it worked
Let me know if you have any more issues with it.
Clive Loseby responds:
Posted: June 8th, 2007 at 11:16 am →
Hello there, thank you for providing such an excellent plugin. I have been wondering if it would be possible to have two or more forms, separate such as one for a straught contact form and the other for perhaps a booking form of some kind? I tried the obvious (duplicating the folder) and, although the copy duly appeared in the wordpress plugin page, it halted with a fatal error. Or this is already available in the commerical version?
Many thanks
Mike Cherim responds:
Posted: June 8th, 2007 at 11:34 am →
Hi Clive. Unfortunately that isn’t available at this time. There can be only one set of database tables. To change that would be rather involved. Had we known…
Clive Loseby responds:
Posted: June 8th, 2007 at 11:49 am →
Hi Mike, thanks very much for letting me know, much appreciated..
Best wishes
Clive Loseby
Igor responds:
Posted: June 16th, 2007 at 8:34 am →
Mike!
When we can expect version for WP 2.2?
Mike Cherim responds:
Posted: June 16th, 2007 at 9:01 am →
You got it, Igor. This version of the plugin works in all WP versions from 1.5 to 2.2.
EB responds:
Posted: June 18th, 2007 at 3:41 am →
Hi Mike,
I’m running WP 2.2 a few weeks now and the contact form has gone blank. (see: http://www.sterrenmeisje.nl/contact-me/)
Can you please help me with some suggestions to get it fixed?
Thanks!
EB
Mike Cherim responds:
Posted: June 18th, 2007 at 7:58 am →
Hi EB. Looks like your host did something, or that’s what that error sort of seems (not one I’ve seen before). I would ask your host about it.
Igor responds:
Posted: June 18th, 2007 at 2:28 pm →
Hi Mike!
I’ve got problem. as well. When I active the plugin, I can not even open a configuration page. The page is blank.
Can you please help me with this?
Mike Cherim responds:
Posted: June 18th, 2007 at 3:25 pm →
Hi Igor. I will need to know what error or errors are being generated in your error logs. Otherwise I really have no idea what it could be.
Igor responds:
Posted: June 18th, 2007 at 3:35 pm →
Mike, how can I check error logs?
Mike Cherim responds:
Posted: June 18th, 2007 at 4:35 pm →
Contact your host Igor.
Igor responds:
Posted: June 19th, 2007 at 3:40 pm →
Hi Mike!
This is the error:
[error] PHP Fatal error: Cannot access empty property in
/wp-includes/functions.php on line 282
Mike Cherim responds:
Posted: June 19th, 2007 at 4:27 pm →
I’ve seen that a couple of times when 2.2 was released, and it seems to be associated with that functions file and not the contact form script. I wish I knew what it was but I don’t I’m afraid. You might want to take this to the WP forums. Sorry.
alias responds:
Posted: July 1st, 2007 at 2:25 pm →
how about mutliple instances of the form ? more than one form sent to different email addresses, there’s another wp plugin that has this capability
Mike Cherim responds:
Posted: July 1st, 2007 at 4:12 pm →
@Igor: That error is related to the Ultimate Tag Warrior plugin. Finally we know
Ref: http://wordpress.org/support/topic/123431?replies=4#post-582692
@alias: I guess wouldn’t hold your breath waiting for it. We do have a commercial version where the user can select the recipient, but that’s about it.
Manuel Merz responds:
Posted: July 3rd, 2007 at 3:14 pm →
Heya guys, first of all thanks a lot for coding such a great plugin for wordpress. I am fairly new to the whole worpress thinggie and stuck on your form. I did all the needed settings but don’t get the form working
If I add this
<!--gb_contact_form-->
to my page it doesn’t get parsed and showing the form instead it shows the variable itself like<!--gb_contact_form-->
Any ideas?
Mike Cherim responds:
Posted: July 3rd, 2007 at 11:41 pm →
Try turning off the Visual Rich Editor. If it’s being displayed as
<!--gb_contact_form-->
then it’s actually being converted to<!--gb_contact_form-->
by WordPress.Manuel Merz responds:
Posted: July 4th, 2007 at 4:23 am →
You’re tha man, many many thanks
Igor responds:
Posted: July 7th, 2007 at 1:28 pm →
Mike, many thanks for help. I’ve to change the tag plugin.
Scot Hacker responds:
Posted: July 11th, 2007 at 5:48 pm →
I’m running a site with a lot of authors (a WordPress-based CMS with literally hundreds of authors). Rather than having the contact form go only to a single address, I’d like the ability to craft story byline links that would send a parameter to the contact form (such as their author ID), which would then resolve that back into their email address internally (safe from spambots).
So the link from the byline would look like /contact/?author=312
And the contact form would query for the email address of author 312 and do the right thing.
Is this kind of customization possible with the current version? Any guidelines or suggestions appreciated. Thanks.
Mike Cherim responds:
Posted: July 11th, 2007 at 6:24 pm →
I suppose that could be done somehow, your suggestion is a good one. And with hundreds of authors it could be smart. However, I don’t have the time to really deal with figuring it out. I’m rebooting a really large site, making three small ones, and I was asked by New Riders yesterday to write a book on web accessibility. As an alternative — one that’s actually available now — is a multi-user form with a select/pulldown of recipients (in your case the options would have to be entered alphabetically).
We do offer one for $70 ($50 to GAWDS and WSG members). It’s the commercial version of our form. An example of it can be seen on Accessites.org, though the copy there was modified to meet a specific need. Let me know if that interests you.
Scot Hacker responds:
Posted: July 11th, 2007 at 7:26 pm →
Mike - That’s an interesting option. So with that commercial version, would it *just* give the pull-down menu, or could it be the pulldown menu with the correct person pre-selected? Thanks.
Mike Cherim responds:
Posted: July 11th, 2007 at 8:40 pm →
It would be just the pulldown menu. The person sending would have to select the recipient. The advantage I suppose, is you could also offer a general mailbox. Case in point, on the large site I’m building I am offering a choice of key employees as well as a general mailbox, catalog request dept, accounting, sales, support, etc. I’d give a link to show you but I won’t at this time since it’s in the works.
Scot Hacker responds:
Posted: July 12th, 2007 at 5:58 pm →
I see. I think I’ll look into other solutions then. Thanks for your responses, and for the great plugin!
mista3 responds:
Posted: July 17th, 2007 at 5:15 pm →
Nice plugin! Lots of great features!
One thing I would love is a bit more flexibility without hacking the php functions.
Eg: ability to edit the notification email that is sent, ability to edit descriptive text like ‘Optional contact info:’ or ‘Select a contact reason’.
Even if the labels etc where configured in a separate language config file somewhere?
Keep up the good work
alias responds:
Posted: July 18th, 2007 at 1:44 pm →
Have a strange issue with the contact form menu in the admin, instead of the url being what it should be, it starts with
domain/server-path/plugin dir it should be wp-admin/admin.php?
I’m unable to access its correct url unless i physically type in admin.php?
this is on a local machine, has anyone else experienced this ?
Mike Cherim responds:
Posted: July 18th, 2007 at 2:10 pm →
Probably has something to do with being on a local machine. In the past there have been a couple of little oddities when used locally. Once on a web server, though, the issues seem to melt away.
alias responds:
Posted: July 19th, 2007 at 4:05 am →
yea i fixed it, user error
Jason responds:
Posted: July 25th, 2007 at 6:03 pm →
Hi,
Great plug-in, however I am using the Sociable plugin below content and it does not register the include as content so the sociable plug-in in above it. Is there a way to make the include register as content in the contact page post.
Mike Cherim responds:
Posted: July 25th, 2007 at 7:16 pm →
Hi Jason: Not really sure. The plugin is meant to work with content added. Maybe something like this in a template page might work, but I’m not sure:
Jason responds:
Posted: July 25th, 2007 at 8:07 pm →
It worked however it displays contact form -> Plug-in -> Contact Form. Know why it displays the form twice???
Mike Cherim responds:
Posted: July 25th, 2007 at 8:30 pm →
Hmm. Gettin’ there I guess. It seems we have the function calling for content and the form, but the content is being replaced by the form, so we’re effecting putting “Form-Form” on the page. I’m supposing anyway. I think you might have to edit the form file itself, line 1328. Change this:
To this:
I think. Make sure you make a copy. Before you do, make sure the WordPress “Loop” isn’t in the template. If it is, try removing it first.
Jason responds:
Posted: July 26th, 2007 at 2:12 pm →
THAT DID IT THANKS!!!
You are what makes open-source such a great concept!!
Mike Cherim responds:
Posted: July 26th, 2007 at 3:16 pm →
Awesome, thanks Jason.
Ugur SELAM responds:
Posted: August 1st, 2007 at 3:26 am →
Hi Mike,
My problem;
Fatal error: Cannot access empty property in /home/kitapblo/public_html/yeni/wp-includes/functions.php on line 282
:(:(
i need you help
Mike Cherim responds:
Posted: August 1st, 2007 at 8:53 am →
Hello Ugur,
This was discussed a few comments up. It’s my understanding it is the Ultimate Tag Warrior Plugin.
Afizi responds:
Posted: August 3rd, 2007 at 5:32 am →
Hi Mike,
I just installed the plug in.. seems OK at IE but having problem with firefox v2.0.0.6 I think that’s might because of my theme. Any idea on how to fix it? I’m not familiar with css programming.
Appreciate your input. Thanks.
Mike Cherim responds:
Posted: August 3rd, 2007 at 8:53 am →
Looks like you have a parse error in your CSS, Afizi. Something like that can blow-up the site. There’s nothing special about FF 2.0.0.6 (what I have) that should be a cause for that to happen. It might not be seen in some other browsers, but I can pretty much guarantee that’s the issue. To get CSS support, if you can’t find and fix the CSS error, you might want to try Site Point Forums or one of those.
Billy responds:
Posted: August 5th, 2007 at 10:48 am →
Hi Mike, I’m new to wordpress so I’m guessing my problem is probably due to me misunderstanding something very basic. Here’s my contact form page, http://www.liverpoolwebsites.info/contact/ - it is just displaying the text that I entered,
Thanks for your time.
Mike Cherim responds:
Posted: August 5th, 2007 at 12:21 pm →
Hi Billy. The answer is here: http://green-beast.com/blog/?p=134#comment-15982
Billy responds:
Posted: August 5th, 2007 at 4:23 pm →
Thanks for your patience Mike that works great now. Thanks again.
Michal responds:
Posted: August 7th, 2007 at 9:49 pm →
I turned off the visual rich editor and my site still isn’t working. I’m new to Wordpress too, and I sincerely apologize for my ignorance. However, I absolutely appreciate your time and effort.
Mike Cherim responds:
Posted: August 7th, 2007 at 10:26 pm →
Make sure it’s a “Page” you’re adding that to. Write > Page Call it “Contact Me” or something to that effect, then add this to it…
<!--gb_contact_form-->
…and publish. Then grab the URL of your new contact page and do the configuration part.
Derrick responds:
Posted: August 9th, 2007 at 7:59 am →
Hi,
After active this plugin, I tried to config the setting, but I got the error response :
“Fatal error: Cannot access empty property in /home/linsunor/public_html/blog/wp-includes/functions.php on line 282″
Anything I did wrong ?
Many thanks
Mike Cherim responds:
Posted: August 9th, 2007 at 8:23 am →
Hi Derrick. The answer is here: http://green-beast.com/blog/?p=134#comment-15982
Derrick responds:
Posted: August 9th, 2007 at 9:51 am →
Hi Mike,
I turned off the “Use the visual editor when writing” function in my profile setting but still doesn’t work.
Mike Cherim responds:
Posted: August 9th, 2007 at 11:08 am →
Are you sure you’re creating a “page” and not putting it into a post. If they answer is yes, please send me some login info via my form and I’ll take a look and see if I can’t solve the issue.
Derrick responds:
Posted: August 9th, 2007 at 11:50 am →
Hi Mike,
I can only finish the first 5 steps as your instruction ( wp-gbcf_readme.txt), while configure the form setting, the error occurs. Add page is step 6 which I am not able to do that.
I’d glad to give you info to solve my problem if I can’t make it clear for you to understand my problem.
Derrick responds:
Posted: August 9th, 2007 at 1:26 pm →
Hi Mike,
I found another guy asked the same question on your website…
http://green-beast.com/blog/?p=134#comment-16816
Derrick responds:
Posted: August 9th, 2007 at 1:41 pm →
Hi Mike,
I am so sorry, it’s me again…I am not good at reading english articles….
I found you mentioned my problem could be made by UTW plugin, but actually I don’t have that plugin or other similar plugins installed….
Sorry to bother you so many times…
Mike Cherim responds:
Posted: August 9th, 2007 at 3:51 pm →
Hello Derrick, if it’s not the UTW plugin I don’t know what it is. I guess I would try disabling other plugins one at a time to see if any make a difference. Also bear in mind that after you disable a plugin you may have to do a hard refresh of your browser to clear the cache. Sorry, this is a fairly new problem we thought (and has been confirmed by a few people) that UTW was the issue, but if you don’t have it I’m really stumped.
Derrick responds:
Posted: August 10th, 2007 at 1:38 am →
Hi Mike,
I give up….I disable all my plugin except yours, the error remains…..
BTW, my php version is 5.1.6, does that matter ?
Mike Cherim responds:
Posted: August 10th, 2007 at 5:59 am →
Hi Derrick. Sorry, I don’t know what to say, but my invitation to let me come over and help remains. As far as that version of PHP… nope, should be fine.
Jared responds:
Posted: August 13th, 2007 at 10:52 pm →
Howdy,
I’m using the form successfully! BUT…
I am experiencing some weirdness with how it is displaying. More specifically, WHERE it is displaying. Take a look here:
http://www.image-farm.net/contact/
I want the form to display between the “drop us a line” and the “telephone and address” heading tags.
Here is the code from the WP admin (I’ve tried it with and without the and with h2’s as well):
Drop us a line
To request an estimate or to find out what’s cropping up just use the handy form below. We’d be happy to hear about your next creative project ~ please provide a few details to get us thinking. And even though Vermont is home sweet home, we provide art and design services anywhere you need them.
<!--gb_contact_form-->
Telephone and Address
Or if you prefer to use traditional methods...
802.388.8989
The Image Farm, LLC
308 Mead Lane
Middlebury, Vermont 05753
Thanks for your help!
Best,
Jared
Mike Cherim responds:
Posted: August 13th, 2007 at 11:15 pm →
To have content show up before and after the form you’ll have to make a template. It won’t honor where you place the snippet because the script dictates that there will be optional content, and then the form. Making a template isn’t very hard to do, and you can all sorts of addition fixed content in the file. It’d be: WP Content > Form > Fixed HTML content inside template. There are how-to instruction in the FAQs on the Documentation page.
Ananya responds:
Posted: August 23rd, 2007 at 2:05 pm →
Hello Mike,
I tried to install the contact form on my wordpress blog loverslawn.com but I am getting the same error (HTTP Error 406 - Not acceptable) no matter how hard I tried to implement it successfully. Can you please tell me what I am doing wrong? I have already gone through the comments above but I suppose nothing favours me…
Here is the link to my contact page http://www.loverslawn.com/contact/
Thanks for your time!
Ananya
Mike Cherim responds:
Posted: August 23rd, 2007 at 3:14 pm →
Hi Ananya. I’ve never even heard of a 406 error to tell the truth. I went to your site and tested the form, but I got a blank page when I submitted it. What you need to do is check out your error log and see what’s being written to it when submitting. Do you have the Ultimate Tag Warrior plugin? I ask because I suspect the error will be one of those empty properties errors I’ve been hearing so much about lately.
Ananya responds:
Posted: August 23rd, 2007 at 5:59 pm →
Yes I have the Ultimate-Tag-Warrior 3.14159265 Plugin activated… is that causing the problem?? Do I need to de-activate that?? If that is the case, can’t I have both the plugins working simultaneously?????
Mike Cherim responds:
Posted: August 23rd, 2007 at 6:20 pm →
That’s my understanding. I don’t know what the issue is or whose bug it belongs to so that’s all I can offer at this time. Sorry.
Ronnie responds:
Posted: September 3rd, 2007 at 7:20 am →
Hi….
Mike, thanks a million for this plugins. I’ve tested it on wordpress 2.2.2 + GlossyBlue theme and it work perfectly.
But, I still have a trouble when changing the “optional” section for website to “required”, so please tell me the way !.
Thanks,
R
Mike Cherim responds:
Posted: September 3rd, 2007 at 8:20 am →
To do that Ronnie you’re going to have to get into the script and add that the the scripting that handles required fields, then move the input into the required fieldset.
Luke responds:
Posted: September 19th, 2007 at 1:17 pm →
How do i get rid of the bar saying “Your website name etc” Contact Form?
Mike Cherim responds:
Posted: September 19th, 2007 at 1:46 pm →
I don’t want to sound like a jerk, Luke, but you really should read the documentation that comes with the plugin as this is clearly answered. On the config page, section 4 of 7 (Heading Options), where it asks: “Show form heading?” Select “no” and save your changes. That’s it!
Luke responds:
Posted: September 19th, 2007 at 2:54 pm →
Ah… to tell you the truth since it is the last part of section 4 I just thought it was for something when the form was sent as you have the error and success thing. Yet, it clearly says it in the Section 4 help.
Thanks for the help though.
Yuzuru responds:
Posted: September 23rd, 2007 at 2:21 pm →
Hello, thanks for the plugin — marvellous!
I have two questions for the authors (apologies if this has come up already):
* Will the current version work with WordPress 2.3?
* Is the plugin internationalized? I would like to use the form on a multilingual blog using poplarware’s language switcher plugin. I would like to allow my readers to switch between languages on the contact form.
Mike Cherim responds:
Posted: September 23rd, 2007 at 2:40 pm →
1) Yep, works with 2.3
2) Nope, not at this time… sorry.
Ben M responds:
Posted: September 25th, 2007 at 1:13 am →
I just updated to 2.3. For some reason, the configuration page is unavailable in the admin section for me. Is this just affecting me? Additionally, the contact page fails to load at the point when the call is made to load the contact form. Have you heard of this happening to anyone else?
Mike Cherim responds:
Posted: September 25th, 2007 at 7:39 am →
Do you have the Ultimate Tag Warrior (UTW) plugin Ben? There is a conflict with that is supposed to be fixed according to the maker of that. That’s the only issue I’m aware of.
Ben M responds:
Posted: September 25th, 2007 at 8:50 am →
I had deactivated and deleted UTW. I’ll go through my plugins and see if there are any conflicts. I forgot to mention that the other contact form admin pages (style, help, main page) all load; it’s just the configuration page that has issues. - Could that be a db problem?
Mike Cherim responds:
Posted: September 25th, 2007 at 9:02 am →
That should do it. I haven’t confirmed any other conflicts. You might have to drop the UTW rows in the database (some do, some don’t). Hopefully UTW is updated soon so this doesn’t have to happen. The fellow who isolated and confirmed this bug wrote this:
Ben M responds:
Posted: September 25th, 2007 at 10:53 am →
Perfect! That was the problem. Thanks so much.
Kaka responds:
Posted: September 26th, 2007 at 11:46 am →
Dear Mike
Mike, please help me, your contact form v.2.0WP B20070414 is doesn’t work for me. This’s the first time i use it. So, i’m running latest wordpress version 2.3 with default/kubrick theme. Like your instruction, i tried two installation methodes, first adding
into my contact page, but nothing happen and i got error when using another theme (whithout changing its code). The error like below:
Fatal error: Cannot access empty property in /home/aufkgorg/public_html/wp-includes/functions.php on line 255
So, i use default/kubrick theme again, and try to use other methode like your suggestion here templating method of installation. I create a template, called contact.php like below (sorry the al codes i paste here) :
">
Read the rest of this page »'); ?>
Pages: ‘, ‘’, ‘number’); ?>
ID); echo $post_data->post_content;
// FORM SHOWS NEXT
gbcf_show();
?>
But, Mike, i got error again exatcly like above I think your conatct form is incompatible with wordpress 2.3 ! So, can you make some “update” for this contact form, surely i want to use it.
Blessing,
K
Mike Cherim responds:
Posted: September 26th, 2007 at 11:50 am →
Hi Kaka. It does work with WP 2.3, the issue is another plugin. These comments should give you the info you need.
Kaka responds:
Posted: September 26th, 2007 at 11:52 am →
Opss.., my template code is disappear you can see here that code i copied from page.php file of kubrick/default theme !
Kaka responds:
Posted: September 26th, 2007 at 12:05 pm →
Mike,
thanks alot for your ultra fast reply, but i never use Ultimate Tag Warrior plugin, i only use the following plugins:
1. Add Lightbox
2. AddQuicktag
3. Admin Drop Down Menu
4. Advanced Excerpt
5. Akismet
6. All in One SEO Pack
7. Browser Sniff
8. CG-FlashyTitles
9. Chunk Urls for WordPress
10. Wordpress Automatic Upgrade
Just these plugins. help me please !
Mike Cherim responds:
Posted: September 26th, 2007 at 12:37 pm →
In the code you showed, you need to get rid of the “loop” and use the code I specify only as that takes care of the content. Regarding not having UTW, it must be one of those other plugin but I’m afraid I don’t know which one… yet.
Curtis Penner responds:
Posted: September 26th, 2007 at 8:12 pm →
Hi Mike,
I’ve tried to install your contact form plugin, but I received the following error when I tried to configure…
Fatal error: Cannot access empty property in /home/befitand/public_html/wp-includes/functions.php on line 283
I checked out the Wordpress forums for a solution and came across your comment in response to another person having a similar issue, albeit a different line in the functions.php file…
“I’ve been told the DB tables need to be cleared with any UTW entires and then all will be cool.”
I’ve completely removed UTW from my site, yet still get the error. How do you do what you suggested?
Thanks,
Curtis Penner
Mike Cherim responds:
Posted: September 26th, 2007 at 8:19 pm →
All I can think of is that there is another plugin that is sharing this issue. I would try turning them on and to figure out which one. I wish I knew what it was exactly so perhaps we could stop it on our end. It began with version 2.1 I think and with the UTW plugin. Beyond that I don’t really know.
Boris responds:
Posted: September 27th, 2007 at 1:54 am →
Hey Mike,
great contact form! Just one thing (isn’t there always ). It’s not gettexted. Do you maybe know someone who’s got a gettexted version? Cheers!
Mike Cherim responds:
Posted: September 27th, 2007 at 7:54 am →
I don’t, but we will probably add the code to the script in the future sometime so it’ll be easier to internationalize.
ken responds:
Posted: September 29th, 2007 at 1:03 pm →
Mike! infinite thanxz to u for very fast reply! appreciate that!
but i’m same as Kaka, i never use Ultimate Tag Warrior plugin, i’ve only use the following plugins:
1-AddThis Social Bookmarking Widget (drop-down)
2-All in One SEO Pack
3-aLinks
4-Comment Quicktags
5-FeedBurner FeedSmith
6-Get Recent Comments
7-Live Comment Preview
8-Optimal Title
9-Post Teaser
10-Previous Posts
11-Submit It Plugin
12-TLA InLinks
i hope you or anyone else will figured it out ASAP, great thanxz!
Mike Cherim responds:
Posted: September 29th, 2007 at 1:36 pm →
All I can say is it’s probably one of those. Try turning them on or off one at a time I guess (though you may have to drop applicable database rows as well. As soon as I know exactly what the issue is, and what the form plugin has to do with it, and if it can be prevented at this end, I’ll definitely apply a patch.
ken responds:
Posted: September 29th, 2007 at 1:50 pm →
TQ for your fast reply!
I’ll be waiting for the fix!
great thanks!
guilherme machiavelli responds:
Posted: October 9th, 2007 at 10:47 am →
hi there
first, i’d like to thank you and mike jolley for the plugin. it is really good and works like a charm.
what i’d like to know is if it’s possible to use a input type=”image” in instead of the input type=”submit”. i was using it in this site and the form worked fine in firefox/safari/opera, but did nothing in ie6 and ie7. as soon as i changed the input from image back to submit, it worked again in ie.
perhaps this is a obvious question, but i’m more of a designer, not a programmer. i searched for the question in the previous comments, but found nothing like it.
thanks in advance
Mike Cherim responds:
Posted: October 9th, 2007 at 11:39 am →
Ciao guilherme. Changing
type="submit"
totype="image"
should work. You will need to addsrc
,height
,width
, andalt
attributes but it should work. Just don’t change thename
orid
.One thing I did see is you need to select XHTML for the form mark-up. That is set to HTML now and it needs to be changed. Believe it or not that could affect form function of some browsers.
Alternatively could could also style the
input.button
in your CSS and modify the look of the existing submit input to complement the looks of your site.Not sure if this helps, but I hope so.
guilherme machiavelli responds:
Posted: October 9th, 2007 at 12:53 pm →
ciao, mike =)
i changed the xhtml to html in a desperate attempt to make it work =P
and, well, i’ll try to work something here. personally, i don’t think that default form styling is all that bad, but i’ll try a little more anyway. wanted to know if at least that was a known bug or a common error not listed in the faq.
thanks for the quick reply. and for the plugin =)
Mike Cherim responds:
Posted: October 9th, 2007 at 2:29 pm →
Ciao guilherme, No bugs that I’m aware of so it was probably some simple little oversight. Let me know how it goes.
Mike Cherim responds:
Posted: October 13th, 2007 at 9:23 pm →
Installation and Configuration Presentation
Check out this cool contact form installation and configuration presentation.
Flash courtesy of WordsPlural.
K.W.Stearnes responds:
Posted: October 16th, 2007 at 1:03 pm →
Hello all. First and for most, thanks for the great contact form. I do have one question which is pretty simple, but not so much for me. I am wondering how I can take out the “Phone Number” part of the contact form? I assume you just comment out some lines of the PHP but there are so many I am afraid that if I comment out the wrong lines I will make things worse. I figure this is an easy question, at least I hope. Any help would be greatly appreciated.
Mike Cherim responds:
Posted: October 16th, 2007 at 1:17 pm →
Hi KW. You do have the right idea. Put the comment start on (new) line 1271, after the legend, then put the closing comment on (new) line 1273, after the label/input. Like this:
This will leave a blank for phone in the success output and emails, but it’ll be error free — and probably no big deal. You can probably copy and paste what’s above if you want.
K.W.Stearnes responds:
Posted: October 16th, 2007 at 1:31 pm →
Thank you sir.
Brian Parton responds:
Posted: October 26th, 2007 at 9:44 am →
Love your contact form; it has been working great until this week and not the sender receives this message:
Results: Whoops! Error Made!
Referrer Missing or Mismatch: It looks like you’re trying to post remotely or you have blocked referrers on your user agent or browser. Using your “Back” button, please go back and try again or use our regular email, (my email address is inserted here), to circumvent Referrer Mismatch.
Thanks for your replay in advance,
Brian
Mike Cherim responds:
Posted: October 26th, 2007 at 10:49 am →
Hi Brian. If it’s one user getting that he or she may have referrers blocked. Some people will browse with this type of block which is the reason for the email address (which will stay safe) — to ensure there is an accessible means for them to make contact. If it’s everyone, check your configuration, specifically the “Form Page URL” as I suspect something changed (permalink changes, moved page, etc.). The URL in that config input must match the URL of the page the form is on exactly.
This help?
Brian Parton responds:
Posted: October 26th, 2007 at 12:21 pm →
Mike, Thank you so much for the quick response. I think Zone Alarm Security Suite (or other internet security) seems to be the culprit. The config checks out so on my system, I turned off zone alarm and the contact form went just fine, turned it back on and received the same error. Any thoughts?
BTW, what plugin are you using for this forum here, or is it a standard blog?
Brian
Mike Cherim responds:
Posted: October 26th, 2007 at 1:01 pm →
I’m not familiar with that so I really don’t know. Sorry.
Just WordPress, my BeastBlog v2 theme, and a couple of plugins. So I’d say it’s pretty much a basic build.
Kinster responds:
Posted: October 30th, 2007 at 6:44 pm →
Thanks for this wonderful plugin Mike, it is working fine on my wordpress 2.3 and really like the themes too, thanks so much!
LJK responds:
Posted: November 3rd, 2007 at 3:30 pm →
Hi Mike -
First off, “kudos!” to you for all of your great works.
I’m relatively new to WordPress and php but am learning fast…
am working on a site for a client and want to have guests be able
to either Contact the chef or Register for a class.
Can I create two page templates that use the same form?
Or, is there a way to have sep. versions on each page?
Curious & Thanks in Advance,
El
Mike Cherim responds:
Posted: November 3rd, 2007 at 4:07 pm →
Hi El.
You can. And with some creative script editing you can make them different, to include what you want to accomplish. We also have a form version for sale that you can use to allow the user to select a recipient, a then just use the contact reason menu to offer the choices… but then again, combine the commercial version with some script editing (easy stuff really) and you could do a lot.
Multiple form plugins are not supported I’m afraid as they’d be sharing the same info. Had I known I would have made it possible, but I didn’t and it’s a huge deal making it so I afraid.
Mark responds:
Posted: November 19th, 2007 at 5:43 pm →
Hello,
I like your plugin very much. I have 2 questions
When a user fills in the fields and missed 1 of more fields an error is displayed that required fields are missing. When I pess the back button all filled in fields are cleared. It’s not nice. Is it possible to make a kind of message box.
I want to translate it into Dutch. There is a lot of text. Is it possible to make a language file of more in the configuration tab.
Mark
Mike Cherim responds:
Posted: November 19th, 2007 at 6:05 pm →
Hi Mark. That is a problem that’s been brought to my attention maybe a half dozen times but one I cannot replicate on Firefox, IE, Opera, or Safari so I don’t know what to say. You could try moving the closing
<?php } ?>
to just above the form, that’d keep it all on the same page, but I suspect that would clear the fields for everyone unless the script was re-written. Regarding translation maybe we’llgettext
a future version, though I doubt it’d be built into the config. It’d probably be handled with pot file like most things of this sort.Pete responds:
Posted: November 30th, 2007 at 11:54 am →
Hi - I’ve been having some problems with your contact form and FireFox for the Mac. Not sure when the problem started as I haven’t checked that page in a while, but I’m on FF 2.0.0.10 and there’s nothing but a little “
-->
” symbol where the form used to be. It works perfectly fine in Safari, strangely enough.Haven’t checked in Windows, fwiw.
I entered the link to my contact page in the URL box above if you’d like to check it out.
Pete
Mike Cherim responds:
Posted: November 30th, 2007 at 12:33 pm →
Hi Pete. I would say it’s not really a browser-specific problem (that fact that Safari renders it is a fluke). It looks like you tried to comment out the main legend but you didn’t close it. If you View Source you’ll see the form is on the page, just look at the main legend line, then add in the close for the comment:
-->
Oh, I read what you wrote on your site. It’s not a “plugin glitch,” you just need to be more careful when making custom edits.
Pete responds:
Posted: November 30th, 2007 at 12:59 pm →
Ok, there no need to get bent out of shape about the ‘glitch’ comment. It wasn’t meant as a slight against your contact form, but I wasn’t sure why it was working in Safari and not FF.
Pete responds:
Posted: November 30th, 2007 at 1:13 pm →
BTW, there’s some weird reason why WP isn’t letting me comment out the first piece of ‘legend’ code on the form. I had to take it out completely to get it off the page.
Anyway, thanks for the form - works just as it should.
Mike Cherim responds:
Posted: November 30th, 2007 at 1:45 pm →
Not bent out of shape, just noting that your notice was misleading.
I have no idea why WP would affect the legend at all.
Glad it’s working.
nic responds:
Posted: December 9th, 2007 at 11:55 am →
Just installed it on one of my blogs and it was simple, easy to manage, and installed like a dream
I salute you…and dribble in thanks
Mig responds:
Posted: December 12th, 2007 at 10:48 am →
Hello there. Great form, has been working well for months. Then I changed themes and a js tabbed content box (tabber.js) on the homepage refuses to work in IE until I deactivate WPCF. In Firefox all is well. I noticed the “if IE” js call in the header code WPCF installs, leading to wp-gbcf_focus.js’. I renamed that file and now the tabbed content appears in IE with WPCF activated, but only when I manually refresh each page! This isn’t the case with WPCF totally deactivated, so obviously it does something.
So I’d like to know what the wp-gbcf_focus.js does and if there’s a workaround. Right now I’m in limbo with that file renamed so my tabbed content appears (if only rarely for those with IE) and the contact form is active. I don’t script well enough to figure out the conflict. (And why is this and the WPCF stylesheet link on the homepage (and every page, I believe) when the form is on its own page?)
Thanks for any help and thanks for your work. I promise to make a donation if this gets solved.
Saludos, Mig
Mig responds:
Posted: December 12th, 2007 at 11:01 am →
Should have listed my URL in the text as well:
http://www.theotherrussia.org
The tabbed content are is under the black and white cartoon in the right sidebar. Or it should be. Firefox shows how it’s supposed to look.
Mike Cherim responds:
Posted: December 12th, 2007 at 11:09 am →
Hi Mig. The focus JS file is for IE. With CSS you can apply hover/focus on the form fields (turning them blue to white on your site). This cannot be done with CSS in IE6 so that’s what the JS file does. If it’s causing an issue, I would just remove the file (or better remove the call for it in the script, it’s near the top). I don’t know why it would interfere exactly, but the way for JS is activated onload automatically it is possible to have a conflict I suppose.
As far as why the style sheet is loaded onto every page is two-fold. One I don’t know the page name or ID to preempt the user (though I could add a config item I guess); Two I use it as some others do, to take on all form styling such as comments and search. In other words I reduced my main style sheet and let the form CSS do the form styling work. Hope this helps.
Mig responds:
Posted: December 12th, 2007 at 11:33 am →
Okay, will remove the call. Wacky. There are three states:
1) Form activated and the js call and file present. This completely kills the tabbed content box in IE.
2) Form activated and js file renamed. The content box appears for the first visit to the page only in IE, after which a refresh is required for it to appear.
3) Form deactivated. Tabbed content box appears normally, as in Firefox.
It’s that second state I don’t understand! I’ll try to chop out the the script call. Thanks much for your help.
Mig responds:
Posted: December 12th, 2007 at 11:41 am →
Yah, removing the following code fixed it. Or at least now something less valuable to me is broken!
'‘.
}
Working fine now as far as I can tell. That wasn’t exactly 10 hours well spent, argh. Unusual conflict, although there are plenty of WP plugins that don’t play well together. Thanks again and keep up the good work. Russian democracy thanks you
Mike Cherim responds:
Posted: December 12th, 2007 at 12:15 pm →
You’re welcome Mig. Sorry for the aggravation.
Longhair responds:
Posted: December 25th, 2007 at 10:20 am →
I modified my wp-admin.css to match the rest of the blog.
When I activate your plugin, a lot of the text in the wp-admin turns bold blue. I tried changing the wp-admin.css, but nothing happens until I deactivate the plugin - then I need to change everything back.
I am using version 2.3.1
Thanks
Mike Cherim responds:
Posted: December 25th, 2007 at 1:55 pm →
You’ll probably have to go in and edit the CSS in the plugin then. When the next version comes out I will specify it more. I do wish WP would keep more consistency in the admin CSS — version changes really shouldn’t affect plugins.
Matthew Talbert responds:
Posted: January 19th, 2008 at 11:52 pm →
I have successfully installed your form on my blog. You may see it here. Everything seems to be working fine, except no email is sent to me. If the “send carbon copy” is set, that works great, so the mail seems to be working. I am running Windows with IIS.
I’d appreciate any help.
Mike Cherim responds:
Posted: January 20th, 2008 at 12:19 am →
Hi Matthew. If the mail is not stuck in your spam filter, this is probably a question for your email provider (though you might want to ask your web host first). As you noted the form seems to be working and your mail server is doing its job (I tested and got a copy immediately) so it seems specific to the email address I guess. Both emails use the
mail()
function and there only one mail header.Matthew Talbert responds:
Posted: January 20th, 2008 at 1:41 am →
I changed wp-gbcf_form.php where it mails. If I copy the line from where the copy mail is sent exactly, changing only the email address to gb_email_address, then it works fine (except I get the copy mail, of course). If I change anything, it doesn’t work. This is quite frustrating and makes no sense to me. We host our own email (although it does get forwarded to our isp) using Exchange.
Matthew Talbert responds:
Posted: January 20th, 2008 at 1:54 am →
Ok, sorry to bother you. I finally figured out that Exchange was blocking the emails (I have no idea why). I turned off the filtering and it worked fine. Thanks for your help.
Matthew
Mike Cherim responds:
Posted: January 20th, 2008 at 2:21 am →
No bother. Glad you worked it out.
Ian responds:
Posted: January 23rd, 2008 at 5:09 pm →
Hey, great plug…However, upon activation, it prevents some wp_gets from publishing in sidebar…Have you come across this before?…Easy fix?…
Mike Cherim responds:
Posted: January 23rd, 2008 at 5:48 pm →
Hi Ian, afraid not. This is a first, though for the life of me I don’t see how one would affect the other. Any errors being generated in your logs?
Angel responds:
Posted: February 5th, 2008 at 3:18 pm →
Hi,
I recently added your plugin to my site. It is great! I then noticed that when your plugin is activated, I cannot use the An-Archos plugin to display my embedded videos. So I have disabled the contact plugin for now. Any idea what it might be? This error occurs in IE7, when I try it with Safari, the video still embeds. Thank you for your help.
Mike Cherim responds:
Posted: February 5th, 2008 at 4:16 pm →
Hi Angel. Try removing the
gbcf_focus.js
file. Since the browser has some bearing on this I strongly suspect it is my focus file (loaded if IE). The focus file is used to replicate and hover/focus states on the form inputs supplied by the CSS file. If you remove the file the hover/focus states won’t work in IE, but a lot of people don’t supply those anyway so the file’s loss may not even be noticed.Ken responds:
Posted: February 6th, 2008 at 3:33 am →
Hi Mike:
Great form. Time/life saver thank you.
My form wasn’t working for 3 days. After reading some posts here, I realized it was a URL path problem.
I had: http://509gossip.com/contact for the Form page URL- and my form wasn’t working. Then when I hover the “contact us” link, I saw that the status bar wasn’t pointing to an other direction…instead, it was point to http://www.509gossip.com/?page_id=7. So I went back to the configuration and changed the “Your form page URL” to what was in the status bar - and it worked!
One more question…If I add a new page on the navigation bar, will that path change or will it still stay page_id=7?
Thank you in advance
Ken
Mike Cherim responds:
Posted: February 6th, 2008 at 9:52 am →
The page ID won’t change. You did the right thing.
Jordan responds:
Posted: February 11th, 2008 at 10:38 am →
I’m hosted at Dreamhost, and have installed the form. Everything appears to be working, except it doesn’t actually send the emails (either a CC or the direct email). I do however get a confirmation that the email was sent.
I don’t really know any PHP, but I tried to look up the problem on the dreamhost wiki and saw that they do something different with PHP5.
http://wiki.dreamhost.com/index.php/PHP_Form_Processing
“On DreamHost installations of PHP4, the register_globals directive is enabled, meaning that regular global variables are automatically created after receiving form data. On DreamHost installations of PHP5, this directive has been disabled for security reasons, and developers must therefore rely on the superglobal arrays.”
Could this be the reason? Is there an easy fix for me, or have I likely configured something wrong?
My URL for the form is at http://www.ipitevents.co.uk/about/contact
This is a really cool plugin — thanks again.
Mike Cherim responds:
Posted: February 11th, 2008 at 11:40 am →
Hi Jordon. I don’t think Dreamhost’s use of superglobal arrays would have a bearing. Not sure, though. When this happens it’s usually due to mail server settings. In fact, if the form is sending then the script is passing all tests and working so the mail is going to the mail server and is stalled there (assuming the mail isn’t stuck in a spam trap somewhere between the mail server and your email client). My normal instruction in this case (and this usually offers a final solution) is to contact your host and ask them why you’re not getting the mail. They should be able to tell you quickly. If it’s something I can fix on my end please let me know.
Jordan responds:
Posted: February 12th, 2008 at 1:09 am →
Ahh… it was a hosting issue — the mail server was experiencing severe (one day) delays…
Thanks again.
Mike Cherim responds:
Posted: February 12th, 2008 at 1:30 am →
Happy ending. Cool
brian meagher responds:
Posted: February 12th, 2008 at 9:24 pm →
Mike,
Followed instructions to the letter. Been at this for a while now.
I do not get the confirmation screen (…contact-me/#results), and I do not get the emails sent.
I have another comment page avail, that is working fine. But it’s kinda rinky-dink.
I really want to get yours up and running, but I’m at a wall, as to why it’s not working.
Thanks! Brian.
Mike Cherim responds:
Posted: February 12th, 2008 at 10:09 pm →
You need to put the URL of your contact page, as you see on your browser when on the page, in the Form Page URL input in the admin. You have the page ID right now. I’m surprised you’re not getting errors instead of that happening. That should solve the problem I guess.
I removed your links because I went to your site twice (by way of clicking on the link you provided both times). The first time was fine. The second time, however (to get a second look at something), I got some pernicious pop-up bullshit and a different web page. If that’s your doing that isn’t cool. If it’s one of your advertisers or web host or something, for the sake of your visitors, you need to look into that. I got there by clicking on the link you gave so it’s not like I typed something wrong.
brian meagher responds:
Posted: February 15th, 2008 at 8:34 pm →
@Mike, I’m sorry, but I have NO idea about the pop-up crap! Believe me, I’m in the dark about that one!
But as to the contact form, I have been using the URL to the contact page, the page ID was my attempt at making things work.
Anyway, I’m still not getting the confirmation page (…/#results), it’s still not working with the actual URL in the settings.
I have not modified ANY of your files, and only configured the contact page plugin at step1, leaving the rest of your settings as default (Sections 2-7).
Thanks!
Brian
Peter Barlow responds:
Posted: February 18th, 2008 at 10:32 am →
Hi Mike,
Sorry for my ignorance but I am working blind here. Person who normally would deal with this isn’t available. WE are running a custom theme on Wordpress with a javascript navagation. As a result the regular url for the contact page doesn’t work. I am wondering if there is a way that I can put in some code or a redirect to get the contact page to appear.
I have included the code for the nav link below (excerpt from index.php):
Contact Linda
> ” . $info[’post_title’]. “\n”;
}
?>
I am not sure if this is enough info.
Thanks.
Peter Barlow responds:
Posted: February 18th, 2008 at 10:34 am →
Sorry I can’t put the code in - I can email it to you if you like.
The dev site is lindaloose.info
Mike Cherim responds:
Posted: February 18th, 2008 at 10:59 am →
Hi Peter, to enter your code here you need to convert characters, this
<
and>
should be written as<
and>
So what you’re saying though is that you don’t have a static URL for your contact page?Peter Barlow responds:
Posted: February 18th, 2008 at 6:33 pm →
That’s right Mike. I’ll try putting the code in again.
< div class=”menuItem” id=”menuContact” >
< img id=”menuContactOff” src=”images/Nav_images/ll_nav_contact_off.gif” onmouseover=”onMenuMouseOver(’menuContact’);” />
< img id=”menuContactOn” src=”images/Nav_images/ll_nav_contact_on.gif” style=”display:none;” onmouseout=”onMenuMouseOut(’menuContact’);” onclick=”byron”/>
< div class=”menuToplevelText” onclick=”toggleMenu(’menuContact’);onMenu(8);” onmouseover=”onMenuMouseOver(’menuContact’);” onmouseout=”onMenuMouseOut(’menuContact’);”> Contact Linda </div>
< div class=”menuSublevelText” style=”display:none” > <?PHP
$result = mysql_query(”SELECT * from wp_posts where post_status = ‘publish’ && post_parent = 8″, $db);
while ($info = mysql_fetch_assoc($result)) {
echo ” <p onclick=’onMenu(” . $info[’ID’] . “)’ > > ” . $info[’post_title’]. ” </p> \n”;
}
?> </div>
</div>
Thanks Peter
Mike Cherim responds:
Posted: February 18th, 2008 at 7:14 pm →
I really don’t know Peter. I’ve never used a JavaScript navigation (is that even accessible?). Sort of seems like our commercial version (multiple users), but on a single page.
SZ responds:
Posted: February 23rd, 2008 at 10:06 am →
Hi Mike,
As mail() error issue. I tried all your solutions, but no e-mails arrive to my mailbox. Really strange, even though the Results say “Success! Mail Sent!”, generates the following error at the top of the results page:
—————————————–
Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The mail() command is not allowed. in /www/woelmuis.nl/o/n/d/onderwater/htdocs/wp-content/plugins/wp-gbcf/wp-gbcf_form.php on line 1215
Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The mail() command is not allowed. in /www/woelmuis.nl/o/n/d/onderwater/htdocs/wp-content/plugins/wp-gbcf/wp-gbcf_form.php on line 1218
——————————————
Could you help me?
Please, try my contactform at: http://onderwater.woelmuis.nl/?page_id=4
Thanking you in advance! Kind regards, SZ
Mike Cherim responds:
Posted: February 23rd, 2008 at 11:01 am →
Hi SZ. That would actually be a better question for your host. If you’re getting the success message then the form is configured correctly and is essentially working, but something past that must be happening. I bet your host could/should answer in about 2 seconds, then we’ll know what to do.
Ashley Smith responds:
Posted: February 27th, 2008 at 2:26 pm →
Hi
I love the idea of this plugin as I have been looking similar for a while.
Unfortunately all I’m getting is:
http://acknowledgedwebdesign.co.uk/?page_id=11
This is the address I’ve used in the configuration.
I have followed the installation to the letter and doubled and trebled checked it?
any ideas?
Thanx
Ashley
Mike Cherim responds:
Posted: February 27th, 2008 at 3:24 pm →
Here you go: http://green-beast.com/blog/?p=134#comment-15982
If you’re getting that WP is converting the angle brackets to character entities. Might also be fixable in HTML view, but turning off the rich editor while editing that page is usually best.
Ashley Smith responds:
Posted: March 1st, 2008 at 12:07 pm →
Thanks for the previous answer got it going fine now.
One last thing, is there a way of getting rid of the ‘contact us’ and Contact form headings above the form itself, at the moment my contact form page has 3 headers?
Other that I love it.
regards
Ashley
Mike Cherim responds:
Posted: March 1st, 2008 at 12:26 pm →
The heading can be removed from within the config (section 4 or something)… display heading: no. The other is a legend element and if you’re using the latest build (the one with 2008 in it), it has a span element within the legend to facilitate its removal while keeping the form accessible.
noites responds:
Posted: March 11th, 2008 at 12:05 pm →
hi,
i have installed the form 2.0 and i have this error message:
Referrer Missing or Mismatch: It looks like you’re trying to post remotely or you have blocked referrers on your user agent or browser. Using your “Back” button, please go back and try again or use my regular email, *****@**********.com, to circumvent Referrer Mismatch.
how to remove anti spam?
can you help me?
best regards.
Mike Cherim responds:
Posted: March 11th, 2008 at 1:16 pm →
Typically that error means you didn’t set your “Form Page URL” correctly in the config (section 1) typically. It should be the URL of the page your contact form is on. No need to remove the anti-spam Q&A to fix it.
George Park responds:
Posted: March 28th, 2008 at 8:34 pm →
Hi Mike, installed the plugin and it is great.
One small issue I have, is that with the default css style, the wording “Is fire hot or cold” starts next to the comments box.
Also , the wording “this proves you’re a person” doesn’t appear.
I am using Almost Spring and the above wording doesn’t appear there either.
Regards,
George.
Mike Cherim responds:
Posted: March 28th, 2008 at 9:12 pm →
Hi George. I think I missed putting in a break after the last update, so you might be able to fix that by widening the textarea forcing the next line on a new line (or go in and add the break). Hover over or focus on “Why this?” and the text appears so it is there.
FWIW, your form looked perfect to me (using Firefox).
George Park responds:
Posted: March 29th, 2008 at 9:30 am →
Hi Mike, thanks for your speedy reply, much appreciated.
Regards,
George.
jsherk responds:
Posted: March 29th, 2008 at 2:34 pm →
This doesn’t seem to work with WP2.5.rc2… When you click on submit (with or without errors) it simply returns back to the blank unfilled form… no success, no errors, no emails!!!
Mike Cherim responds:
Posted: March 29th, 2008 at 2:51 pm →
That is a problem we see with the other versions sometimes (if request URI isn’t supported) so I can’t take that as a definitive declaration, but thanks for testing and letting me know. I don’t know why it wouldn’t work with WP2.5., but I haven’t even looked at that version.
Mike Cherim responds:
Posted: March 31st, 2008 at 6:22 pm →
Just for the record, since I know two people using it, the contact form plugin works with version 2.5
gofree responds:
Posted: April 8th, 2008 at 3:46 pm →
Any solution for this error yet?
Fatal error: Cannot access empty property in …/wp-includes/functions.php on line 255
Please, let know, too.
Mike Cherim responds:
Posted: April 8th, 2008 at 6:19 pm →
Nothing concrete. Many people have encountered it and fixed it, but other than the UTW removal from the database, there seems to be varying fixes. One guy changed his PHP version, even though the form does work in php 4 and 5. It’s a mystery that’s for sure.
Huey responds:
Posted: April 9th, 2008 at 8:11 am →
Hi. I’ve downloaded your plugin and I really love it. However, during the testing period, I noticed that although I have enabled to offer carbon copy, and customers chose to have a copy sent to them, but the copy is not sending out. Meaning, the customers didn’t receive any copy at all. Any idea?
Many thanks in advance.
Mike Cherim responds:
Posted: April 9th, 2008 at 8:40 am →
If the form is submitted, and you get the email, and the user checks off the box and doesn’t get the email it means they either didn’t enter the correct address or their copy is stuck in some spam filter. Have you tested for yourself, sending yourself a mail. I’d suggest that for starters, then pass on this info to that visitor.
Michael responds:
Posted: April 19th, 2008 at 2:38 am →
Hello, I just installed this on wordpress 2.5 and I had to change from visual to html on my contact page for it to work. Not sure if this was mentioned already but I didn’t see it documented. Hope this help someone.
Mike Cherim responds:
Posted: April 19th, 2008 at 8:46 am →
It comes up now and then. Thanks.
Morgan responds:
Posted: May 27th, 2008 at 1:11 pm →
Hi,
i have a multilanguage blog and i would like to know how to translate the contact form as people chose a language different than the portuguese for example.
thanks,
Morgan
Mike Cherim responds:
Posted: May 27th, 2008 at 1:24 pm →
Unfortunately we didn’t put language hooks in the script so it can only be translated manually, one language at a time. Sorry.
mike responds:
Posted: May 30th, 2008 at 12:39 pm →
I just downloaded your contact form for wp. I am using wp 2.5.1
Fatal error: Cannot access empty property in \xxxxxxxxxx\wp-includes\functions.php on line 270
I see this is an on going issue. I am not using any other plugins.
Daniel responds:
Posted: May 31st, 2008 at 9:23 am →
Hello,
I’m having problems with the plug-in. It appears ok, but after clicking the “send” button there is a blank page (#restults) and no e-mail is send.
I’m using wordpress hosted in a shared account that allows me to host more domains, maybe this is the problem.
[access information removed]
Thanks for this great plug-in, i’m sure you can help me to make it work.
Greets,
Daniel
Mike Cherim responds:
Posted: May 31st, 2008 at 9:41 am →
I’m not sure. I would check the form page url in the admin, then look at the form element’s “action” by viewing source. I removed the access information in your comment. You probably should post that type on info in a blog comment.
Paul Mason responds:
Posted: June 30th, 2008 at 6:38 am →
Results: Whoops! Error Made!
Referrer Missing or Mismatch:
I’ve tried to resolve the problem.
I’ve copied and pasted the url and as that did not work reset the site’s URLs using Permalink to the original WP format - that did not work and so I reset them back again. In each case copying and pasting the URL to the plugin.
Can you suggest anything else I can try?
The form looks great and would be very useful.
Thanks
Paul Mason
Full error message below.
Results: Whoops! Error Made!
Referrer Missing or Mismatch: It looks like you’re trying to post remotely or you have blocked referrers on your user agent or browser. Using your “Back” button, please go back and try again or use my regular email, *****@**********.net, to circumvent Referrer Mismatch.
Mike Cherim responds:
Posted: June 30th, 2008 at 6:45 pm →
As a far as I know there are only two ways to get that error. 1) The form page URL doesn’t match that of your form page on the site or; 2) the user has referring logging turned off on the browser they’re using. Because this can be a legit error, the user is supplied with contact details (safely). Sorry.
mike responds:
Posted: July 1st, 2008 at 7:00 pm →
for my email on the domain i use i have google apps, which causes every message that is sent from the contact form to end up straight into the spam filter, it is becuase it has the same name in the from: field as the to: field
http://mail.google.com/support/bin/answer.py?answer=10514
Mike Cherim responds:
Posted: July 1st, 2008 at 7:22 pm →
So with Googleapps mail you can’t email yourself? Strange. You can go in and edit that. The reply-to is right. The other was just tell help it get through, not blocked.
mike responds:
Posted: July 1st, 2008 at 7:52 pm →
so, (just so i dont fubar it) what do i need to change to get it to work right?
i tried using From: $email (so that it would appear to be from the sender), but that failed completely
[code]
// Email header
$gb_email_header = “From: $gb_email_address\n”.”Reply-To: $email\n”.”MIME-Version: 1.0\n”.”Content-type: text/plain; charset=\”" . get_settings(’blog_charset’) . “\”\n”.”Content-transfer-encoding: quoted-printable\n\n”;
[/code]
should i try:
[code]
// Email header
$gb_email_header = “From: someemailaddress @ domain dot com\n”.”Reply-To: $email\n”.”MIME-Version: 1.0\n”.”Content-type: text/plain; charset=\”" . get_settings(’blog_charset’) . “\”\n”.”Content-transfer-encoding: quoted-printable\n\n”;
[/code]
mike responds:
Posted: July 1st, 2008 at 7:55 pm →
// Email header
$gb_email_header = “From: someemailaddress @ domain dot com\n”.”Reply-To: $email\n”.”MIME-Version: 1.0\n”.”Content-type: text/plain; charset=\”" . get_settings(’blog_charset’) . “\”\n”.”Content-transfer-encoding: quoted-printable\n\n”;
that works!
Mike Cherim responds:
Posted: July 1st, 2008 at 8:04 pm →
Try this in the header instead:
From: $name <$email>
. It’ll look nicer and allow full function.Colin responds:
Posted: July 4th, 2008 at 1:24 am →
Hi I looked through the other comments and no one else seems to be having my problem. I have the plugin installed correctly and almost everything seems to be working properly. I can input all the info and when I press submit it says the message sent. However when I check my email I havent gotten a message. Ive tried different emails, looking in the spam box, everything. I even did it from another one of my emails, and the carbon copy email does not send either. I’m absolutely positive that my email address is not mispelled, and I didn’t do any screwing around with the code that might have messed it up. Any suggestions?
Thanks a lot for this plugin. If I can get it to work it will have saved me hours of work…
Mike Cherim responds:
Posted: July 4th, 2008 at 2:21 am →
That’s actually a question for your web host. If you’re getting the success message the form script is working and doing its job, next in line is the mail server.
Colin responds:
Posted: July 4th, 2008 at 11:27 am →
Hmm, for some reason they all started sending at around 5am. Weird, but it works great now. Thanks again.
Mike Cherim responds:
Posted: July 4th, 2008 at 1:30 pm →
Ah, yes, some hosts have their server set to send after 24 hours.
richard responds:
Posted: July 7th, 2008 at 5:31 am →
Hi,
The form is great; easy installing, easily integrated to our site, etc. Only thing is; the first field shows up on the top of the page. Please visit http://www.festivalbandje.nl/contact/ to see what I mean.
I’ve tried with/without a text introduction, rearranging the numbers in section 6, but I don’t know diddley about CSS, so kept my fingers of that. Does someone have any idea what I’ve done wrong?
Thanks!
Richard
Mike Cherim responds:
Posted: July 7th, 2008 at 7:48 am →
I’ve seen that two or three times. There is some form or input rule in the theme’s style sheet (not the form theme) that is conflicting with the form. Say if the form is floated left, but not cleared, then the first input would sit to the left of something, then the rest would clear and fall into place where it should be.
Pierantonio responds:
Posted: July 8th, 2008 at 2:11 am →
I’ve tried to translate in italian your form, but it doesn’t work.
I’m pretty sure to have done it right, translating only the litteral parts, leaving the code intact, but nothing.Wanting to use your work also in my italian site, I’m available (free of charge, of course) in translating the form in italian.
Thank you Mike for your reply.
Pierantonio
richard responds:
Posted: July 8th, 2008 at 3:34 am →
thanks Mike! I’ll have someone look into it
richard responds:
Posted: July 8th, 2008 at 3:50 am →
ah, just found out it’s the “name” div that bothers me; the style sheet has a “name” that is positioned where the contact form’s name is now positioned.
Mike Cherim responds:
Posted: July 8th, 2008 at 5:40 am →
@Pierantonio: You mean the form doesn’t work or your translation doesn’t work (not showing up or something)? The text you should be editing is near the very bottom of the main file within the actual form markup.
@richard: Cool you found it. That should be easy to fix. Just make a new rule specifying the name
input
in the formdiv
or form itself (form#gb_form
) and unset the rule — or further specify the the other rule.richard responds:
Posted: July 8th, 2008 at 6:09 am →
@ mike; thanks! I edited the wp-gbcf_form.php and just changed the input “name” to “namef” (my finger was closest to the F). it’s fixed now!
Mike Cherim responds:
Posted: July 8th, 2008 at 8:03 am →
If you change the name attribute to “namef” you might want to test the form before you celebrate. Changing it to “namef” will break the form unless you changed the other parts of the script. Moreover, autofill won’t recognize that field for your users. The same would apply if you change the other name input that must exist. You would be much better off to fix the issue via the style sheet.
Pierantonio responds:
Posted: July 9th, 2008 at 7:53 am →
@Mike
After I’ve translated the part in the bottom part of the code, the form itself doesn’t show up, so I guess I’ve messed up something. I’ll try with more attention in the next couple of days, and, in any case, I send my translation to you.
Thanks
Pierantonio
Mike Cherim responds:
Posted: July 9th, 2008 at 9:23 am →
Hi Pierantonio. I would 1) check your error log as it should tell you where you messed up then 2) fix the error. I’d look (and suspect) that you added some unescaped punctuation like an apostrophe. To escape an apostrophe you can slash-escape —
mike\'s example
— it or use a character entity.Foodeater responds:
Posted: September 3rd, 2008 at 5:37 pm →
Hello, been using your great plugin for a while now but the latest upgrade broke something and I’m not sure how to fix it. Now my contact form is broken and on the page showing the following error:
“Fatal error: Cannot access empty property in …/public_html/wp-includes/functions.php on line 430″
I get that same error in my admin section when I try to access the “Configuration” page for this plugin. Can you please let me know how to get this working again?
Mike Cherim responds:
Posted: September 3rd, 2008 at 5:59 pm →
I haven’t heard someone report that in awhile. I would get occasional reports of that starting with 2.1 I think. Unfortunately the closest we came to figuring it out (see several comments on this page) was that there was some sort of plugin conflict, specifically having to do with tags. But I don’t know what it is exactly. When you upgraded, from what version did you upgrade from, and did you install any new plugins?
Foodeater responds:
Posted: September 3rd, 2008 at 6:02 pm →
I upgraded from v.2.0WP B20070414, and I haven’t installed any new plugins. I tried testing to see if there was a conflict with other plugins by disabling them all, but I still get the same error.
Foodeater responds:
Posted: September 3rd, 2008 at 6:06 pm →
Sorry that I didn’t see all the other comments about this first! However, I’m not using the Ultimate Tag Warrior plugin… I’m not using any tag plugins unless you count the ‘All in One SEO Pack’. The weird thing is like I mentioned, I haven’t added any new plugins and everything was working fine until a few days ago when I updated the contact form to the latest version. In other words it was playing nice with all my same plugins until the upgrade.
Mike Cherim responds:
Posted: September 3rd, 2008 at 6:38 pm →
Oh, I see, it was the form you upgraded. I really don’t know what would have been done between that other version and this one that would cause that. I would suggest remove the form’s rows from your database I think, though I have absolutely no idea what the issue is, we haven’t been able to isolate this and neither Mike Jolley or I have been able to replicate it. If somebody knows…
Danielle responds:
Posted: September 11th, 2008 at 6:09 am →
Hey I tried searching for the answer to my problem but looking for “email” on this page proved to be fairly overwhelming.
So I have installed the form, configured it and had problems where the form just refreshed on submission. So i reset everything deleted the contact page and reinstalled the form. Now on submission 1 in every 3 submissions (average) show up the error validation (when submitting an empty form) and the submission of a completed form only refreshes the page and does not send any emails or any success messages. If the emailing failed would this be the expected behaviour? I have been told that phpmail is set up but I guess I will have to check again. url is www.nichesolutions.net.au/contact-us
Any help would be great.
Thanks.
Sura responds:
Posted: September 11th, 2008 at 7:24 am →
Hi I’m new to your plugin, I want ask about the spam protection.
I got this notification on my plugin panel : “So far this form has saved you from getting 2 spam emails.”
How can I see that email content? And is it possible for me to disable the spam option?
Mike Cherim responds:
Posted: September 11th, 2008 at 8:21 am →
@Danielle: Your page takes a long time to load. In fact I came over, tested the form, and had it filled out before the page loaded. The test sent, no problem, but I did wait until it finished loading. I’m thinking that that may be the issue. If the script isn’t loaded fully it might give odd results. Not sure, but there’s no other reason that I can think of as to why it’d be sporadic. Typically it either works or it doesn’t. Please investigate this.
@Sara: When a spam bot fails (certain errors) it doesn’t allow the email to be processed at all, so the ‘bot mail with a 100 links will never be seen. If these mails were to be saved so you could look at them it’d lead to a very large database full of garbage in no time, and it the mail is allowed to be sent you’d get the worthless spam. As far as disabling spam protection, why on earth would you want to do that. There’s no function to disable the protection, but there are still tons on unsecured forms on the web you could use. I wouldn’t recommend them, and I’m sure you’d come to regret your decision, but they exist.
James Spinosa responds:
Posted: September 13th, 2008 at 7:32 pm →
Hey there Mike, I recently installed your plugin on the site that my name links to (fourthfloor…/contact/) and I cannot see the form in FF3 or Safari, yet I can see it fine in FF2 or IE7. I can’t find anything that I have done wrong with the installation, and it works fine with the sending of emails as well in IE7. Any suggestions would be much appreciated
Mike Cherim responds:
Posted: September 14th, 2008 at 12:10 am →
Hi James. You’re going to have to go to the person who made your theme or to the forums at SitePoint.com or something for some CSS help. The form is there, turn off page styles or view source and it’s on the page, so it must be CSS or related. Neither the CSS or the HTML are valid so that could be a causing factor as well. I would try to fix validation first to see if that fixes it. If that’s not your thing, again, the people at SitePoint.com’s forums can help you resolve it.
Ed Nailor responds:
Posted: September 17th, 2008 at 12:50 pm →
Love the Contact Form! This is great.
I am using WP as a CMS for my clients and this contact form works wonderfully. However, one thing would make my life even better. If there is a way to integrate an input for a phone number? This would really be great as it would allow me to place that on the contact page with an easy way for my clients to update it as needed. I could also pull the information from the db for use in other areas of the client’s website as well.
Thanks,
Ed
Mike Cherim responds:
Posted: September 17th, 2008 at 1:51 pm →
Hi Ed. There is a phone number input already.
Sarah responds:
Posted: October 21st, 2008 at 4:19 am →
Hello Mike,
thank you for the plugin. I have added it succesfully in the wordpress theme I’m working on.
I have a small issue though and I would aprreciate some help.
I’ve read through the comments and I’ve decided to go with:
since my contact form should appear in the sidebar.
Now I’m having the problem that others had already. Getting this warning:
Referrer Missing or Mismatch: It looks like you’re trying to post remotely or you have blocked referrers on your user agent or browser.
I know the solution is:
The URL in that config input must match the URL of the page the form is on exactly.
But therin lies the problem.
My contactsidebar.php is not a page. It’s just a file with the the contact form code that I include on my Home page.
So how do I go round this? Please reply as soon as possible since this is somewhat urgent!
In case you’d like to see the website : http://wp1.sarah-neuber.de/
Sarah responds:
Posted: October 21st, 2008 at 5:16 am →
Never mind.
Solved!
CakeBlast (Larry) responds:
Posted: November 3rd, 2008 at 1:18 pm →
I tried several contact plug-ins for my blog at www.cakeblast.com before settling on yours. It works great and was incredibly easy to install! I gave your plugin a short write up and link on my most recent post. Thanks for doing such a great job
Zippo Zimmermann responds:
Posted: November 11th, 2008 at 8:44 am →
Hi!
I’d like to report a bug in your wonderful contact form plug-in with Safari (vers 3.1.2):
if a visitor doesn’t fill in all required fields, there is no possibility for him/her to get back to the form to correct his/her mistake. The back-button will not work.
You can test it on your demo-page.
Thank you!
Best regards
Zippo
Mike Cherim responds:
Posted: November 11th, 2008 at 9:29 am →
That’s a new one. I’ve heard from some others that they could go back but the fields would be empty (doesn’t do this on Safari for Windows). Irregardless, it’s fixed in v3 and that will be coming out for WP. Thanks.
Daniela Panigada responds:
Posted: December 5th, 2008 at 7:10 pm →
Hi!
I am making a blog for recipes as part of a thesis project for a design class. I found your form and it has been very helpful. I am using it so that a person could submit a recipe back to me. The only issue is that I would need them to be able to email an attachment (image). I tried to do this myself by inserting the code; however, I am a BEGINNER at this stuff. Is there a simple way to do this? I would appreciate any help!
thanks
Daniela
Mike Cherim responds:
Posted: December 5th, 2008 at 7:32 pm →
Thanks Daniela. Don’t feel bad, I tried it before and failed myself. I couldn’t figure out the header. Maybe I’ll put that into version three when that becomes available for WordPress. It’ll probably be an option with the commercial package: giving people the option of having a send-to menu and other features. Sorry I can’t help you now, though.
Fred Rewey responds:
Posted: December 10th, 2008 at 11:05 am →
Quick question. Can I make the “Message” section not a required field? Some of the Subject drop down do not require more info….
Mike Cherim responds:
Posted: December 10th, 2008 at 11:49 am →
You’d have to go into the script and remove the bit that requires it. Not too difficult, though. Do it with a text editor and use care and you should be able to do it with ease. You’ll find all that stuff near the bottom of the main script file.
Bob Harrison responds:
Posted: December 17th, 2008 at 1:49 pm →
Hi Guys,
Thanks for ther plugin. All installed fine until I send a test mssgae then i get the following error:
Results: Whoops! Error Made!
Anti-Spam Trap 2 Field Populated: You populated a spam trap anti-spam input that is meant to confuse automated spam-sending machines. If you accidently entered data in this field, using your “Back” button, please go back and remove it before submitting this form. Sorry for the confusion.
You can try it yoursef here:
http://www.weddingleads.co.uk/contact/
I have not changed the php scripts and have tried uninstalling and reinstalling a couple of times. Still the same problem.
I can handle php changes fine if told what to do. Can you tell me which file to change (please give the name of the file eg. wp-gbcf_form.php) and the lines of code to change (not just the line number as I’m editing in bbedit on a mac and it does line numbers differently from PC editors ).
You mentioned a fix to someone in the comments above but think this was a very old version. Any help would be great. I can send you the settings i use to configure if it helps but these are quite standard.
Many Thanks
bob
Mike Cherim responds:
Posted: December 17th, 2008 at 3:31 pm →
Sorry for the delay. Big storm here. No power for six days (so far).
If the issue noted isn’t resolved, check your page with styles off to expose the hidden input. It will have text in it if you have that error. I suspect you typed text in there unknowingly, and that you have “autofill” which has remembered the text you entered and will place it in there each time. This has been addressed with v3 (not yet for WP). To fix it so YOU can use your form (others shouldn’t have a problem), clear your autofill so the p-mail value (if shown) is empty.
Also, do check your tabindexing. The tab order was a little screwy.
German responds:
Posted: December 17th, 2008 at 5:08 pm →
Hi Mike,
I’m using WP 2.6.5, and v.2.0WP B20080731 of your plugin. But I’m getting the following error:
Fatal error: Cannot access empty property in /home/iccces/public_html/wp-includes/functions.php on line 430
I’ve read all the post above it, but I’m not using Ultimate Tag Warrior (and I never used it). Also, I have deactivated all my plugins, and the problem persist.
So, is there some kind off incompatibility between your plugin and WP 2.6.5?
Thank you!
Mike Cherim responds:
Posted: December 17th, 2008 at 5:41 pm →
That’s still unresolved unfortunately. Hopefully v3 will be out soonish. (Waiting on the other Mike.) Some folks have solved the error simply by removing the plugin entirely and then reactivating it first before others. It makes no sense to me what is causing this. The UTW maker seems to know and she said she was going to fix her plugin, and I suspect others are having this issue. I wish I could tell you more, but this one has remained out of my grasp. Sorry.
Jose Gonzalez responds:
Posted: December 18th, 2008 at 4:12 pm →
Awesome contact form - best I’ve ever used.
Can you advise on the following please?
I’m trying to change the text color in the input boxes to black. My wp theme is black and the text is white, and the contact form seems to have picked this up.
I can’t select any themes from the contact form’s config screen, because it can’t see any (although all are loaded).
Alternatively, how can I change the background color of the input boxes that are yellow?
Many thanks
Hoz
Mike Cherim responds:
Posted: December 18th, 2008 at 4:39 pm →
Change the text color in the style sheet or in your theme’s style sheet. You might want to just match your site styles. To select a theme, you should be able to. If not, did you change file and/or folder permissions? Yellow backgrounds in input boxes are caused by your browser’s “autofill” feature. Only you and other autofill will see this coloring. Those are my best guesses.
German responds:
Posted: December 18th, 2008 at 5:07 pm →
But Mike, the problem is that even when all ther rest of plugins are disabled, I get the problem with your plugin… So, it seems to be a problem with Wordpress …
Anyway, thank you for your efforts.
Jose Gonzalez responds:
Posted: December 18th, 2008 at 5:47 pm →
Thanks for your fast reply!
Yellow boxes = my bad.
Folder permissions are all set to 755 - I guess this is wrong and the reason why I can’t access any themes and / or help files from within the contact form settings.
Any help is most welcome but I don’t want to take up any more of your time. I’m thankful for the stunning contact form (it just look professional and does the job better than any other I’ve seen!)
Many thanks
Hoz
Mike Cherim responds:
Posted: December 18th, 2008 at 6:38 pm →
@German: Unless you remove their tables from the DB, it might still be a plugin conflict.
@Hoz: 755 for a folder is right. Curious, have you looked in the source code to see if the GBCF style link is in place in the head? if it’s there as it should be, grab the URL for the style sheet used and see if you can access it directly.
Jose Gonzalez responds:
Posted: December 19th, 2008 at 3:29 am →
Hi Mike,
The GBCF entry is there, but when it comes to accessing the URL directly I get a 404. I noticed also that (inside wp) when I click on the Documentation link I get 3 errors (I don’t know if this is related in any way, but I’ll paste them below):
Warning: include(../wp-content/plugins/wp-gbcf/wp-gbcf_help.php) [function.include]: failed to open stream: No such file or directory in /home/evolutio/public_html/wp-content/plugins/ContactForm/wp-gbcf_form.php on line 211
Warning: include(../wp-content/plugins/wp-gbcf/wp-gbcf_help.php) [function.include]: failed to open stream: No such file or directory in /home/evolutio/public_html/wp-content/plugins/ContactForm/wp-gbcf_form.php on line 211
Warning: include() [function.include]: Failed opening ‘../wp-content/plugins/wp-gbcf/wp-gbcf_help.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/evolutio/public_html/wp-content/plugins/ContactForm/wp-gbcf_form.php on line 211
I’ve used the contact form a couple of times now and the same thing happens. I will set up a test blog over xmas and see if I can install it again.
Many thanks
Hoz
Mike Cherim responds:
Posted: December 19th, 2008 at 5:43 am →
Let me know how it goes. Those files, the ones being included (errors above), they are there where the includes are looking? I mean if you’re getting a 404 error trying to access the style sheet, that means the style sheet isn’t where it’s suppose to be. You might want to ask your host for help since they’ll be able to see your file structure.
Jose Gonzalez responds:
Posted: December 19th, 2008 at 5:58 am →
Hi Mike,
Thanks - I will let you know.
It’s rented (reseller) hosting, so I have access to the file structure via a WHM panel and cpanel also. I ftp’d the plug in and I can see all the theme files in the theme folder, but the plug in can’t see any of the themes.
I can’t access the documentation (that brings those errors) otherwise I’d have looked over that first before taking up any of your time.
I will install a test blog and let you know how it goes. If it turns out to be an issue which requires some php voodoo I will contact you via your contact form and ask for a quote as I love the contact form and I’d like to use it - your plugin is one of those plugins that you come across every blue moon… a plugin that ticks all the boxes and makes you think: ok, my contact form needs are now fulfilled and I don’t need to look anywhere else for this plugin - I have the one I want
I appreciate your time and I look forward to having it working correctly (it’s obviously something to do with my set up, or maybe even some setting which is disabled in the hosting package as a security measure).
Actually, I have a hostgator account also - I will install the plugin in both accounts and see what happens - if the hostgator account works fine, it’s obviously my hosting account that’s causinng the issue. If the hostgator account also fails, then it’s obviously ME and something I’m not doing.
Many thanks
Hoz
Mike Cherim responds:
Posted: December 19th, 2008 at 10:23 am →
Good luck Hoz. And thanks for the kind words. Appreciate it.
Ron van Rijbroek responds:
Posted: December 23rd, 2008 at 3:00 pm →
i’ve had a problem with sending email from my blog (own hosting : www.ronvanrijbroek.nl )
the mails wouldn’t sent.
I’ve checked the code and i dit the following:
Everytime the code gave the else error. indicating a problem with the mail function.
after removing the $param variable everything works.
Don’t know what the variable is for. but it might help others.
kind regards,
Ron
ps. the plugin works great now, tnx a lot
Mike Cherim responds:
Posted: December 23rd, 2008 at 3:48 pm →
So the
$param
variable, you say, mustn’t be there for the form to work for you?!Ron van Rijbroek responds:
Posted: December 24th, 2008 at 8:20 am →
@ Mike
tnx for your quick response.
Yes. removing the $param variable from the mail() function let’s the mail being sent. Else I won’t even get an error.
So i’m suggesting to insert some if-statements around the mail() functions (actual mail and CC) so that if an error ocurs the user get’s a notification.
Good luck and happy hollidays,
Ron
Mike Cherim responds:
Posted: December 24th, 2008 at 12:16 pm →
Very strange that setting a more human-readable return-path would hamper the form’s ability. Thank you.
eliana responds:
Posted: January 22nd, 2009 at 2:53 pm →
Mike,
Thanks. It wasn’t the second colon. It was the lack of a period. Once I changed the page to contact.php instead of /contact/ it accepted it. Unfortunately the .php page doesn’t exist, so I will figure out how to add extensions to my page names.
Cheers,
Kali
I had the same problem. I found that if I gave it the URL http://localhost:8888/wordpress/contact.
it worked!
Eleana responds:
Posted: January 27th, 2009 at 3:32 pm →
Hi Mike, thank you so much for your wonderful work. I’ve gotten to the IE6 testing stage for the site I’m working on and I’m running across a bug I have no idea how to fix. In IE6, I can’t seem to click on the Submit Form button at all-no matter what I fill in the fields or not– the only way to access it is through tabbing down.
I removed the hover js file as you mentioned above and tried that way too and still no success. Hopefully this is not some dumb oversight on my part, but do you have anymore suggestions? Thanks so much.
Mike Cherim responds:
Posted: January 27th, 2009 at 3:55 pm →
First thing I would check is to see if there are any validation errors, then I go from there. I am assuming there’s a problem with validation or CSS.
Eleana responds:
Posted: January 27th, 2009 at 4:59 pm →
thanks Mike, I have been doing that. I noticed a similar problem on another page (but most of the links work just fine, so weird!)…I’m wondering if it’s Word Press thing or what. So far, the validation is clean. So I dunno, I’ll keep hunting. Thanks for your quick response though, I appreciate it. Sorry if I jumped the gun.
Mike Cherim responds:
Posted: January 27th, 2009 at 5:24 pm →
I suppose you can always give me a link to the page. Not sure what else to say.
Kim responds:
Posted: February 14th, 2009 at 8:18 pm →
First off, great plugin thanks.
There is one small detail which has me foxed, in the Form Configuration page, the Save Form Configuration button is covering up a link that ends in “Spam Counter” what is this and why is partly covered?
Mike Cherim responds:
Posted: February 14th, 2009 at 10:12 pm →
Yeah, the input buttons used to be aligned right in older versions. But newer versions went left. I never bothered to fix it in v2.0WP because both were still clickable. Somebody once asked for a fix and I told them it’s in the main file, pretty close to the top of the file. Look for:
Try changing the
float:left;
part of it tofloat:right;
and that should solve the problem. I need to put something in that negotiates the version and puts in the right style.Sorry for your trouble.
Kim responds:
Posted: February 15th, 2009 at 11:47 am →
That works, thanks.
Mike Cherim responds:
Posted: February 15th, 2009 at 1:01 pm →
Cool
Ron Williams responds:
Posted: February 15th, 2009 at 1:05 pm →
Hi Mike,
Does it have to be sendmail to use this form. We have qmail. it looks like your config file uses sendmail. I am using the php web form version (v3) not the WP version.
Thanks,
Ron
Mike Cherim responds:
Posted: February 15th, 2009 at 4:10 pm →
Try it then we’ll both know.
Mike Cherim responds:
Posted: February 21st, 2009 at 10:45 am →
Attention: There is a new post for form support. Please use it to post your comments, questions or suggestions. Please, however, review the comments above first to see if your question or concern has been addressed already. Thank you.