WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Activating plugins in multisite (23 posts)

  1. inge12
    Member
    Posted 3 years ago #

    I noticed that Andrea said in one post that it is best to avoid network activation of plugins unless really necessary.

    Now I'd like to try out some plugins on the main site -- or even on a test sub-site -- but that seems impossible. When I go to the plugin interface on the main site, there's no option to add a new plugin, unless I go into Network Admin mode. And in Network Admin mode, I can only network enable, not enable for main site only.

    Sub-sites also have no option of adding new plugins -- only the option of activating or deactivating plugins. Thus I can't test them out there. Of course, I suppose I can test them on another domain that doesn't have multiple blogs, but is that the only way?

    Is that the way it's supposed to be, or is there something in my setup that's quirky?

  2. dgilmour
    Member
    Posted 3 years ago #

    This is the way it's supposed to be.

    Plugins are installed by being copied into a shared plugin directory (/wp-content/plugins), from where they're activated across the network or for individual blogs. That installation can be done in two ways; either from the Network menus, via HTTP, or by uploading the plugin files via FTP.

    If a plugin has been installed, but not activated, no blog runs the plugin code. (There's an exception here for files uploaded to /mu-plugins, but we'll ignore that for now.) This means you can test it on an individual blog, although there's a possibility, of course, that your test may impact other sites in the network.

    More on this here, probably worth a read: http://codex.wordpress.org/Managing_Plugins#Installing_Plugins

  3. Steve@BHQ
    Member
    Posted 3 years ago #

    @inge12 I just got my WPMS/BP site up and noticed the same thing,.. just figured that is how things worked.
    @dgilmour Ok, do you khow do we can have only certain plugins available or "activated" for certain sites?

  4. Go to network admin. Install a plugin. Do not activate it.

    Go to a sub site. See the newly installed plugin in the list. Activate it.

    Yes, it's a bit more of a run around if you just want to fiddle with a plugin or two on one site.

    If you're looking to block access to certain plugins, see these:
    http://wordpress.org/extend/plugins/plugins-enabler/
    http://wordpress.org/extend/plugins/exclude-plugins/
    http://wordpress.org/extend/plugins/restrict-multisite-plugins/

    or even this one:
    http://wordpress.org/extend/plugins/plugin-premium-package-manager-for-wp-networks/

    Which is different than just turning plugins off and on for sub sites. ;)

  5. Steve@BHQ
    Member
    Posted 3 years ago #

    Andrea, All of those look like great resources. Thank you!

  6. inge12
    Member
    Posted 3 years ago #

    Thanks much, Andrea! :)

  7. Steve@BHQ
    Member
    Posted 3 years ago #

    Andrea, ok, from the Network admin, I've installed BP, did not activate, but don't see it in the plugin list in the Site Admin list to activate?

  8. inge12
    Member
    Posted 3 years ago #

    Re Andrea's suggestion:

    Go to network admin. Install a plugin. Do not activate it.

    Go to a sub site. See the newly installed plugin in the list. Activate it.

    That's the way I thought it should work. But it doesn't -- at least not without a plugin to create this behavior.

    On a plain-vanilla multi-site, plugins not network-activated will not show at all in the subsites, as Steve@BGQ discovered.

    Besides the ones Andrea mentioned, another plugin to extend management capabilities for sub-sites appears to be this one:
    http://wordpress.org/extend/plugins/yd-wpmu-sitewide-options/

    For more, search the plugin directory for "network plugins." It seems there's a plugin for almost any desired behavior.

  9. Steve@BHQ
    Member
    Posted 3 years ago #

    Ok, cool. Thank you

  10. I've installed BP, did not activate, but don't see it in the plugin list in the Site Admin list to activate?

    BuddyPress is specifically coded to be network activated. If you want its home to be on a blog other than the main one in a network, there's a line to put in the config file. see the bp support docs.

  11. wputler
    Member
    Posted 3 years ago #

    I'm having the same problem. I had a plugin (redirect-with-custom-field) installed and working. Now it shows in the Network plugins and is Network Activated, but doesn't show in the Site Plugins. I've tried deactivating, uninstalling (which gave me an error that it was active on a site - which it wasn't, or if it was, it wasn't showing in the plugin list and it wasn't doing what it was supposed to)

    Then I deleted the whole folder. Went to network admin -> plugins and added it again. Network activated it. Went to the mainsite and it does not show.

    Then I installed Multisite Plugin Manager and it doesn't show there either.

    I can't upgrade to 3.1.2 because that breaks the TinyMCE Advanced plugin.

  12. it shows in the Network plugins and is Network Activated, but doesn't show in the Site Plugins.

    And it will not. You've already activated it network wide. It would be redundant to show it on a single site to be able to activate it *again*.

    If it is not written specifically to be network activated - DON'T.

    Go back to network admin.
    Deactivate it.
    Go to your site admin ->plugins.
    Do you see it?

  13. laptophobo
    Member
    Posted 2 years ago #

    Hi Andrea,

    I made the mistake of network activating a plugin. Now, of course, it does not show up in my sub sites. I deleted the plugin, then re-installed it (did not network activate it this time) but the plugin still won't show up in sub site plugins.

  14. inge12
    Member
    Posted 2 years ago #

    The issue is still the same as at the beginning of this thread, as far as I can tell:

    Individual sites do not have the ability to install plugins.

    Plugins installed on the network interface do not show up in the individual Dashboards unless network activated.

    What I`ve found is this:
    Some plugins will show up in individual sites after network activation and will give site owners the option to activate for that site.

    Other plugins will not show up on individual sites as plugins, but the options will show up under Tools or Settings -- no telling which. ;)

    Some plugins will not show up at all on individual sites because they have no options that can be set on individual sites. These are in the minority.

    I`ve not yet found a plugin in the repository that is current and will not work after network activation.

    PS I use a lot of plugins. ;)

  15. This post is 8 months old, and how the plugins work have changed a little.

    Please make a new topic for yourself. (But try network activating and then DE activating it, not deleting it)

  16. laptophobo
    Member
    Posted 2 years ago #

    Yep, you were right. (THANK YOU MUCH) This particular plugin shows up in Settings only (at the end of the list, not alpha order). And, I had to Network Activate the plugin. That said, upon download of a new plugin, does one Network activate it or not? Or, do I download, try to activate in the sub sites first, and then go with Network activation if not working?

  17. That said, upon download of a new plugin, does one Network activate it or not?

    Not. ONLY activating a plugin can activate it :) If you download and activate on one site, and THEN network activate, it's fine. Just note that should you later network DEActivate it, it remains active on any site that had individually activated it before network activation.

    The reason you had a problem was you deleted without deactivating. That left fingers of code in the DB. By reactivating and network deactivating, you cleaned that out.

  18. laptophobo
    Member
    Posted 2 years ago #

    Okay. I think I understand now. Thank you for moderating this.

  19. neuromatto2012
    Member
    Posted 2 years ago #

    Hello,
    this thread seems to be the right one for my question! I've installed WP in multisite mode and i planned to add two different type of sites:
    - one: an "e-commerce" site using the wp-commerce plugin
    - many: "customer" sites used by different clients

    The question is: there is a way to enable the wp-commerce plugin ONLY for the "e-commerce" site and NOT for the others?

    Many thanks in advance,
    r

  20. laptophobo
    Member
    Posted 2 years ago #

    I know that you can activate and deactivate plugins on the individual sites. (I don't know how to remove them from individual sites.)

  21. wputler
    Member
    Posted 2 years ago #

    If you Network Activate a plugin, then it is installed and active for all sites.

    If you don't Network Active a plugin, then it is installed for all sites, but each site has to individually activate it.

  22. (I don't know how to remove them from individual sites.)

    You need another plugin for that.

    http://wordpress.org/extend/plugins/multisite-plugin-manager/

  23. neuromatto2012
    Member
    Posted 2 years ago #

    Many thanks for all your replay, especially to Ipstenu. The plugin you propose is exaclty what i need.
    r

Topic Closed

This topic has been closed to new replies.

About this Topic