• Resolved desean

    (@desean)


    firstly, thanks for the plugin.

    your plugin works fine for me except that the html seems to be broken (tried with all current versions of firefox, chrome & ie8). see my contact form to understand what i mean -> https://www.dragonscouts.com/home/about/

    i’ve disabled all plugins except this and the problem still persist so it is not a plugin conflict issue.

    however, when i activated the default theme, the problem goes away. but the problem is not with the theme i’m using (Atahualpa). why i say this so? i also use the WP-reCAPTCHA plugin for my post comments (example here) and there is nothing wrong with it.

    can you tell what’s wrong and fix it? thanks.

    p.s. can i use the black glass theme for your plugin as well? why not tag your reCAPTCHA to the WP-reCAPTCHA plugin? just a suggestion.

    https://www.ads-software.com/extend/plugins/recaptcha-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have narrowed the problem down to the theme’s header.php code.

    If you go to line 61 of header.php, you see this chunk of code:

    <?php if ($bfa_ata_table_hover_rows == "Yes") { ?>
    	$bfa(".post table tr").mouseover(function() {$bfa(this).addClass("over");}).mouseout(function() {$bfa(this).removeClass("over");});
    	<?php } else { ?>
    	$bfa(".post table.hover tr").mouseover(function() {$bfa(this).addClass("over");}).mouseout(function() {$bfa(this).removeClass("over");});
    	<?php } ?>
    	<?php if ($bfa_ata_table_zebra_stripes == "Yes") { ?>
    	$bfa(".post table tr:even").addClass("alt");
    	<?php } else { ?>
    	$bfa(".post table.zebra tr:even").addClass("alt");
    	<?php } ?>

    For some reason this causes a conflict with the reCAPTCHA image (I assume because the code generated by reCAPTCHA displays it in a table, and the above code in your header.php file relates to tables). When I removed it, the reCAPTCHA image showed up fine.

    However I do not know if removing this chunk of code will adversely affect anything on your pages – from a quick glance all it seems to do is dynamically add and remove a couple of CSS classes to do with tables (the “over” and “alt” classes in the style.css file).

    Re. your other question about themes, the option to change themes will be in the next version of this plugin, which should hopefully be released some time this week.

    Thread Starter desean

    (@desean)

    but any idea why the WP-reCAPTCHA plugin isn’t affected?

    Thread Starter desean

    (@desean)

    btw, i was trying to remove the code you mentioned above to try but i couldn’t find it. i think you might be using version 3.2 (the latest version on www.ads-software.com) but i forgot to mention that i’m using version 3.3.3 (found at the theme’s website)

    I looked at the code and I think it only applies to code in the main post content, not in the comment which is what WP-reCAPTCHA is for. If you compare a comments section with the reCAPTCHA Form, you will see the code for displaying the actual reCAPTCHA box isn’t really any different.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: reCAPTCHA Form] html broken?’ is closed to new replies.