• Resolved Sam Rose

    (@samwho)


    Hi gesman,

    I’m the author of LBAK User Tracking and I’ve recently run into a conflict between our plugins with one of my users.

    The conflict is with some external javascript libraries that we use. I’m using a jQuery plugin called Tooltip (http://flowplayer.org/tools/download/index.html) and you’re using the jQuery ui (jquery-ui-1.8.9.custom.css). They seem to be in conflict on the admin dashboard, causing some AJAX queries to not process correctly. I’m open to the possibility that I’m wrong, though 🙂

    If you were to download my plugin and activate it alongside yours you will notice that some dashboard widgets just stay on the “Loading…” stage and the javascript console will display this error: “Uncaught TypeError: Cannot read property ‘mouse’ of undefined”.

    The problem seems to be in the “JAY__Get_Extra_Header_HTML” function. You’re echoing all of your Javascript directly into the headers. I’d recommend that you use the wp_enqueue_scripts functions and attach your script insertions into the appropriate admin_print_scripts-<page name> actions 🙂

    Do you need to use the jquery ui stuff in the dashboard? If not, it would stop the conflict if you didn’t insert it into the dashboard.

    Hope to hear back from you soon,
    Sam

    http://wordpress.org/extend/plugins/j-shortcodes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Sam Rose

    (@samwho)

    Thank you for addressing this 🙂

    Thread Starter Sam Rose

    (@samwho)

    Hm, I read into your code slightly wrong before. You weren’t printing <script> tags directly into the header, my bad. I’m sorry.

    Again, thanks for getting this fixed.

    Plugin Author gesman

    (@gesman)

    J Shortcodes 1.302 fixed that.

    And thanks for the tip re:loading scripts for admin pages.

    Gleb

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: J Shortcodes] Conflict with LBAK User Tracking’ is closed to new replies.