WordPress.org

Forums

[resolved] Multisite Plugin Question - Can I suppress some? (19 posts)

  1. PetLvr
    Member
    Posted 4 years ago #

    I've set up a multisite blog .. and have some plugins.

    1) ones I want sitewide activated are in the ../mu-plugins .. so everybody gets benefit or to function better on all sites as the default and others have no choice to deactivate // no problems.

    2) ones I want for myself, and feel okay if I were a user of mine I would also want them (like contact form, twitter tools, etc). I set it on the admin blog and Network Activated, and it is not only available on each new blog it is also activated. // no problems

    3) But I also have plugins that I only want in the admin blog and do NOT activate network wide. However, in the individual sites these plugins show up in the Plugin menu .. (e.g. admin type of plugins and specially for me plugins, and the like) // not what I want!
    >> for instance: users can activate that cets_blog_defaults although I don't believe the options actually show up because it only shows up in the admin's superadmin menu but still..

    I'm not sure if it even exists or not - but I would like to know if

    (a) is possible to suppress plugins selected only on the admin blog from the multisites, and
    (b) while I'm asking, is it possible to prevent users from actually uploading new plugins and just be able to activate plugins that I have selected okay for use as admin? (reasoning: so I don't have a gabillion different stat plugins eating up my CPU resources etc)

    Thanks!
    HART aka PetLvr

  2. #3 is the sticky point. So far, no good solution.

    while I'm asking, is it possible to prevent users from actually uploading new plugins and just be able to activate plugins that I have selected okay for use as admin?

    Blog admins do NOT have the ability to install new plugins or themes. Only the Super Admin does.

    It was the same in MU, remember? ;)

  3. Michael Bishop

    Posted 4 years ago #

    Well, if you want mu plugins that run in the background, and plugins that are simply network wide activated, you can suppress the plugins menu from non super admins under Super Admin->Options->Menu Settings->enable administration menus->plugins (uncheck).

    That way, you can individually activate plugins on a site by site basis with the Super Admin(s). Site Admins and other users do not see the option to activate/update/etc. They only see active plugin options, usually under settings, or their own top level menu. This doesn't allow them to activate individual plugins, you would have to do that as the Super Admin, but does give you more granular control.

    At least that's how I manage it…

  4. PetLvr
    Member
    Posted 4 years ago #

    @miklb .. I think I understand now! Thanks for suggestion!

    Basically ... I've turned off the plugin access for the blogs .. but (if asked) I can go in via superadmin and the "backend" way to activate them if they want it.

    I just have to let them know what plugs are available to be activated .. I could make a page or something!

    @andrea .. I believe you when you say it was the same in the old MU version :D .. I just used the wpMU for my own purposes before and was/am the sole user on my other MU sites! I never considered this before.

  5. Michael Bishop

    Posted 4 years ago #

    @PetLvr, glad that made some sense! I'm sure there are some plugins you wouldn't want to automatically have active network wide (vs must use), so sure, a page listing them could work.

  6. Yeah, no one's built this level of fine-grained control yet. I'm sure it can be done tho.

  7. justbishop
    Member
    Posted 4 years ago #

    Kawauso from the #wordpress IRC channel actually wrote a plugin for this issue at my request. It's been submitted but not yet approved through the WP plugin directory, I guess. Here's the page:

    http://wordpress.org/extend/plugins/restrict-multisite-plugins/

    If anyone would like it now, please let me know, I'm happy to share! I'm running WP 3.0 (Multisite, of course) and Buddypress 1.2.4, and it's working like a charm to hide all but about 7 of my 40+ plugins from sub-site admins :)

    ETA: Screenshots...

    Super Admin toggling of plugins to be visible/invisible to sub-sites
    http://img.photobucket.com/albums/v84/justbishop/hideplugs.jpg

    Plugin screen of logged in test user on test sub-site (test is test sub-site admin)
    http://img.photobucket.com/albums/v84/justbishop/hideplugs2.jpg

  8. Sweet. :) Told someone would do it eventually. ;)

  9. justbishop
    Member
    Posted 4 years ago #

    Yeah, even Kawauso thought that it was odd that no one had done it yet!

  10. itx
    Member
    Posted 4 years ago #

    @PetLvr:
    i think your best solution is this: http://wordpress.org/extend/plugins/exclude-plugins/

  11. Adam W. Warner
    Member
    Posted 4 years ago #

    Hi all, I know this is an old thread, but I've just researched the two plugins listed here and it seems that each has reports of not working as expected. I wonder if someone using them can verify this one especially posted by justbishop:
    http://wordpress.org/extend/plugins/restrict-multisite-plugins/

    The forum has two users claiming it does not work with multiple domains (domain mapping).

    Anyone using this successfully with domain mapping?

  12. justbishop
    Member
    Posted 4 years ago #

    Sorry awarner20, I use subdirectories on my install :(

  13. Adam W. Warner
    Member
    Posted 4 years ago #

    Thanks for the reply:)

    Bummer dude:(

  14. venug
    Member
    Posted 4 years ago #

    Hello !@justbishop

    You said that your Multisite is having 40+ plugins .Doesn't it cause the slowness problem to your website?

    @Andrea_r

    Is there any solution ,if we use 40 to 60 Plugins for our Multi-site installation? Would you please suggest if there any way to solve the slowness problem if we use this much plugins ?

    Thanks in advance !

  15. It may not be the amount of plugins, it could be many other factors.

    But a quick check: disable all your plugins, see if the site is faster.

  16. justbishop
    Member
    Posted 4 years ago #

    @venug, not all of those plugins are enabled at once. Some of them are only used on child sites ;)

  17. venug
    Member
    Posted 4 years ago #

    @justbishop
    Thanks !

    @Andrea_r

    Thanks ! BTW Would you please suggest if there is any way to solve the slowness problem if we use plugins like 40+?

    Are there any multisite users who use many plugins site wide ?

    Thanks again !

  18. As I said above - it could be MANY other factors. You've given me no other details.

    It might be one specific plugin.
    It might be your host.
    It could be your location.
    It may be the db.

    Did you disable all your plugin like I suggested? Did the site get faster?

  19. venug - This may be worth a new post (about 'How to optimize a WP install with 40+ plugins').

Topic Closed

This topic has been closed to new replies.

About this Topic