The MU forums have moved to WordPress.org

Mu-plugins wishlist (3 posts)

  1. corourke
    Member
    Posted 18 years ago #

    Any chance of having mu-plugins have an activate/deactivate per user? I'd love to add a few plugins that require a lot of manual database work (wasabi related posts for example) on the main primary blog but have it not be called at all for everyone else.
    If the edit blog siteadmin tool can have the option to let certain users have access to deactivated themes I don't see a reason why mu-plugins couldn't also have that option.
    In the long run once some sort of pay based subscription tool is available (ala wordpress.com) this would give greater admin flexibility as well.

  2. lunabyte
    Member
    Posted 18 years ago #

    Kinda thinking out loud, but I wonder if you could take a plugin, pop it into the normal plugins directory, but edit it so that if it isn't a specified blog_id, like 1, then it skips the file?

    There's got to be an opening for php, so the commented plugin information is there, so I wonder what would happen if that was enclosed in an if statement maybe, or if there were an if clause before that that could cause it to only show the plugin as available for the specified blog_id.

  3. andrea_r
    Moderator
    Posted 18 years ago #

    I bet you totally could. I mean, you can make it visible to only the site admin, so it should be possible too.

    Also thinking out loud, why can't the plugins/php file be edited to work with the mu-plugins folder? Not sure what file "turns on" the ones there, but should be easy to follow the code. (or fall down the rabbit hole and spaghetti trail, whatever.)

    There's another plugin someone could work on. :D

About this Topic

  • Started 18 years ago by corourke
  • Latest reply from andrea_r