Supporter plugin not active by default

Hi,

I have 2 blog profiles: supporter and none-supporter. I have made 2 templates with the blog templates plugin from WPMUdev. I have also customised default widgets and dashboard based on wether the user is a supporter or not using the function is_supporter().

But I have one last problem: How can I make it so that the supporter plugin is not enabled by default (and so is_supporter() is false)? I would like to manually enable to the supporter plugin for some selected users.

Could I move some of the supporter plugin files from wp-content/mu-plugins to wp-content/plugins, and which ones ?

Or is there another way ?

Thanks

Catherine

  • cat28
    • Flash Drive

    Hi,

    Well yes, I don’t want standard blogs to be able to become supporters and have supporters functionalities, because I want supporters blog content to be more expert …

    Anyways, I have found the answer to my own question in the maentime: if I give no free days in the supporter admin config, then none supporters don’t get access to Supporter menu item in Settings.

    On a general note: is it equivalent to put a plugin in mu-plugins or to put it in plugins and then enable it sitewides?

    The reason I’m asking is that the plugins in wp-content/plugins can be handled through the "plugin management" plugin.

    Thanks.

    Catherine

  • Ovidiu
    • Code Wrangler

    not quite. if a plugin says: place me in mu-plugins folder, I generally scan the plugin’s code to see if mu-plugins is hardcoded somewhere. if it is not, there is no reason not to place it somewhere else.

    i.e. I have a folder: admin-plugins similar to mu-plugins with plugins that I only want activated on the admin side, aka the back end of wpmu…

  • Andrew
    • Champion of Loops

    if it is not, there is no reason not to place it somewhere else.

    Except that if you have a problem you’ll need to move it to the proper directory before we’ll dig into any issues :wink:

    i.e. I have a folder: admin-plugins similar to mu-plugins with plugins that I only want activated on the admin side, aka the back end of wpmu…

    That’s great but most members aren’t going to create that additional directory. This thread discussed placing plugin in /plugins/ instead of /mu-plugins/. Totally different :wink:

    Thanks,

    Andrew