When I add a plugin (like the forums from here) to the upgrade-plugins folder, that plugin doesn't automatically add itself to the drop down when I make a new package.. How do I make sure that other plugins that I add (that are compatible ofcourse) are automatically added/installed?
When I add a plugin (like the forums from here) to the upgrade-plugins folder, that plugin doesn't automatically add itself to the drop down when I make a new package.. How do I make sure that other plugins that I add (that are compatible ofcourse) are automatically added/installed?
That's exactly what I did (that's why I'm asking)..
I wanted to test if the auto-update (for the dropdownlist of available plugins for upgrades) worked, because I'm working on a plugin for a client that has to work with upgrades, but it didn't show up (so downloaded forums to see if I missed something, or if it's just not working)
7430 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Erstwhile founder
—
4th September 2008 (3 years ago)
#
Sorry, didn't catch that bit. If you have forums.php in the upgrade plugins directory and $forums_enable_upgrades to to 1 inside forums.php then double check that the Upgrades plugin is installed correctly.
Ok, deleted the folder my own plugin was in and pasted the files directly into upgrade-plugins and now my own plugin is included in the list (the quota and ad removal have been added and they have subfolders too, read somewhere here that the folders shouldn't be included so I guess I'll change that for them too, just to be sure), the forums however still isn't showing..
Responses (10)
Erstwhile founder — 4th September 2008 (3 years ago) #
Try moving forums.php to the upgrade plugins directory.
Thanks
Andrew
Member — 4th September 2008 (3 years ago) #
That's exactly what I did (that's why I'm asking)..
I wanted to test if the auto-update (for the dropdownlist of available plugins for upgrades) worked, because I'm working on a plugin for a client that has to work with upgrades, but it didn't show up (so downloaded forums to see if I missed something, or if it's just not working)
Member — 4th September 2008 (3 years ago) #
did you edit forums.php like this:
$forums_enable_upgrades = '1';
without this it shouldn't show up in the drop down.
Erstwhile founder — 4th September 2008 (3 years ago) #
Sorry, didn't catch that bit. If you have forums.php in the upgrade plugins directory and $forums_enable_upgrades to to 1 inside forums.php then double check that the Upgrades plugin is installed correctly.
Thanks,
Andrew
Member — 4th September 2008 (3 years ago) #
Ok, deleted the folder my own plugin was in and pasted the files directly into upgrade-plugins and now my own plugin is included in the list (the quota and ad removal have been added and they have subfolders too, read somewhere here that the folders shouldn't be included so I guess I'll change that for them too, just to be sure), the forums however still isn't showing..
Erstwhile founder — 4th September 2008 (3 years ago) #
Yep, all files should go directly into /upgrade-plugins/.
Can you copy/paste the config section at the top of your forums.php please?
Thanks,
Andrew
Member — 4th September 2008 (3 years ago) #
Never mind.. just proving my hair color right again... (forgot to enable the upgrades in the config-section..) Sorry for waisting your time.. ;)
Erstwhile founder — 4th September 2008 (3 years ago) #
No worries :)
Thanks,
Andrew
Keeper of the Dark Chocolate — 5th September 2008 (3 years ago) #
I've wasted plenty of Andrew's time as well. :)
Member — 5th September 2008 (3 years ago) #
I'm glad I'm not the only one that's wasting Andrew's time ;) :p
Become a member