Form Manager
Suggestion for two reCAPTCHA field adjustments (7 posts)

  1. model13
    Posted 2 years ago #

    I'm using Form Manager 1.6.40 on WordPress 3.5.1 multisite. We've been using this plugin for about six months now and have been very pleased with it. Thanks!

    I noticed a couple of details with the reCAPTCHA that I was hoping you could look into and possibly adjust in a future version of the plugin.

    1. I noticed the textarea associated with the reCAPTCHA fields includes the rows and cols attributes/values twice. This seems to be part of the plugin's code and not something that can be adjusted in the form setup.

    2. We're required to load all pages containing forms over SSL. The iframe source for the reCAPTCHA is coded as http://www.google.com/recaptcha/api/noscript?k=somekeyno, which causes IE to throw those annoying messages about mixed secure and insecure content; Chrome doesn't display the reCAPTCHA at all. Is is possible to change the source to //www.google.com/recaptcha/api/noscript?k=somekeyno, which should resolve those issues?


  2. model13
    Posted 2 years ago #

    I've had to go ahead and implement these revisions to the function recaptcha_get_html() in recaptchalib.php. I hope you might consider including them in an update before too long.

    define("RECAPTCHA_API_SERVER", "//www.google.com/recaptcha/api");

    function recaptcha_get_html ($pubkey, $error = null, $use_ssl = false)
    	if ($pubkey == null || $pubkey == '') {
    		die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>");
    	$server = RECAPTCHA_API_SERVER;
            $errorpart = "";
            if ($error) {
               $errorpart = "&error=" . $error;
            return '<script type="text/javascript" src="'. $server . '/challenge?k=' . $pubkey . $errorpart . '"></script>
      		<iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0"></iframe><br/>
      		<textarea name="recaptcha_challenge_field"></textarea>
      		<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
  3. hoffcamp
    Plugin Author

    Posted 2 years ago #

    Thanks for posting this! I'll have this in the next update.

  4. model13
    Posted 2 years ago #

    Thank you! And thanks again for your great work on this plugin.

  5. model13
    Posted 2 years ago #

    Is there any chance you could include a fix in your next release? The most recent update to Form Manager wiped out the plugin code change necessary to support reCAPTCHA over SSL. The disappearance of the reCAPTCHAs disabled a couple dozen forms on our main multisite installation. Other users seem to be having similar problems.

  6. hoffcamp
    Plugin Author

    Posted 2 years ago #

    I just tested & posted the changes you requested... sorry to take an eternity on this.

  7. model13
    Posted 1 year ago #

    You're awesome! Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.