Skip to:
Content
Pages
Categories
Search
Top
Bottom

Restrict user blogs (tools, pages, themes)

  • Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    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)
  • Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    The WP Hide Dashboard plugin may help.

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    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?

    Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    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.

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

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

    Any other plugin or code ideas would also be welcome.

    Avatar of wpmubp.org
    wpmubp
    Participant

    @takuya

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

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

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

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

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

    Anyone else have any other ideas?

    Avatar of wpmubp.org
    wpmubp
    Participant

    @takuya

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

    Avatar of Jfcarter
    jfcarter
    Participant

    @jfcarter

    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)

You must be logged in to reply to this topic.