• Resolved mchelles

    (@mchelles)


    I love this plugin and have been using it on a couple of my sites now πŸ™‚

    Noticed when I upgraded to WP 3.5.2 though it stopped playing nice with my theme’s javascript files.

    Quick and easy fix:

    Added this to the top of the wp-user-frontend/js/wpuf.js file:
    $.noConflict();

    Not sure if that is nec. the right code or the best way of fixing things, but it at least made it so my sites were no longer broken.

    Anyways, just wanted to let you know of this issue – maybe it is something that can be addressed in the next update. If anyone has a better solution for fixing the js conflict I’d love to hear your ideas as well!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes i have this problem too. Who can help us?

    Thread Starter mchelles

    (@mchelles)

    Did you try going to the Plugin Editor in WP Dashboard and pasting this at the very top of the plugin js file?
    $.noConflict();

    If so, did that work for you? If not, what theme are you using?

    That fixed it for me on two sites with different themes but I have no idea if that’s the best way of doing it. There’s also a pro version of the plugin – that may be better supported.

    It work correctly with Twenty Twelve theme . but I’m design a theme that this plugin don’t work in it correctly. dashboard work correctly but sending post editor cant load full.

    Plugin Author Tareq Hasan

    (@tareq1988)

    I suspect it’s to do with plupload library as it is loading on every page, previously it was loading only on add post and edit post pages. I removed that condition, now need to put it back and lets see what happens.

    Fantastic Tareq,

    Both the conflict with other plugins (in my case geo my wp) and the no upload featured image link seem to be resolved in version 1.2.3.

    Thanks

    Tareq Hasan please give me the java scripts that must load in “wpuf-add-post.php” header.

    function enqueue_scripts() {
       if (get_query_var('pagename')== "YOURPAGENAME") {
          // rest of the original code
       }
    }

    This works for me, now it only loads the wp fronted js files when the actual add post page is loaded

    file: /wp-content/plugins/wp-user-frontend/wpuf.php line 117

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Javascript Conflict With Many Themes Since Last Update’ is closed to new replies.