• Just a quick question-

    We’re running WP Multi Site, and have had issues with many of the plug-ins only working on the Root site, and not the many other sites. I have been manually adding the plug ins to the MS folder, however the folder is not named “mu-plugins” as I’ve seen referenced so many times. It’s simply named plugins, but it is the ms plugins folder.

    Could this be why so many of the plug-ins are not working across the entire network?

    Thanks in advance!
    Daniel

Viewing 14 replies - 1 through 14 (of 14 total)
  • no.

    Regular plugins placed in the regualr plugins folder are available to every site in the network, but you still need to visit each site and *activate* the plugins you want.

    the mu-plugins folder is for plugins that specifically state to install them in that folder.
    https://wpmututorials.com/basics/what-is-the-mu-plugins-folder/

    you can also Network Activate plugins, but some plugins do not like this approach (because they aren’t coded for it) and you still have to visit each site to fill out the plugin settings.

    Overall, it also depends on the plugins, so “plugins only work on the main site” is really … vague.

    Go visit the plugins menu on a secondary site. Activate a plugin & set it up? Did it work? 90% of the time, you’re good.

    Thread Starter drezac

    (@drezac)

    Thanks-

    But we are rolling out something like 800 blogs for out students at our school, and I can’t imagine going to each and every one of their sites to activate a plugin.

    Surely there is another way?

    Daniel

    What’s the plugin(s)?

    Again – network activate. Look into it. ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I would probably be inclined to make a master ‘template’ blog and use the WP Replicator plugin to dupe it. I know that one keeps all plugin settings, so if I network activate, then I know the replicated sites will have the defaults I want included ??

    Thread Starter drezac

    (@drezac)

    Most all of our plugins are Network Activated. The biggest issue I’m having is with Changing Roles.

    I’m using USer Role Editor : https://www.shinephp.com/user-role-editor-wordpress-plugin/

    The biggest thing we need to do is to allow Editors to change their themes. We want students to be able have some capabilities but limit some things as well.

    Daniel

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    How much theme changing? Cause there’s this: https://www.ads-software.com/extend/plugins/site-specific-css/

    Thread Starter drezac

    (@drezac)

    Thanks!

    I just want them to be able to Choose their theme, but we don’t want them to have Admin controls.

    Heck I’d be okay if they were just Contributors, but still able to change and choose the theme on their blog. Some of these kids are like 4th, 3rd grade and the Admin controls just give them way too much control.

    Danel

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I just want them to be able to Choose their theme, but we don’t want them to have Admin controls.

    I thought they could do that… If you activate a theme for the network, then they can pick and choose the one they want. Did I miss something?

    There is no user role plugin currently that works network wide.

    For removing menus in a network, you want this:
    https://www.ads-software.com/extend/plugins/menus/

    Note this one *does* go in the mu-plugins folder.

    Thread Starter drezac

    (@drezac)

    @ipstenu The Editor Role doesn’t allow theme changes.

    @andrea_r : I do use that one! And it does work across network. Thanks.

    However- If I limit the Admin role for students, it would also inadvertently limit the Admin role for the teachers, and they need to have control over their student’s blogs.

    The only other option would be to make all of the teachers Super Admins.

    Really- there’s got to be a way to hack the php to change the Editor user to edit_themes or change_themes across the network.

    Any ideas? Thanks, BTW for helping!

    Daniel

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Really- there’s got to be a way to hack the php to change the Editor user to edit_themes or change_themes across the network.

    Nope, cause that’s against the point of having Editors (which I blanked on you wanting them to be for some reason).

    https://codex.www.ads-software.com/Roles_and_Capabilities#Capability_vs._Role_Table

    In THEORY if you set up a template blog with a roles/capabilities plugin included and configured, and copied THAT via WP Replicator or such, it would keep your plugin settings so you could have the special Editor Plus role per site.

    Thread Starter drezac

    (@drezac)

    Ah- so I will definitely take a look at WP Replicator!
    I appreciate your candidness.

    Daniel

    You can always put something like this in mu-plugins:

    function modify_editor_role() {
            get_role( 'editor' );
            global $wp_roles;
            $wp_roles->role_objects['editor']->add_cap( 'edit_themes' );
            $wp_roles->role_objects['editor']->add_cap( 'edit_theme_options' );
    }
    
    add_action( 'admin_init', 'modify_editor_role', 9999 );

    3rd and 4th graders editing themes?

    Try ‘switch_themes’

    $wp_roles->role_objects['editor']->add_cap( 'switch_themes' );

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Mu-plugins folder name necessary?’ is closed to new replies.