Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Sorry I meant from in my previous post (it was a long day!).

    Right, the $gatt_design_recaptcha_email_receiver variable is simply pulling the information from a couple of built-in WordPress functions – get_option(‘blogname’) and get_option(‘admin_email’).

    The whole line in v1.11 is:

    $gatt_design_recaptcha_email_receiver = get_option('blogname') . ' <' . get_option('admin_email') . '>';

    In the next site you try, if v1.11 doesn’t work and and you can confirm the above is correct in your installation then I think there may be some issue with WordPress itself in that case.

    Out of interest, can you tell me which version you were experiencing the problems with?

    If you mean the name and email address that the email is going to, then they are set as variables in lines 606 to 609 (in v. 1.11):

    $gatt_design_recaptcha_form_name_field = $_POST['recaptcha_form_name'];
    $gatt_design_recaptcha_form_email_field = $_POST['recaptcha_form_email'];
    $gatt_design_recaptcha_form_email_field = sanitize_email($gatt_design_recaptcha_form_email_field);

    I haven’t had a chance to check through the previous versions due to time constraints, but this current version definately works OK – perhaps when you get a chance you could maybe upgrade to 1.11 to confirm it works OK for you too?

    Thanks

    Sam

    daily_american – not quite sure what code you are using above is from, but our code simply uses the wp_mail() function.

    Anyways, a new version (1.11) is now available which we have tested with WordPress 2.8.4 and works fine for us.

    Any problems, please let us know.

    At the moment the plugin will only work with WP > 2.8.2, however a version for 2.8.4 will be available soon (no date as yet I’m afraid).

    What version of PHP do your servers run?

    Just checked, the older version was UNIX/ANSI and the new one is UNIX/UTF-8 – I’ll get it changed post haste! ??

    Hmm well I use Notepad++ here, so I might compare v1.0.1 and v1.1 – sounds like the encoding/character set must have changed.

    Thanks for letting me know, when I’ve sorted it I’ll replace the current v1.1 with one without the encoding problem!

    What happens if you disable or remove the AnyFont plugin (seeing as that keeps getting mentioned in your error output) and then try installing the GD reCAPTCHA plugin?

    At what point do you get these errors?

    Also I noticed in your plugin list you’ve got down “reCAPTCHA Form (v. 1.1.1) by Gatt Design.” – I’ve not released a version 1.1.1 (yet)?

    Can you try uninstalling the plugin and reinstalling 1.1 from the WP plugins section, do the problems still occur?

    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.

    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.

Viewing 10 replies - 1 through 10 (of 10 total)