Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Block messages with hyperlinks in contact forms #850386

    Hello Rikard,

    Thanks for the reply. Yes, very sure that the spam messages get sent through the contact forms, since I have a contact form submission DB plugin that captures all messages (https://www.vovcollection.com/wp-admin/admin.php?page=CF7DBPluginSubmissions).

    Please find the login credentials in the private content. Most spam messages are coming from the first contact form on this page: https://www.vovcollection.com/palazzi-venice/ca-delle-vele/

    FYI I activated recaptcha by adding this code to functions.php:

    function ava_custom_recaptcha(){
    ?>
    <script type=”text/javascript”>
    var createCaptcha = function() {
    var button = jQuery(“.avia_ajax_form .button”),
    parent = button.parent(“.form_element”);
    captcha = jQuery(“<p id=’reCAPTCHAV2′></p>”);

    button.attr(“disabled”, “disabled”);
    captcha.insertBefore(parent);
    };

    createCaptcha();

    var onloadCallback = function() {
    var publickey = ‘6LeffS8UAAAAADBZNN41EIfFxuaq9oIZ4iMeoIoi’;
    grecaptcha.render(‘reCAPTCHAV2’, {
    ‘sitekey’ : publickey,
    ‘callback’ : ‘onSuccessfullCallback’
    });
    };

    var onSuccessfullCallback = function() {
    jQuery(“input[type=submit]”).removeAttr(‘disabled’);
    };
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘ava_custom_recaptcha’);

    if(!function_exists(‘avia_register_reCAPTCHAV2_scripts’))
    {
    if(!is_admin()){
    add_action(‘wp_enqueue_scripts’, ‘avia_register_reCAPTCHAV2_scripts’);
    }

    function avia_register_reCAPTCHAV2_scripts()
    {
    $prefix = is_ssl() ? “https” : “http”;
    $api_url = $prefix.’://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit’;

    wp_register_script( ‘avia-google-reCAPTCHAV2-api’, $api_url, array(‘jquery’), NULL, true);
    wp_enqueue_script( ‘avia-google-reCAPTCHAV2-api’ );
    }
    }

    I still think that blocking messages hyperlinks might be a good idea but please let me know your thoughts,
    Thanks,

    JD

    in reply to: Video Controls not working #686329

    Hello there,
    Any updates on this?

    Thanks,
    JD

    in reply to: Video Controls not working #684484

    Hello Rikard,

    Thanks for your prompt reply. Admin login details in private.

    Keep me posted,
    Cheers,

    JD

    in reply to: Contact from Not Sending since update to 3.4.2 #540440

    Ps. to clarify the forms are working at times. Not always.

    Regards,

    JD

    This reply has been marked as private.
    in reply to: Content is not "Centered" – WPML issue? #331577

    Hi there,
    I managed to solve it in the maintime, it was an issue of discrepancy of the Maximum Container width between the 2 languages.
    Thanks anyways and keep up the good work,

    Your theme (& team) Rocks!

    J.D.

Viewing 6 posts - 1 through 6 (of 6 total)