manfer
Forum Replies Created
-
There is already a contact form 7 bwp recaptcha extension plugin that adds that feature explicitly to contact form 7.
I will try to add that feature. Thanks for the report.
First go to BWP reCAPT -> Theme Options to see if you can see the preview of your recaptcha. If you can’t see a recaptcha there then you have not Better WordPress reCaptcha properly configured. Maybe you have forgotten to configure the public and private recaptcha keys that you have to request from google http://www.google.com/recaptcha
If you have that configured correctly and the recaptcha preview shows correctly, then review the contact form 7 form to confirm it has a correct recaptcha shortcode.
Review that in the post or page where you are including that contact form you are adding the correct shortcode for the contact form that contains the recaptcha. You can configure many contact forms in the contact form administration so confirm you are no using a contact form that does not include the recaptcha.
Report back please if none of those solve the issue.
I don’t think that output comes from Contact Form 7 BWP reCAPTCHA Extension.
Have you noticed that url has on it “…/comment-page-1/…”? Maybe it helps if you disable comments on that page if you have them enable. Anyway it won’t be a solution even if that solves the issue you would need to look why when enable that url appears there.
Try that before and reply back with result, as at first glance I can’t see how this plugin can be responsible of that output.
Sorry, I wouldn’t mind to add any attribution that I could have forgotten but in the terms you have asked it on your first message is not something I’m going to accept.
I have made a total rewrite of the plugin to stop using your abstract class. Obviously the code is going still to be similar but it is not using any more than CF7 API, WP API (being most of the code WP Settings API) and BWP recaptcha at the output. I changed the screenshots either. Even being released as GPL I don’t want to use anyone’s code if he don’t want to.
If you think there is still any problem with the code feel free to continue this issue or mark it as solved.
I will mark this as solved at the beggining of new year if there is not any new reply.
About using my code feel totally free to use it.
Regards,
manferDo you know what is GPL? You should consider reading that license and if you don’t like it just license your code with something different. Your plugin is already based on other one or so it shows in its readme file so I don’t know how much code is yours or others but I don’t care, I think I respected the part that says is based on a CF7 module if at the end I deleted that was not on purpose on trying to claim any code as mine.
I did this plugin because I needed it for a project so as I had done the necessary changes to use BWP recaptcha I just shared it to the public for anyone that wanted to use it too. Your project use WP-recaptcha, this one uses BWP-recaptcha and I think makes no sense to mix both.
And before criticism anyones knowledge I can tell you just this. If on first place your code wasn’t triggering errors I wouldn’t be in the need to waste my time to code an alternative. Really most of the code is totally unneeded and I could do the plugin much simpler but as that part of the code was already done I used it. Seeing you are so concerned about your GPL code that seems you only develop with that license probably because you are forced by wordpress plugin development policies I’m going to consider changing the code to use nothing from you to respect your non-GPL wishes.
And why did’t you asked for a feature request to WP-recaptcha instead of coding your plugin? Or to CF7? because if mantained having the module as part of CF7 is not a problem. Why I should ask you for a feature request and not to BWP-recaptcha for example? …
In the moment this problem came into my hands I decided to solve it writing the necessary changes to make a plugin working with BWP-recaptcha, no more no less.
Regards,
manferThanks for the report and all your help.
Version 0.0.4 released that should solve the issue. Could you confirm if that works please?
Regards.
The recaptcha plugin needed is Better WordPress recaptcha but for sure that’s not the problem or the plugin would show a warning indicating it is not installed and it is required.
If the contact form 7 output does not reach the browser then it is almost sure you hit a php error before it is printed. Can you check php error log to try to look for an error? I suppose you don’t see it on screen because display_errors is off (which is totally normal). I will review the code to try to understand where the problem could come from.
The data that could be useful to investigate would be:
– The error in php error log.
– Is there any other Contact Form 7 Extensions installed? to try to investigate if there could be a problem with that.
– PHP version as this has been developed in server with PHP 5.3. maybe I have to check if I added something PHP > 5.3 if you confirm you run earlier version (ex. 5.2).
– Can you see the recaptcha preview in the configuration page BWP reCAPT->Theme Options?
– You are using WordPress, wordpress mu, wordpress multi-site?I’m confused of what you mean.
I suppose you understand that the recaptcha shortcode is to be added to the contact form 7 form, just in the textarea on the left where you generate the tag and not to be used directly on a post/page/text widget.
What you have to add to your post/page/text widget is the shortcode provided by contact form 7 that is something like:
[contact-form-7 id="211" title="Contact Form 1"]After you have done that, a contact form should appear in the post, page or text widget where you added that shortcode. And if that form includes a recaptcha in its configuration then the recaptcha should appear either (NOTE: the recaptcha is only shown to unregistered users).
If you are doing it this way and it fails I suggest you try to first use a contact form 7 without recaptcha to let me know if it is BWP recaptcha extension the one that is breaking your contact form or just contact form 7 is not working for you.
Bug confirmed.
Sorry, a bug was introduced on version 0.0.2 when conforming code to wordpress coding standards.
Solved and a new version 0.0.3 has been released.
The reCAPTCHA tag generator should work now.
Regards.