Support » Plugins » creating custom capability with role manager fails

  • hi
    i am using wp 2.3.3 with the latest available version of role manager plugin. i am trying to create a castom capability, but when i submit it, using the appropriate form on the manage capabilities page, nothing happens.

    the new capability does not show up in the section “unused capabilities” nor on the role page.

    has anybody successfully created custom capabilities using this plugin with 2.3.3?

    all best,

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am using WP 2.3.3 and the Role Manager plugin (version 2.0.9). I have not had the need to create a new role for some time, but I just went and tested it. I created the new role, hit the create button and it appeared at the bottom of the existing roles. I then set the user level to my desired number, created a new user account and assigned it to the new role. I then logged in as the new user, and all was working as expected. I could not duplicate your concern. I will upgrade to Roll Manager version 2.2.1, and see if my results are any different.

    I just updated to Roll Manager version 2.2.1 and repeated the steps outlined above. I can not duplicate the concern. The latest version of the plugin is functioning properly for me on WordPress 2.3.3. Perhaps you have a confilcting plugin. Time for some “process of elimination” it seems.

    I’m sorry I could not be of assistance.
    Best of luck.


    thanks a lot clayton — your’re probably right, must be another plugin. the thing is, it’s not practical for me to turn off the plugins, because i need them all. and i can’t afford to turn them off sporadically in the future — when the site goes live, because i will also need to ocasionally add new capabilities.

    so the solution is really to manually add a new capability in wp_options. i’m also interested in figuring this out for the heck of it, but my attempt so far has not been successful.

    i was wondering if somebody could help me with the format of IWG_RoleMan_CapList., clearly i’s are ids so some_new_capability should get the i:55. but i can’t figure out what s’s are. Any idea?


    I think you two are talking about 2 different things. CJ, you might have misunderstood his question. Psychomachine is asking about capabilities while you were testing roles.

    Anyway I could create custom capabilities without a problem on WP 2.1 with role manager 2.2.1. They show just fine and I can assign them to roles.

    The only question I have is how do I add a capability to a particular role so they can use installed plugin (AdServe)?
    Can it be done?

    I’m having the same problem with adding custom capabilities. I type in a name, hit submit and nothing happens. It goes back to the capabilities page without creating one.

    Here are the WP settings:

    WordPress-Version : 2.5.1
    WordPress-Db-Version : 7796
    Role-Manager-Version : 02.02.02 (131586)
    PHP-Version : 5.2.5

    Hello, i can create a custom capability, and assign it to a role no problem. Now i am trying to do the following And it doesnt work, can anyone help, how do i access this custom capability. Basically what i want to do is check if a user has that capability assigned to him or not, and then i am going to use if else statements like below to set a value depending on whether he have access or not and return that value somewhere else and do whatever i like with it, has anyone done this? I have search far and wide, no luck :(.

    if ( current_user_can(‘Hbpediapublisher’) )
    $myHbPediaLevel = “12”;
    elseif( current_user_can(‘Hbpediaeditor’) )
    $myHbPediaLevel = “11”;

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘creating custom capability with role manager fails’ is closed to new replies.