• Resolved i0n1ca

    (@i0n1ca)


    Hello,

    I’m glad that I found your captcha plugin and just installed it. After messing with general options and comments form options, got some ideeas about how my theme looks and found a final result. But in live preview the slider works and on the site posts in comment section the slider is not moving so I can’t use it.

    Why?

    My website is isay.ro

    I’m running an Macbook and used for tests, Chrome and Safari browsers.

    Any help, please.
    Thanks,
    ionica

    https://www.ads-software.com/plugins/slider-captcha/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Henrique Mouta

    (@vaurdan)

    Hello.
    Does your theme have a call to wp_footer() in your footer.php? That symptom sounds like that some javascript libraries (the ones loaded in the footer) are not being loaded.

    Regards!

    Thread Starter i0n1ca

    (@i0n1ca)

    Yes it has, right before the </body> ends.

    Here is a picture.

    I had some problems with my host and the site was down for 2 days.

    Plugin Author jpargana

    (@jpargana)

    Hi,

    In your theme, you are loading jQuery 1.11 one time in the head (sliderCaptcha is enqueuing this version) and 2 times the 1.7.2 version in the footer.

    Can you try to remove those last 2 jQuery calls, please?

    Thank you,
    Jo?o Pargana

    Thread Starter i0n1ca

    (@i0n1ca)

    Hi Joao,

    How i will remove those 2?
    Should Deactivate all plugins?

    Plugin Author jpargana

    (@jpargana)

    You should try to find where the next url, https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js, is loaded.

    If it’s a manual loading in footer.php you should remove <script> tag or if it’s inside a plugin you should remove or adapt enqueue function for the last version (enqueue(‘jquery’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&#8217;,…)).

    Regards,
    Jo?o

    Thread Starter i0n1ca

    (@i0n1ca)

    Hi jpargana

    Found that jQuery 1.7.2 in my functions.php

    Here are the files: footer.php and functions.php

    Those jQuery you can find them on “//Comment validation box”

    1. I have deactivated all plugins and the error is the same, not working.
    2. Removed those 2 lines with <script>tag for jQuery 1.7.2, not working.
    Now the slideCaptcha is not showing before PostComment button. It’s not showing at all.
    What’s wrong?

    What do you think that could be the problem?

    Thanks.

    Update: Tried to insert it manualy with custom code on single post after comments, not working. Put it like shortcode in about page, not working.

    The plugin works only in settings.

    Thread Starter i0n1ca

    (@i0n1ca)

    On Login form is working
    Lost password is working too, but the plugin settings are strange. I made a change to comment form and select lost form, nothing happens. I should go back in settings>slider Capchta to reload it again. Made a change, nothing happens after.

    The login form and lost password form not working in Google Chrome, only in Safari. Why?

    Thread Starter i0n1ca

    (@i0n1ca)

    I have put this code <script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script> in functions.php replaceing those 2 lines in validation box with 1.7.2 and validation jQuery.

    I have deleted the last function with async option for js and now the login/lost password form are working properly.

    What can we do with comments?

    Update: the page shortcode is working, everything is working except comments ??
    Tried to put the code above to footer.php, header.php but no results.

    Plugin Author Henrique Mouta

    (@vaurdan)

    Hello.
    Your theme probabily have a custom comment form. You must add the slider captcha manually. For more details, please refer to the FAQ “I’ve activated the plugin, but I can’t see any CAPTCHA… What can I do?” at https://www.ads-software.com/plugins/slider-captcha/faq/

    Let me know if that works.
    Henrique

    Thread Starter i0n1ca

    (@i0n1ca)

    Tried, put it manually after button with no success.
    comments.php

    Plugin Author Henrique Mouta

    (@vaurdan)

    Hey.
    We think we found the problem to your problem. Can you please try to do the following changes?

    On file slider-captcha.php (at /wp-content/plugins/slider-captcha/):

    1. Replace line 203 (wp_enqueue_script('jquery-ui-touch-punch', plugins_url( '/js/jquery.ui.touch-punch-improved.js', __FILE__ ), array('jquery-ui-core','jquery-ui-mouse','jquery'), '0.3.1',false);) with this: wp_enqueue_script('jquery-ui-touch-punch', plugins_url( '/js/jquery.ui.touch-punch-improved.js', __FILE__ ), array('jquery'), '0.3.1',false);
    2. Replace line 205 ( wp_enqueue_script('jquery-slider-captcha', plugins_url( '/js/slider-captcha.min.js', __FILE__ ), array('jquery-ui-core','jquery-ui-touch-punch'), $plugin_version,false); ) with this wp_enqueue_script('jquery-slider-captcha', plugins_url( '/js/slider-captcha.min.js', __FILE__ ), array('jquery-ui-droppable', 'jquery-ui-draggable', 'jquery-ui-widget', 'jquery-ui-core', 'jquery-ui-mouse', 'jquery', 'jquery-ui-touch-punch'), $plugin_version,false);

    After that, please let me know if that works. This patch will be released soon, in a few days, but we must be sure that this is working.

    Regards,
    Henrique

    Thread Starter i0n1ca

    (@i0n1ca)

    Herinque,

    Your my man ?? awesome!

    Those modifications worked.

    Picture

    Thanks a milion.

    Plugin Author jpargana

    (@jpargana)

    Really nice to listen that. We have changed the way the sliderCaptcha enqueue JavaScript dependencies. As soon as possible, we will release a new version with those modifications.

    Best regards,
    Jo?o Pargana

    Thread Starter i0n1ca

    (@i0n1ca)

    Thanks to the team behind this great plugin. I’m waiting that new release ??

    Have a great day Joao.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Not working’ is closed to new replies.