• Resolved rsimonsen

    (@rsimonsen)


    Hi Tareq

    I had the plugin ‘Sponsors Carousel’ (link: http://wordpress.org/plugins/sponsors-carousel/) set up and working before I activated this plugin.
    After this plugin was activated I saw that the ‘Sponsors Carousel’ wasn’t working and thought the plugin was broken, so I installed another plugin doing almost the same – ‘Carousel Widget’ (link: http://wordpress.org/plugins/sponsors-carousel/). But the new activated plugin did not work either.
    So I deactivated my plugins one by one to see which plugin broke these carousel-plugins – and unfortunately this plugin did. 🙁

    Perhaps it has something to do with the jquery in wpuf.php og attachement.php?

    Is it possible in any way for you to make a quick guide for me to tweek your plugin so it won’t break these carousels?

    Thanks! 🙂

    http://wordpress.org/extend/plugins/wp-user-frontend/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tareq Hasan

    (@tareq1988)

    Seems like a JS error, checkout if you have any JavaScript error in your page and let me know the error.

    Thread Starter rsimonsen

    (@rsimonsen)

    Hi Tareq

    Thank you for the quick respond.

    When using Firefox > Firebug it gives me this error code:
    TypeError: $(…).on is not a function
    $(‘#wpuf_new_post_form, #wpuf_edit_post_form’).on(‘submit’, this.checkSubmit);
    wpuf.js?ver=3.5.2 (linje 5)

    I managed to isolate the code in wpuf.php that makes the error.
    By removing line 133 (wp_enqueue_script( 'wpuf', $path . '/js/wpuf.js', array('jquery') );) both carousels started working again. 🙂

    Perhaps you can tweek the code in this line?

    Thanks. 🙂

    Plugin Author Tareq Hasan

    (@tareq1988)

    The problem is not created by WP User Frontend. Some plugin or your theme is removing the jQuery that comes with WordPress and adding a lower version of jQuery that doesn’t have the on method. Thats why it’s giving you the error $(…).on is not a function. Thats bad.

    Thread Starter rsimonsen

    (@rsimonsen)

    I can see that I am using jQuery ver. 1.4.2 in my WP 3.5.2 – is that wrong?

    Thread Starter rsimonsen

    (@rsimonsen)

    Ahhh… I see!

    http://codex.wordpress.org/Version_3.5

    My plugin is forcing the 1.4.2 version and thereby removing the 1.8.3 version.

    I’ve contacted the plugin author and asked for an update.
    (BTW – the plugin is ‘Sponsors Carousel’.)

    Sorry for taking your time. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems using carousel plugins’ is closed to new replies.