• Hello,
    There is a Jquery conflict issue that impact another plugin (RPB Chessboard). When clicking on any chess move (in url supplied), a floating diagram is displayed that uses Jquery. When disabling ultimate member, the display works fine. I contacted the RPB Chessboard author that told me he could not do anything and solution should be done in Ultimate member plugin
    Below the answer from the author:
    “Hi,
    The content of the window is managed by RPB Chessboard, but the window itself is managed by a library provided WordPress (jQuery UI).

    Yet, one of your plugins (ultimate-member) inserts in your page a CSS file (https://edlv.fr/wp-content/plugins/ultimate-member/assets/css/jquery-ui.css?ver=2.1.1) that modifies the aspect of the window. Unfortunately, this CSS file is designed for jQuery UI version 1.12.1, whereas the version of jQuery UI brought by WordPress is version 1.11.4. This is what breaks things.

    I suggest you report the problem to the authors of ultimate-member. I think I cannot do anything on my side.”

    Do you have any suggestion to solve the issue?
    thank you
    Olivier

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @olmanz

    You can try deregistering the JQuery UI style with the following code:

    wp_deregister_style( 'um_ui');

    But we don’t recommend as it may break other UM default styles but you can try it if it works for you.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @olmanz

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards,

    Thread Starter olmanz

    (@olmanz)

    Hello,
    Thank you for your message.

    I added below code in functions.php but it did not work

    ————–

    add_action(‘wp_enqueue_scripts’,’dequeue_my_css’);

    function dequeue_my_css() {
    wp_dequeue_style(‘um_ui’);
    wp_deregister_style(‘um_ui’);
    }

    Any idea on how to solve the issue?

    thank you

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @olmanz

    Have you tried adding to an init action?

    
    add_action("init","um_custom_init", 999 );
    function um_custom_init(){
      add_action(‘wp_enqueue_scripts’,’dequeue_my_css’);
    }
    
    function dequeue_my_css() {
     wp_dequeue_style(‘um_ui’);
     wp_deregister_style(‘um_ui’);
    }

    Let me know if this works for you.

    Regards,

    Thread Starter olmanz

    (@olmanz)

    I tried to insert the code but got an error I message:

    Warning: Use of undefined constant ‘wp_enqueue_scripts’ – assumed ‘‘wp_enqueue_scripts’’ (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/colormag/functions.php on line 18

    Warning: Use of undefined constant ’dequeue_my_css’ – assumed ‘’dequeue_my_css’’ (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/colormag/functions.php on line 18

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @olmanz

    You must copy and paste the code as plain text. Please try it again and let me know if this resolves the issue.

    Regards,

    Thread Starter olmanz

    (@olmanz)

    Thank you. There are no more code errors in plain text. But that does not solve the issue. The same display problem with jquery remains.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @olmanz

    could you please try this one? UM ui style is added with priority 100. Maybe changing the value to 999 may resolve this issue.

    add_action(‘wp_enqueue_scripts’,’dequeue_my_css’, 9999 );
    function dequeue_my_css() {
     wp_dequeue_style(‘um_ui’);
     wp_deregister_style(‘um_ui’);
    }

    Let me know if you’re still encountering any issues.

    Regards,

    Thread Starter olmanz

    (@olmanz)

    Hello, it works perfectly fine.

    thank you a lot for your help
    Olivier

    Thread Starter olmanz

    (@olmanz)

    Hello,

    Solution above does not work anymore after various update (theme, add-ons..)
    ————-
    add_action(‘wp_enqueue_scripts’,’dequeue_my_css’, 9999 );
    function dequeue_my_css() {
    wp_dequeue_style(‘um_ui’);
    wp_deregister_style(‘um_ui’);
    }
    ————

    I get an error message =>

    Warning: Use of undefined constant ‘wp_enqueue_scripts’ – assumed ‘‘wp_enqueue_scripts’’ (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/colormag/functions.php on line 15

    Any idea on how to solve the issue ?

    thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Conflict Jquery RPBChessboard’ is closed to new replies.