Skip to:
Content
Pages
Categories
Search
Top
Bottom

Restrict user blogs (tools, pages, themes)

  • @jfcarter

    Participant

    I’d like to restrict what my user blog admins can access in the dashboard. I’ve already restricted the plugins using Plugin Commander.

    I also want to restrict their use of:

    -Tools (I want to prevent them from using Turbo and Press This, which automatically populate the Tools menu. I’d like to keep the import and export functions for them)

    -Pages (I only want them to be able to create blogs, not individual pages)

    -Themes (I’m using two different themes–home and member–and though I’ve restricted the available themes in the Site Admin panel to those two, I need to prevent users from being able to switch between the themes, because one of them just doesn’t work with user-blogs)t

Viewing 9 replies - 1 through 9 (of 9 total)
  • @peterverkooijen

    Participant

    The WP Hide Dashboard plugin may help.

    @jfcarter

    Participant

    Thank you, Peter, this will help with the tools. But I still want them to be able to access certain parts of the Dashboard.

    Do you know of anything more modular, that will let me pick and choose what users can see?

    @peterverkooijen

    Participant

    No. Here\’s some code from the plugin:

    ‘/* Hide the Dashboard link (2.5+) and the Tools menu (2.7) */

    function wphd_hide_dashboard() {

    global $menu, $current_user;

    if (!current_user_can(‘edit_posts’)) {

    if (0 <= wphd_hide_dashboard_version(‘2.6’)) {

    unset($menu[0]);

    } else if (0 >= wphd_hide_dashboard_version(‘2.7’)) {

    unset($menu[0]);

    unset($menu[4]);

    unset($menu[55]);

    }

    }

    }

    I\’d remove \’unset($menu[4]);\’ and \’55\’ and see what happens. Someone who better understands programming may be able do add/edit this to get what you want.

    The plugin is from Kim Parsell. Perhaps you can convince her to expand it and make it more modular.

    @jfcarter

    Participant

    Thanks again, Peter. I’ll check this out.

    Any other plugin or code ideas would also be welcome.

    @takuya

    Participant

    visit wpmudev, there’s plugin called, menu something which does what you want.

    @jfcarter

    Participant

    Socialpreneur, this is perfect! Do you think there is anyway to prevent the Site Admin menu selections from being overridden by individual blog owners?

    @jfcarter

    Participant

    I setup the plugin; it doesn’t work, unfortunately.

    Anyone else have any other ideas?

    @takuya

    Participant

    it works on my environment, what’s ur setup? versions?

    @jfcarter

    Participant

    I’m using WPMU 2.7; BP RC-1.

    What’s happening is that when I enter the restrictions, and create a new user/blog, they can still see all the things I tried to restrict. It’s like the restrictions are optional and not binding.

    And I really want to use the plugin!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Restrict user blogs (tools, pages, themes)’ is closed to new replies.
Skip to toolbar