This is a plug in that we developed to help with a project.  It allows you to change the load order of your plug ins.  If you need one plugin to load before another then this is the plug in to do it.  To download the plugin please go to the WordPress plugin page.

Documentation

This is a screenshot of the Group and Order plugins page. Here you can change the load order of your plugins by dragging and dropping them in the order you want them to load. You can also add the plugin in the list to plugin groups. Those groups can be used on the various pages to disable plugins by selecting that group.

Group And Order Plugins

This is a screenshot of the plugin settings page.

This is a screenshot of the global plugins page.  Here you can disable a plugin for the entire site.  This allows you to turn it on for just the pages you need it. Just drag the plugins from the left and drop them on the containers to the right.

This is a screenshot of the search plugins page. Here you can set the plugins that will load on the search results page of your site.

This is a screenshot of the post type plugins page. Here you can set the plugins that will load any all of the posts that match the selected post type. This way you can set all the plugins for posts on one page.

This is a screenshot of the page edit screen.  You can disable or enable plugins from here.  This meta box will be added to all post types that are selected on the settings screen.

101 thoughts on “Plugin Organizer

  1. btlewand says:

    Will you be updating the plugin soon? It doesn’t appear to work with WordPress 3.7. Thanks.

    1. admin says:

      I’m working on an update but you should upgrade to wordpress v 3.7.1. The wordpress developers created a major bug in 3.7 that broke plugin organizer and several other plugins. They released 3.7.1 to fix it.

  2. Markus says:

    Which plugin loads first ? The one at the top of the list or the one at the bottom ? Sorry I found no explanation of this.

  3. Markus says:

    What is the best practize when I use this plugin ?
    I`m using some cache plugins (hypercache and db cache reloaded) together with the wp-minify plugin. What`s the best decision: moving the cache plugins to the top of the plugins page or to the bottom ? I want to speed up my pageload time – does the order of the cache and the other plugins affect the time it takes to load my page ? What`s your opinion ?

  4. Bo says:

    I cannot get url admin to save anything after upgrading to WP 3.5.

    Webpage error details

    Message: Syntax error, unrecognized expression: #disabledPlugins[]Label
    Line: 2
    Char: 59313
    Code: 0
    URI: wp-includes/js/jquery/jquery.js?ver=1.8.3

    Message: Object doesn’t support this property or method
    Line: 26
    Char: 4
    Code: 0
    URI: wp-content/plugins/plugin-organizer/js/validation.js

    1. Jeff says:

      The newest version of the plugin fixes that.

  5. Bo says:

    I cannot get url admin to save anything after upgrading to WP 3.5.

    Webpage error details

    Message: Syntax error, unrecognized expression: #disabledPlugins[]Label
    Line: 2
    Char: 59313
    Code: 0
    URI: http://digitalt.tv/wp-includes/js/jquery/jquery.js?ver=1.8.3

    Message: Object doesn’t support this property or method
    Line: 26
    Char: 4
    Code: 0
    URI: http://digitalt.tv/wp-content/plugins/plugin-organizer/js/validation.js

  6. Joe says:

    I tried to update to 2.5.1, but it won’t get updated and stays at 2.5 … tried several times …

    Is this a theme problem or PO update problem ?

    Thanks
    Joe

    1. Joe says:

      Sorry, please ignore, it just fixed itself after another attempt …

  7. Can the plugin disable CommentPress on a per-post basis? I’d like to use it in conjunction with the “GYS Themed Categories” plugin which will switch themes on a per-category basis. I’ve selected both Posts and Pages in “Custom Post Type Support”; but Plugin Organizer’s option to disable per-page isn’t showing up on the EDIT pages.

    Thanks for any help!

    1. Jeff says:

      On the settings page for Plugin Organizer you have to check the enable radio button under selective plugin loading. Then the box will appear on your page and post edit screen.

  8. Bridie says:

    Hi Jeff,

    I installed this plugin and it worked beautifully, thanks.

    However, I then updated plugins and Share This, which I specifically need hidden from the shop page, now appears to be overriding your plugin.

    I have tried disabling from the page itself and the URL Admin page.

    Thought you might like to know.

    Cheers

    1. Jeff says:

      I have just released version 2.4. Install this version and go to the settings page. There is now an option to ignore arguments to URLs. Enable this option and see if it fixes your issue.

  9. Is there any method (other than trial and error 😉 to determine which order to load plugin(s) ?

    I have intermittent problems with plugins that have been globally disabled, but enabled for specific pages / posts (specifically Pure Player IVP Plugin, Amazon Plugin in a Post)”unenabling” themselves on their own and other plugins that worked fine at one time intermittently malfunctioning (specifically Amazon Plugin in a Post). I have had problems with another plugin, Author hReview not working at all unless it is globally enabled. According to GoDaddy Plugin Profiler tests I have run, selectively loading plugins cuts down on server load and loading time *tremendously*, but the glitches a considerable problem – I can only imagine there are loading(?)conflicts going on; trying to make sense of it. Thx

    1. Jeff says:

      Check the plugins to see if they dynamically load javascript through a url that is processed through wordpress. For instance sometimes you will see a script tag in the header and its source is a permalink instead of a javascript file. If that is the case and the plugin is not enabled for that url then it wont load the javascript. Other than that trial and error is the best method.

  10. Josh says:

    Hi Jeff, I haven’t installed the plugin yet, but before doing it I would like to know if it allows me to deactivate an specific plugin for certain categories.
    Thanks

    1. Jeff says:

      Not by category. By page, post, or url.

  11. Nikos says:

    Can you please tell me how I can remove the must-use plugin “Plugin Organizer MU”.

    Thanks.

    1. Jeff says:

      You have to log in as root or a user that can delete the files created by the user your web server runs as. Use FTP or SSH.

      1. Nikos says:

        Hello Jeff,

        I saw now your replies. I am the administrator. There isn’t any other user. I’m trying to delete from ftp the folder /httpdocs/wp-content/mu-plugins but I can’t. I can only rename it. Can I delete it from wordpress control panel?
        I tried and created a folder inside wp-content and I was able to delete it. the “mu-plugins” couldn’t!? Whatever chmod I’m trying to do or to the file inside the folder, is ineffectual.
        If there isn’t any solution, I will have to live with it..

        1. Jeff says:

          I’m going to release a new version that will clean up after itself when the plugin is deactivated. You will just need to install the new version and go to the settings page to set the preserve after deactivation setting. Then when you deactivate the plugin all the database tables the plugin created will be dropped and the MU plugin file will be deleted. I will hopefully have this ready to release later today.

        2. Jeff says:

          I have released version 2.3. Install this version and go to the settings page. Select the No radio button under preserve settings and deactivate the plugin. See if this resolves your issue.

          1. Nikos says:

            Yes, it worked!
            Well done!!
            Thank you very much, you are the best!

            I’m sorry for any inconvenience that I caused to you.

  12. Miha says:

    Hi,

    Great Plugin!

    I would just like to make a suggestion…

    – Activate and Deactivate plugins on specific time.

    Example:
    My site uses few plugins (datafeed import plugin, DB optimizer, etc…) that are in use only on specific times “nightly cron”. Those plugins should be activated only on specific times and then deactivated so the site can be faster for visitors… Site speed is widely affected by activated plugins and most of the speed is taken by plugins that are not in use but activated…
    I did test my site with activated and deactivated “cron” plugins, and the loading speed was 50% faster…

    Hope you see it useful.

    Cheers
    Miha

  13. David says:

    Hi Jeff,

    Great plugin! I’ve been searching for some time for the functionality your plugin brings in – thanks for your efforts so far, a well deserved 5* rating…

    Just a very quick question please: If I disable plugins ‘globally’, does it do this for the frontend only, or does this also affect the admin backend too?

    Thanks,
    David

    1. Jeff says:

      There is a setting to disable plugins on the admin. Go to the plugin organizer main settings page under Plugin Organizer on the wp admin menu.

      1. David says:

        Ah, I see what you mean now – thanks for getting back to me.

        David

  14. alex says:

    Hi, Jeff awesome plugin! In the url admin is there away to have reg expressions in url matching? For example it would be neat that every sub page under sitename.com/blog/ gets plugins disabled or enabled.

    thanks for your awesome work on this!

    1. Jeff says:

      I just released v 2.2 that adds fuzzy URL matching. Go to the discussion in the support forum for a better explanation of how it works. http://www.wpmason.com/support-forums/?mingleforumaction=viewtopic&t=5.0

  15. Joe says:

    p.s. If I select a group for example (under Select Group), and Bulk deactivate, it also doesn’t work – i.e. they don’t get deactivated

    1. Jeff says:

      The built in bulk actions cant be changed. Only the new bulk actions are related to groups. So you cant disable, enable, or delete plugins by group. This is a wordpress shortfall since they have decided not to allow this in their code.

      http://codex.wordpress.org/Plugin_API/Filter_Reference/bulk_actions

      1. Joe says:

        Well, now that the earlier issue on selecting groups is solved, this one also works. Select a group and bulk actions are recognized. Thanks !

        1. Joe says:

          I mean, after you select the group, where it shows only the plugins for that group, then Bulk works. This is what I needed. All ok …

  16. Joe says:

    Groups – v 2.1.1

    Jeff, now trying it out. I have created a group. For example, 2 plugins in one group. However, when I click on this group, it still shows the entire plugin list rather than just the 2 plugins.

    There is a new column in the plugin list showing the name of the group it is assigned to, if assigned, next to a plugin.

    1. Jeff says:

      I’m not having this issue on any of the sites I have Plugin Organizer running on. Maybe a plugin conflict?

    2. Jeff says:

      I came across a site that had this problem today. Figured out the issue and fixed it in V 2.1.2. The problem was caused either by a low or really high value for Show On Screen under Screen Options. The site I was working on had the value set to 999. I lowered the value to 60 and it worked. The plugin now checks for the plugin group argument instead of comparing the Show On Screen value to the number of plugins displayed. Hopefully that makes sense. Try the new version and see if you can view your groups.

      1. Joe says:

        Thanks, it works now. I just checked the Screen Options and it does show 999. I never touched this though, so 999 must be the default.

  17. Mark Smith says:

    This is a great plug in and allows me to have control of a wide range of plug-ins which are only used in specific areas of the site. It means i can have 2 plug-ins running on separate pages that when installed together, and it also means i can increase my page load speed by removing unneeded script.
    However i have a question! There is an option to enable/disable plug-ins on admin pages, how is this controlled? I’d like to disable some plug-ins that interfere with things like Tiny MCE in admin but work great on the site. Can this be managed? I am guessing you have some standard scrip this invokes at the moment?

    1. Jeff says:

      They are disabled in the same way plugins are on the front end. The PluginOrganizerMU.class.php file does all the work at load time. The options selected are checked before anything is disabled. FYI if you end up disabling something and have problems change the PO_admin_disable_plugins option in your database to 0 and everything should go back to normal. The only page where plugins cant be disabled is the plugins admin page since they are disabled permanently if that happens.

  18. Joe says:

    One question, what is the Group feature for ?

    Thanks

    1. Jeff says:

      It is for admins who have too many plugins running on a site and have a hard time going through the list every time they want to find a plugin. You can put plugins of a particular type together for easy finding. I have intentions down the road to add the ability to disable and enable plugins by group instead of individually but I havent gotten that worked out yet.
      I’m currently working on some new functionality for the next version that will have a button and drop down list of groups by the save order button. You just check the boxes next to the plugins you want to add and click Add to Group to add plugins to a group. It will also have the ability to create new groups from this page.

    2. Jeff says:

      I just released V 2.1 which has better group management. The pages for group management have been removed from the menu but the code is still there. I’m going to do a maintenance release in the next couple of weeks to remove that code and fix any other problems anybody finds. Ive tested this on wordpress 3.1+ so it works with jquery 1.4.4 and 1.7.1. I didnt get a chance to test it with jQuery 1.6.1 which I know has some issues and was released with wordpress 3.2 but I don’t think anything I did will cause issues.

      1. Joe says:

        Well, the Load Order option is gone, I am using the latest WP. Was this intended ?

        Nothing at all about groups of course …

        1. Jeff says:

          Im not sure what you mean by Load Order option. All of the actions have been moved into the Bulk Actions dropdown on the plugin admin page. There should also be a dropdown of your groups next to the Apply button for bulk actions. Are you seeing the new options in the bulk actions menu? Do you see the Groups dropdown?

          1. Joe says:

            What I see after the upgrade :

            Plugin Organizer
            Global Plugins
            URL Admin

            That’s it. Where is the plugin admin page ? Nothing about Bulk actions too. I don’t see the plugin admin page mentioned in your documentation, just the 3 above.

            I’ve deactivated, activated, erased the mu folder, still don’t see any

            Thanks

          2. Jeff says:

            I just released V 2.1.1 that adds an option to show the old admin pages to the settings page.
            Click on Plugins in the admin menu and you should see the following options in the bulk action dropdown at the bottom and top of the list of your plugins.

            Remove From Group
            Add To Group
            Save Group
            Delete Group
            Save plugin load order

            There should also be a dropdown next to apply that has your plugin groups in it. If you dont see them then there is some sort of javascript error. Can you see if there is a javascript error when you visit the page? If you are using firefox it is under Tools -> Web Developer -> Error Console. Or push Ctrl+Shift+J on the keyboard. Post the error here or you can start a topic in the forum.

          3. Joe says:

            Ok, with v 2.1.1, I now see the old admin pages.

            As for bulk action dropdown above and below plugins list, I now see the new options.

            For these new options, they may have been there all along, I just wasn’t looking. I was only concentrating on looking at the Plugin Organizer setting menu on the left side of the screen, not at the top and bottom of the plugin list. Now I understand, thanks.

          4. Jeff says:

            Great. I’ll leave the old admin pages in there for now but they will eventually be going away. You should be able to do everything from the plugins page now that you can do with those 2 pages.

        2. Jeff says:

          Ive also started documentation for plugin organizer. I’ll be adding pages to it but it has some instructions for changing the load order. http://www.wpmason.com/our-plugins/plugin-organizer/documentation/

  19. Joe says:

    p.s. this is when adding a new Arbitrary URL, seems no problem if existing Arbitrary URL being edited

  20. Joe says:

    I have put in some plugins under Global Plugin settings.

    When editing Arbitrary URLs under URL Admin, these Global Plugins have their own section under Enable Plugins. When I check these to enable, I then save it.

    However, after saving, the check marks disappear. I have to do it again a second time to really get saved.

    Is this just in my setup or is it a bug ?

    Thanks

    1. Jeff says:

      I just released v 1.2.3 which fixes the issue. It should be available on wordpress.org soon for you to download and test.

  21. If nothing else, the phraseology of the url updater tool is now more understandable – thx 🙂

    If I change a slug / permalink on the same save that I activate i.e Amazon PIP / FilmGettr plugin(s), Plugin Organizer updates the url itself and the plugins work as intended.

    If the plugins were already activated and I change the slug / permalink, then I have to update the PO urls.

  22. Joe says:

    Excellent plugin !

    How can one revert back to the original loading sequence before they were changed in Plugin Organizer’s Load Order option ? Need it for debugging.

    And what is the option “Recreate Permalinks ?”

    Thanks

    1. Jeff says:

      There isn’t currently an option to revert the load order back to default. I will try to add this to my next version. The way that the plugins are loaded by default is alphabetically by the plugin folder name. You could manually set them back to the default order with plugin organizer by looking at the folder names through ftp and setting the order accordingly.

      The “recreate permalinks” button recreates the urls in the plugin organizer tables. The permalink of a post is what is used for matching the visited page to a row in the database to know what settings to use. If you change your permalinks then plugin organizer wont recognize the URL’s anymore. If this happens click recreate permalinks to set them all to the current permalink structure.

      1. Joe says:

        Thank you for these information 🙂

      2. When I use the Recreate Permalinks Button (i.e. after changing the slug / permalink of a post…) it reports an ever-increasing number of “urls failed to update”. Could you explain this?

        PO has visibly improved performance of my site vastly but it seems like a very complex plugin – I am still not entirely sure I have it set up 100% for maximum usability.

        thx

        1. Jeff says:

          It looks like I made a typo in version 1.1 that compares an empty string to the current permalink in the plugin organizer table. Since they never match it tries to update a row in the database with the same information and the update fails. It wont hurt anything and I will release a new version with this fixed soon.

          The recreate permalinks button is really for an emergency when your permalinks arent updating when you save the post or you change the permalinks structure under Settings->Permalinks. The plugin hooks in when you save a post and will automatically update your permalinks. I added this button in the first version because we had an issue with permalinks not updating in wp 2.9.2. You dont need to use this if you change the permalink through the edit post screen.

          1. I actually have been using the update permalinks button a lot – the main reason I sought out PO was I use Amazon Plugin-in-a-Post and FilmGettr plugins, while they are both wildly useful they are both also pretty resources-intensive – I have benefited from a significant site-wide performance boost disabling them both except on pages / posts that need those plugins. I have been optimizing lots of permalinks on my site lately for relevant keywords as well and I usually have to use the update permalinks button to get the Amazon PIAP and Film Gettr to activate and work.

          2. Jeff says:

            I submitted V 1.2.2 a few minutes ago that fixes the permalinks issue. Let me know if it works for you.

  23. ivan says:

    Hello, I would like to know how can I do to “Admin URL” to make it to block even the linked pages, the pages as comments. If I insert a page as I do for the pages of comments? Type: http://www.example.com/example/comment-page-2/

    1. Jeff says:

      You can add the url http://www.example.com/example/comment-page-2/ and then you will be given a page to manage the plugins for that url.

  24. Greg says:

    Thanks so much, this is a perfect plugin and a must have for all wordpress installations.

  25. Jeff says:

    Pam,
    Did you put the PluginOrganizerMU.class.php file in the mu-plugins folder? Did you go to the Plugin Organizer settings in the wordpress admin and click the enable radio button to turn it on?

  26. Pam says:

    not sure why but this just isnt doing anything for my site. I have tried using it specifically for the checkout page but its not turning off any of the plugins, I can see see them in the source code

  27. Jeff says:

    Plugin Organizer keys off of the url you are accessing. Because of the way wordpress works the plugins must be disabled before the wordpress core is loaded. If the plugin is enabled for the page it will also show up in the posts because you arent accessing the posts directly, the page is actually pulling the posts out of the database.
    Not sure why changing Plugin Organizer to be the first plugin loaded would effect anything. That plugin doesnt do the actual disabling of plugins. It only provides the admin interface. You can actually disable that plugin for the entire site. I was thinking of doing that by default. If you look on the plugins page in the wordpress admin you will see a Must-Use link by the All, Active, and Inactive links. When you click that link you will see Plugin Organizer MU. This is the actual plugin that does the disabling on the front end. Do you have any other MU plugins?

  28. CK says:

    Hi Jeff,

    first of all: Great work! It is very flexible.

    On my site I combine a WP page, and several posts: First, the content of the site is shown. Following the posts appear. For the posts I would like to disable the plugin AddThis Social Bookmark Widget.

    What I’ve set in vers. 0.9 of Plugin Organizer?
    1. For page AddThis enabled.
    2. For the posts AddThis is disabled.

    Error: AddThis appears in the posts.

    Tries:
    I disabled AddThis of the page. Result: AddThis no longer appears on page and posts.
    I changed the order of loading plugins. Plugin Organizer is loaded as the first plugin. Result: AddThis appears at page content and at posts.

    Note: AddThis has no function to hide the AddThis widget at posts. Therefore, it should be disabled for posts.

    Do you have any advice for me?

    Thx & Regards,
    CK

  29. Zena says:

    Oh, I forgot to ask about the loading sequence. Does your plugin only effect the page as it’s loading?

    How does that panel effect the way WP loads at the admin level? Am I correct that it has no effect? Further to that, it doesn’t matter what the loading sequence is of any backend plugin, correct?

    I disable all the plugins using your settings panel. How does the load sequence for those plugins factor into any of this until I place it on the post/page?

    Many thanks.

    Zena

    1. Jeff says:

      My plugin is loaded before WP is loaded and then it modifies the array of plugins that need to be loaded.

      I guess I misspoke, the load order is effected on the admin panel, but plugins don’t get disabled on the admin panel. I want to make that possible at some point.

      The plugins are loaded in the same order no matter if they are disabled or not. So an array is created with the order that you have set. As this array is being created my plugin prevents disabled plugins from being put into that array. Then WP loops through that array and loads all plugins it finds.

  30. Zena says:

    Wow, thank you for the wonderful detailed reply. This is exactly what I need.

    I have been thinking about this since I activated your plugin manager yesterday. I have news site on WP.com and am working on a redesign for WP.org going right for WP 3.2 beta2. I have a lot of content organized by categories and I’d like each category to have a distinct look.

    I love that the plugins remain functional at the admin panel; I hadn’t gotten that far yet because I’m trying to solve jQuery issues.

    You say I can disable all plugins (I love this idea) but what about SEO type plugins?

    What about the cache type plugins? Turn them off too?

    What about custom fields? If I am using then on the document being served, then I assume they must be activated for that page. Correct?

    Thanks again,

    Zena

    1. Jeff says:

      My plugin is loaded before the WP object is even created so it can disable any type of plugin unless they are in the mu-plugins folder. These plugins are loaded differently.

      Custom fields are built into wordpress so the plugin that created them doesnt need to be loaded to display them. Unless the plugin is displaying the custom fields. I use custom fields in theme files. I also have plugins that display custom fields. So it all depends on how the fields are being displayed.

  31. Zena says:

    Could you please add some information about how this helped your client?

    Can you write something on the effects of changing the loading sequence?

    How many of my backend plugins can I disable and still properly serve the page?

    Any additional comments about your experiences would be very helpful to me at this time.

    Thank you. Zena

    1. Jeff says:

      Q. Could you please add some information about how this helped your client?
      A. I originally wrote this plugin because the page peel plugin was loading a flash movie on the mobile version of a clients site. In order prevent the flash from loading on the mobile site the mobile plugin had to be loaded before the page peel plugin. WordPress didnt have them ordered this way by default so I had to manually edit the active_plugins option in the database. Since wordpress reorders the plugins whenever a change is made the plugins would not stay in the order I had set. So i created this plugin to keep my order set.

      Q. Can you write something on the effects of changing the loading sequence?
      A. The above is one answer to your question. Changing the order of your plugins can have a huge effect on your site. If one plugin loads a library that needs to be used in another putting them in the wrong order can cause issues. It can also fix issues if you order them correctly.

      Q. How many of my backend plugins can I disable and still properly serve the page?
      A. You can disable all of your plugins and your site will act as if you didnt have any plugins installed. The only exception is if you are in the admin. This plugin does not prevent plugins from loading on the admin pages. I found out early on in development that doing that can cause serious issues. I’m hoping to add that in some time but with the issues I had I decided to stick with the public side for now.

      Any additional comments about your experiences would be very helpful to me at this time.

      This plugin is currently running on the site it was originally written for and has cut down the load time of pages considerably as well as preventing the flash movie from loading when it isn’t needed. I have this running on several sites and havent found any conflicts with any other plugins.

  32. Zena says:

    This plugin is functioning on my localserver test WP 3.2 Beta2 18161

  33. admin says:

    I am releasing a new version of this plugin in a few minutes. It is version 0.9. It has a few fixes and adds some new functionality. I looked in version 0.8.3 and line 64 is blank so I’m not sure what version you are running. Install 0.9 and see if you still get the error. If you do let me know and I can track it down. As for the multisite menus I will have to look into that. I’ve finished everything I wanted to get done before version 1 was released. I’m going to be doing bug fixes and maybe I can implement multi site menus with version 1.

  34. Kathy Goss says:

    Hi Jeff,
    I love the concept of this plugin. I’ve just installed it to evaluate:
    1. Error message: Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/content/31/7500231/html/sportslife/wp-content/plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 641
    2. This is a multisite. Is it possible to have the menus placed in the network admin rather than the main site since it is the most global and that is where, on a networked site, that you manage the plugins.
    Hopefully this will work for us because you are right on – much needed. Thanks.

  35. Jeff says:

    If its working for you can you rate it on wordpress.org? Glad I could help.

  36. Jonathan says:

    Thanks Jeff, it works now!! Strange because you said the MU file was missing, but I had definitely placed it where the docs said it needed to go. Anyway, it’s working and I must say…

    This plugin ROCKS!!!!!!! This is EXACTLY what I’ve been needing for weeks, and the load times on my site are already improving a great deal by shutting off plugins not needed on all pages.

    GREAT WORK! 12 thumbs up!!

    Jonathan

  37. Jonathan says:

    Yep I checked that it was still enabled, and it was (and still is now).

    I’ll email you the login info and you can try to get it working, that would be really awesome thanks!!

    Jonathan

  38. Jeff says:

    After reactivating the plugin did you go through the steps of checking the enable checkbox on the settings page, going to your homepage and returning to the settings page to see if it is still enabled? This is a security check I put in to prevent people from using an out of date version of the MU plugin. I figured it might cause some issues but it’s an important prevention measure that I’m not sure how to handle any differently. It does work. I have it running on 10+ sites. Maybe you could create me a temporary user to set the plugin up for you? If you want to do this you can email the user info to me at jeff@nebraskadigital.com.

    Yes it was very tricky to get this plugin created and I saw the same discussions and got very discouraged but I did eventually figure it out. The only way to do it that I found was using the MU plugin functionality.

  39. Jonathan says:

    Interesting… sure enough, selective loading was again disabled. So I deactivated the plugin and reactivated it, then visited my site page. No change. I went and checked the plugin status – still enabled. Edited the page and made sure all plugins were disabled – they were. Updated the page again to make sure they were recorded in the DB – they are. Visited the page again – all plugins active as normal.

    So I’m at a loss as to what else to try. This selective loading business just simply doesn’t work.

    The interesting thing to me is that in my weeks of researching a way to do this, I found many heated discussions among developers about why this is impossible. The theory as I understand it is that at plugin load time, WP has no idea what page is being requested, therefore not loading or loading a certain plugin based on the page, is impossible.

    I don’t want to believe this is true, and given that you have a plugin which does exactly this… I’m inclined to believe it must be possible. I just wish I could get it to work!

    Any other ideas at all??

    Jonathan

  40. Jeff says:

    Make sure you deactivate and reactivate the plugin so that the database is updated. This is done when the plugin is updated through the wordpress admin but not if you update the files manually.

  41. Jeff says:

    Go to the Plugin Organizer settings page and make sure enabled is checked. Then go to your sites homepage. Then go back to the Plugin Organizers settings page and see if the radio button has been changed to disabled. If it is disabled you have the wrong version of the MU plugin in place. Other than that I’m not sure what could be causing it.

  42. Jonathan says:

    Oops, ok strike the above… when I updated the selective loading feature apparently was disabled again. I’ve enabled it and now I see the custom meta boxes!

    Too bad they don’t do anything. 🙁 I can disable a plugin and it still loads every time… no change at all. I can disable ALL plugins even, and there’s no change.

    Any suggestions?

    Jonathan

  43. Jonathan says:

    OK, updated and now the global plugins page loads. However I’ve turned off some plugins globally and they still work like always, there’s been no change.

    Also still no custom meta in page or post editor. 🙁

    Jonathan

  44. Jonathan says:

    Thanks, I did move the file into the MU folder though, and nothing changed. I don’t get any options to select plugins per page, anywhere. No custom meta box, nothing. I even checked Screen Options to make sure it wasn’t hidden, and it isn’t.

    I’ll try updating to 0.8.1 just in case that changes anything… not sure what else to try and I really need this functionality.

    Thanks,

    Jonathan

  45. Jeff says:

    I fixed the plugin on wordpress .org. Download the latest version which is 0.8.1. This has the globalPlugins.php file in it. I missed committing that to svn somehow. As for the disabling plugins feature you must create the wp-content/mu-plugins folder if it isnt created for you . Then move the wp-content/plugins/plugin-organizer/lib/PluginOrganizerMU.class.php file to the mu-plugins directory. Then go to the Plugin Organizer settings page in your dashboard. There is a setting to enable this feature. The plugin tries to move this file into place for you but can’t always do it. Make sure you always move this file into the mu-plugins folder whenever you update. It does a check and disables itself if your versions don’t match. If the mu-plugins folder is writable by the user that runs your webserver then the plugin will automatically do this for you.

  46. Jonathan says:

    Hi there, I’ve been trying to get selective plugin loading to work for weeks and just can’t seem to. I also get an error if I try to select the Global Plugins option:

    Warning: require_once(/wp-content/plugins/plugin-organizer/tpl/globalPlugins.php) [function.require-once]: failed to open stream: No such file or directory in /wp-content/plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 166

    the file globalPlugins.php does not exist in my install, where can I get it?

    As for selective loading, the custom meta box does not appear for me at all.

    I’ve just updated to 0.8 version today and am running WP 3.1.1. Appreciate any help!

    Thanks,

    Jonathan

  47. Jeff says:

    You are running an old version of the plugin. I have fixed that error. The plugin is at version 0.7.3 right now.
    I have required wordpress version 3.1 for the newer versions because I think some of the functionality I’m using requires the newer jQuery libraries but I haven’t tested lower than 3.1. If you aren’t getting the upgrade notices you can go to the wordpress plugin page at http://wordpress.org/extend/plugins/plugin-organizer/ to download the latest version. If you are running a version of wordpress lower than 3.1 let me know or give it a working vote on the plugin page at wordpress.org for that version.
    I’m releasing an update some time this weekend to add custom post type support. If you see any other problems let me know and I’ll try to get them fixed with the next release. Thanks for your feedback.

  48. Alaa-eddine says:

    Hi,
    The idea of this plugin is exactly what I need, I’ll keep an eye on its updates 🙂

    I found a little bug : when you edit, select plugins you want to disable and click save ==> the list is not saved.

    the error comes from lib/PluginOrganizer.class.php around line 160

    the code
    var pluginList = jQuery(‘input[name=group[]]’);
    should be
    var pluginList = jQuery(‘input[name=”group[]”]’);

    also a checkbox to select all plugins in this page would be useful, but I think that this is an early version and such things will come later 🙂

    keep up the good work

    Regards

Leave a Reply