Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jimario

    (@jimario)

    Nevermind. There must have been a conflict with another plugin because I deactivated all the other plugins and then it started to work fine.

    Thread Starter jimario

    (@jimario)

    There seems to be a conflict with Simplr User Registration Form plugin. Is there a way to make these 2 plugins play nice?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    User Role Editor uses JavaScript/jQuery to work with dialog windows, like “Add Role”.
    “Simplr User Registration Form” plugin breaks JavaScript injecting to the ‘users.php’ page not working code. You may see that error at Chrome JavaScript console, just open “Users” menu at WordPress. The reason is this code:

    jQuery(document).ready(function($) {
        $('.chzn').chosen();
    }

    which “Simplr” adds to the page footer. Element with class ‘.chzn’ does not exist and call of chosen() method leads to the Javascript error. After that any other JavaScript call stop working.

    To fix this error open simple_reg_page.php, goto line # 197 and replace code there with this version:

    jQuery(document).ready(function($) {
        if (!$('.chzn').length) {
          return;
        }
        $('.chzn').chosen();
    });

    Thread Starter jimario

    (@jimario)

    Thanks Vlad. That worked. It’s funny, I just recently discovered this .chzn error in the error console and decided to google it. Google led me straight back to my original post right here. Thanks again. Great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Box for "Add Role" won't open when Add Role button clicked’ is closed to new replies.