• I would like to change the roles. F.e I would like to add view levels to the subscriber role (level_1, level_2) etc.

    Does anyone know if this is possible and how ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can’t do this with just WordPress. Plugins to do this will likely be available soon.

    Thread Starter kitty

    (@kitty)

    It must be possible to change the code ?

    In the previous version of WordPress I changed the code in menu.php in the wp-admin folder but the menu.php has changed

    OLD MENU FILE
    // Menu item name
    // The minimum level the user needs to access the item: between 0 and 10
    // The URL of the item’s file
    $menu[0] = array(__(‘Dashboard’), 0, ‘index.php’);
    $menu[5] = array(__(‘Write’), 6, ‘post.php’);

    NEW MENU FILE
    $menu[0] = array(__(‘Dashboard’), ‘read’, ‘index.php’);
    $menu[5] = array(__(‘Write’), ‘edit_posts’, ‘post.php’);

    This should help understand the new capabilities for WordPress user roles:

    http://codex.wordpress.org/Roles_and_Capabilities

    But as David mentions, look for plugins to do this:

    http://redalt.com/wiki/Role+Manager

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing roles ?’ is closed to new replies.