free WordPress Theme

Yesterday, I pushed out a few updates to an initial version of the Plugin Premium Package Manager for WP Networks plugin for WordPress 3.1. The basic functionality that is there now is

  • A tool for selectively displaying plugins on the site plugins screen. If you are familiar with the plugin commander, then this is a lightweight implementation of the same functionality where most of the control is implemented through existing WordPress screens & features.
  • A tool for turning on the user domain mapping screen in the site admin tools section of the dashboard.

In WordPress 3.1, network admin functions were moved to a separate admin area appropriately called Network Admin. In this post, Network Admin refers to the new network admin area and Site Admin refers to the regular WordPress blog/site admin area.

Plugin manager installation & use

  • Install the plugin through the built in plugin installer or upload the plugin-premium-package-manager-for-wp-networks folder to /wp-content/plugins.
  • In your Network Admin, Network Activate the Super Admin Plugin Manager.
  • Once active, the Super Admin Plugin Manager adds an Make visible action link to each plugin that would normally appear on the Site Admin plugins screen.
  • Click the Make visible link for each plugin that you would like your individual site admins to have control over whether the plugin is active or not.
  • To retain Super Admin control over the activation of a plugin, leave that plugin invisible.
  • To activate an invisible plugin on an individual site, visit the Site Admin plugins screen as a super admin and activate the plugin.

Domain mapping screen control use

Note: this plugin was installed in the instructions above & requires the WordPress MU Domain Mapping development version plugin be installed per the instructions. This plugin does not do anything if domain mapping is not installed.

  • In the Network Admin Settings -> Domain Mapping screen, turn off the User domain mapping page.
  • In the Network Admin Plugins screen, leave the Add Domain Mapping Menu invisible.
  • To show the User domain mapping page on an individual site, visit the Site Admin plugins screen as a super admin and activate the Add Domain Mapping Menu plugin.

There is lots more to come in this plugin. I wanted to get some of the initial pieces out there so people could start using them.

11 COMMENTS

  1. Thanks for this fantastic plugin! To be honest, it took me a while to figure out because I needed the *3.1* version of WordPress and the *development* version of the Domain mapping plugin. Once I got my versions right, this plugin worked like a charm!

  2. Hello and thank you for another excellent plugin.
    I think though there could be an improvement with the “Unlimited Space”.
    When it gets activated I lose Storage Space statistics from showing at the bottom of “Right Now”.
    I mean I understand there can be no statistics since the space is Unlimited. Still it would be nice to know how many Mb are uploaded as to keep an eye on it.
    Furthermore the information on the site’s “Edit Site” still shows the old storage space. It would be nice if it could be replaced (for as long as the plugin is active) by the word Unlimited (grayed out so it cannot be changed?).
    Just a thought.
    Excellent plugin. Thank you again.

    • The plugin is only disabling the upload space check on a per site basis rather than for the entire network. What you are describing is the behavior you would see if you disabled the upload space check in the network settings.

  3. Hi Ron,

    Thanks for this plugin as well. I am having an odd issue by which some plugins that are set to ‘Make Visible’ (which now show as ‘Make Invisible’ on the network plugin panel) aren’t showing on a subsite.

    The plugins in question are as follows:
    http://www.ali.dj/wordpress-plugin-text-expander/

    And yoast’s WordPress SEO plugin.

    But oddly, some other plugins that are clicked to ‘Visible’ are showing on the subsite.

    Even though I have installed the domain mapping dev plugin and clicked ‘Make Visible’ to show these plugins on the sub sites, they simply don’t appear??

    I have gone through a bunch of the settings and managed to make the plugin appear by going to the individual site’s settings page and clicking it on, but i’m pretty sure this isn’t the intended behaviour of the plugin, especially given that SOME plugins are showing as expected but others are not.

    any ideas?

    • If you remove or deactivate the plugin manager do the plugins appear in the site admin plugin screen. The plugin manager only affect plugins that normally appear in the site admin plugin screen.

  4. Hi again and thank you for clarifying my previous question. It works very smoothly.
    I have also network activated the “Super Admin Menu Manager” plugin. I then toggled the visibility of some menus in two different sites other than the main site.
    But when I logged out and logged in again NOT as super admin but as site admin, I got inconsistent results.
    What I mean is this:
    I know that the tools menu was under “…/wp-admin/tools.php”. Although a site admin, with the menu NOT visible, I could still access it when I typed it’s url. And then sometimes another invisible url would redirect me to the dashboard of the specific site admin’s main site. The latest is (from my point of view) brilliant and expected. Shouldn’t this be the “correct” behavior for all invisible menus? Could I be doing something wrong? Would it be better to activate it for individual sites and “hide” the menus there?
    My fear is that on a network site-admins that know their ways could discover the menus and alter them themselves.
    Thank you in advance.

      • It is a mixed thing actually.
        I furthermore thought it could be a browser cache issue (as I had viewed some urls as a super-admin/logged out/logged in as admin) but it wasn’t. As super-admin I had viewed settings->general but not been to settings->reading. Still, I was able to access both of them (although both “hidden”) as a logged in site admin. I must clarify-just in case. The urls do NOT show up but I can access them once I type them on the address bar.
        The same goes for plugins settings as well.

        I would be more than happy (if it would contribute to solving the puzzle) to “let you in” and have a look. I am sure you can make more out of it than me.
        Just email me for details.
        Best regards

        • The plugin uses the remove_menu_page function that was added to WP 3.1 to remove the items. I would have expected that to at least block the plugin pages. I’ll put looking at that on the to do list. If you are looking at blocking those immediately, you’ll have to come up with a plugin to do that in the interim.

          • I think I will wait for you to look into it.
            On a different issue, it would be more complete if you were to include “WordPress MU Theme Stats” in the pack as well. That would be perfect.

            P.S. As I mentioned before feel free to email me for any help I can provide.

          • “On a different issue, it would be more complete if you were to include “WordPress MU Theme Stats” in the pack as well.”

            The basic idea behind the design of this plugin was to allow network admins to use pretty well any plugin with it. For example, if an admin wants to include Custom CSS in a premium package then they install http://wordpress.org/extend/plugins/safecss/.

            Although I am expecting to round out the features over the next few months, I’m not planning on adding any existing plugins to it.

LEAVE A REPLY