Forums

Developing MultiSite friendly plugins (5 posts)

  1. clifgriffin
    Member
    Posted 1 year ago #

    I have had some feedback on my LDAP authentication plugin (Simple LDAP Login) that it doesn't work with multisite in WP3.

    http://wordpress.org/extend/plugins/simple-ldap-login/

    Basically, I have a user that wants to install the plugin globally...IE...the same settings apply to all sites.

    The MU-Plugins folder doesn't offer this (and requires pretty moderate modifications). (See also: http://room329.com/2010/07/ldap-authentication-for-multi-site-wordpress-3-0/#comment-89)

    What is the best practice here?

    Thanks,
    Clif

  2. Andrea_r
    team pirate
    Posted 1 year ago #

    The mu-plugins folder only executes plugin code automatically, without requiring activation.

    User roles are global in the entire network.

  3. clifgriffin
    Member
    Posted 1 year ago #

    Yes, but this plugin works fine installed on the global site as well as the subsites. I'm trying to eliminate the work of copying the same settings to every site manually.

  4. You'd have to hard-code the rules into the plugin, rather than have any options. Basically, plugins in mu-plugins work best when you have a no-interface/no-options plugin.

  5. Andrea_r
    team pirate
    Posted 1 year ago #

    the main site is *not* a global site though. It's a single site just like the rest of them.

    There are other LDAP plugins out there that work in multisite. See how they did it?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.