WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Organizer
[resolved] Plugin order and issues when disabling some site wide (10 posts)

  1. kisshomaru
    Member
    Posted 1 year ago #

    I came across the following issue:
    Some posts will not load all the plugins, even though the same rules apply for all.
    In trying to see what the problem is, I found two issues:
    1. I can't change order for network activated plugins. Those seem to always go last, which can cause problems.
    2. I disabled many plugins from global settings, leaving only some. Some pages will load properly, some will not. This is frustrating because if I enable all in the post itself and then recreate the same settings there, it will sometimes work.
    It still looks like an order issue, but can't figure it out.

    http://wordpress.org/plugins/plugin-organizer/

  2. kisshomaru
    Member
    Posted 1 year ago #

    So this thread is more about the order of the plugins when using multisite. At a network level, one can'd choose the order, and can't change at a site level the order of the plugins that are network enabled for all sites.

  3. Jeff Sterup
    Member
    Plugin Author

    Posted 1 year ago #

    I think I can enable the ability to order network plugins in a future version. I have a few other tweaks that need done so maybe I can figure this out within the next week and release it. Depends on what other things I'm working on. I'll let you know when I release it or if I come across a problem.

  4. kisshomaru
    Member
    Posted 12 months ago #

    Sounds great. Thanks Jeff.

  5. Jeff Sterup
    Member
    Plugin Author

    Posted 11 months ago #

    FYI this is moving along slowly. I've had several things come up that have taken my time but I have a version running on one of my multi site installs that I'm now able to reorder the network plugins with. I still need to do a lot more testing with it so I'm looking at a few days of work on it.

  6. Jeff Sterup
    Member
    Plugin Author

    Posted 11 months ago #

    And now I've run into a problem. There is an array of active plugins stored in the options table for each blog. This is where the order of the plugins comes from. There is also a sitewide active plugins array for network activated plugins. I can add the network activated plugins to the activated plugins array for each site easily because wordpress just ignores that if it is network activated. The problem is that when you deactivate the plugin from the network admin it doesn't automatically remove the plugin from the array of active plugins for each site so it is still active for every site. Looks like something I can work through though with the proper hooks. Just need to do some research and try a few things out. It will probably still be a few days. It seems like I've come across a bug in wordpress that has been documented. A plugin has even been created called Proper Network Activation to fix it.

  7. kisshomaru
    Member
    Posted 11 months ago #

    Sounds good Jeff. Thanks for your hard work. We all look forward for a solution.

  8. Jeff Sterup
    Member
    Plugin Author

    Posted 11 months ago #

    I have released version 3.2. It adds the ability to change the load order of networked plugins, adds a name field to plugin filters, and fixes a logic problem with the MU plugin. Let me know if this fixes your issue.

  9. kisshomaru
    Member
    Posted 11 months ago #

    The latest 3.2 release seem to fix this. Thank You Jeff.

  10. Jeff Sterup
    Member
    Plugin Author

    Posted 11 months ago #

    Awesome!! Let me know if you find any more problems. Thanks for helping to track down the errors.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.