Forums

How to Block Certain Plugins/Themes? (6 posts)

  1. Bryan Hadaway
    Member
    Posted 11 months ago #

    How to block certain plugins and themes from users?

    Meaning I have around 20 plugins and 20 themes or so that I DO want users to be able to use, but a few that I DON'T want them to be able to use.

    Thanks, Bryan

  2. Samuel B
    moderator
    Posted 11 months ago #

    assuming you mean you are running multisite, only the ones you network activate are available for users/blogs

  3. Bryan Hadaway
    Member
    Posted 11 months ago #

    Well, I am posting under multisite.

    That might have been the case previously, but now the way multisite handles it is that just to add a plugin to the main site it's 'available' to users.

    Yes, available, NOT activated however they can activate it if they wish.

    That's good for most of the plugins, but some I want strictly for the main site only.

    Similarly, how you can set the default theme for users:

    define('WP_DEFAULT_THEME', 'userdesign');

    I was hoping there might be a way to list plugins/themes that should be hidden from users.

    Probably wishful thinking that it would be that easy.

    Thanks, Bryan

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 11 months ago #

    You can manage themes per site.

    Go to Network Admin -> Themes. If they're Network activated, everyone sees them. If they're not, they don't. Then you have to go to each site (network admin -> Sites -> Edit Site) and activate them per site.

    You can block plugins per site using plugin manager tools.

    PLUGIN MANAGMENT
    * http://wordpress.org/extend/plugins/exclude-plugins/
    * http://wordpress.org/extend/plugins/restrict-multisite-plugins/
    * http://wordpress.org/extend/plugins/plugins-enabler/

  5. Bryan Hadaway
    Member
    Posted 11 months ago #

    Wonderful, thank you.

    So to recap theme and plugin control for multisite users:

    Themes

    When installing themes they're automatically available for all users, this has nothing to do with network activating or not. It's just like that by default.

    So, go to Network Admin > Themes > And Click Network Disable for the Theme(s) you Only Want Available to You, the Super Admin.

    Plugins

    Sadly, the same setting isn't available to plugins... it's all or nothing.

    http://wordpress.org/extend/plugins/exclude-plugins/

    is the plugin you want to go with, Network Activate it.

    Thanks again Ipstenu.

    Thanks, Bryan

  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 11 months ago #

    Themes - Yep.

    Plugins - Use a (heh) plugin and you can manage them :)

    I listed the set of them, since it depends HOW you want to restrict them ;)

Reply

You must log in to post.

About this Topic