![]() |
Advanced Plugin Manager - Reloaded
Advanced Plugin Manager - Reloaded v2.6 The original Advanced Plugin Manager was written by KirbyDE (found here). He expressed that this was not a release he intended to make into a full-fledged mod, and it also contained some bugs. When I first saw the thread over at vB.com posted by Live Wire, he had photoshopped the Template Manager to indicate how Products and Plugins could work with this interface. I quite liked the idea, so I decided to make it so. A week and one permission from Kirby later, I can present to you this Extension. Features:
This Extension will require page reloads for pretty much all its actions, as the Template Manager does. If you do not like this, please use Kirby's version. Kirby does in no way support this version, nor do I support his. Important! You need to uninstall Kirby's version before installing mine, should you choose my version. Screenshots attached in 2nd post. Install instructions:
|
Screenshot gates hath been opened!
|
....I love you. No seriously, awesome hack man. -clicks install-
|
Awsomeness :D
|
i find this very interesting, but wouldn't it be more efficient to simply create a complete new plugin system, instead of replacing some functions by others ?!... i don't like to add these replacements in "admin_global" ... even if we don't have to edit the files...
|
The main reason is that the more advanced functions, like Delete Product, contain much code beyond executing delete_product(). As such, any changes in the original Jelsoft code would force me to update this hack with the new code. And in every new version, I would have to cross-check the code.
Until Jelsoft puts all the advanced functions into one big function (like delete_post() etc) and makes it easier for developers to execute all neccessary code elsewhere, this is how it must remain. |
[high]* Oblivion Knight bows down to you.
[/high] This is the way that is should have always been. Jelsoft take note! ;) |
Thank you Sir.
|
I have to admit, you pulled it off. Must have been the "I'll believe it when I see it", huh? ;)
Good job! ;) |
This looks very nice. I think I'll wait a little bit on it though. See if anyone has any trouble. I still need to update to gold anyway. *holds head at the thought of the templates*
|
Clicked Hack Of The Month ;)
Thanks for sharing :) |
When i click Add New Plug In, i get this error.
Quote:
|
Works for me, I just tested it on Gold version. Did you try to overwrite Kirby's version with this or something?
Either ways, you can try this, though: Open up the "Plugin System Adjustments" plugin, and change it to this: PHP Code:
@others: Thanks for the nice comments, makes it all worth it :) @Bad Bunny: I think your point was just proved ;) |
Very nice :)
A couple of points I notice instantly when using it ; 1. I don't like the blank line between each product. 2. I expect double clicking a product to expand/collapse it, not edit it (as per templates). |
1. What blank line?
2. I thought of this too, but then again the templates don't allow you to edit Template Groups. It just takes some getting used to, but I would rather want to be consistent (double click = edit) than follow the Template Manager slavically. |
fantastic hack :)
|
Quote:
|
Quote:
2. I agree, could you provide the code to fix this, for those people that'd like to expand the Group Listing, instead of editing the Install/Uninstall code? |
1. Figures this being Internet Explorer acting homosexual as usual...
Ill fix this up right now. Actually, I can't fix it completely. It is just the way IE parses code. If you expand one template group in the template manager, you'll see that blank line again. At least I do, using IE7. That being said, I can probably make it so that the number of blank lines are reduced. |
Then why aren't there any blank lines in the Styles Manager?
|
Quote:
|
Quote:
You were saying? |
I thought you were talking about the Style Manager having all the blanks... I can live with a blank after an expanded group, that looks good as it seperates it from the next one.
|
Um you might wanna ahve a look at how it looks now, because it doesnt have a space where you think it does.
Its currently: Product *space*[indent and then its plugins] |
Quote:
I really, really dislike the Style Manager. It's visual appearance is good, but for every action it RELOADS. And it doesn't save expanded state *big tumbs down* |
It saves the expanded state of whichever group the template you edited was in.
Quote:
Edit: Ahh... okay I see what you're talking about. But the carraige return between each product is what needs to be removed... |
Quote:
|
Ahh... this is true. I thought you meant while you're still in the Style Manager.
|
No.
It is gooddamn annoying when you are working on a Hack, edit a Template - then change some usergroup perm (or add a setting or whatever), you come back and the freaking style-manager forgot which template you where working on and you have to open it again ... and again and again and ... WAAAH! How I hate this :( |
Quote:
And just for the record, its not a carriage return per se. It is IE parsing a <select> in such a way that things that do not have a <optgroup> automatically gets space seperated from those that do. I cant speak for Opera but Firefox doesn't have this behaviour. Quote:
I could always just make it a cookie setting... |
If you can make it so it always remembers the last expanded product and selected plugin i'll love this Hack.
(Otherwise I'll hate it ;)) |
Quote:
|
Not after you upload the new admincp file, they arent.
Quote:
|
mhm, this looks delicious. I Will test it out. :)
[high]* Guest190829 clicks install.[/high] |
Quote:
|
Quote:
|
Quote:
Hm I have some stuff not related to this I gotta take care of first, I just finished the cookie saving stuff. Ill have this done soonish. Edit: Done. Im not bothering with that last selected plugin thingy, you can move your mouse and click the button once, Kirby dont be a lazy sod XD |
Update fails;
PHP Code:
|
XML reimport not really needed, I just put it there so the Product version number can be updated :p
|
Quote:
@Revan, I actually thought I would like Kirby's better but you got me hooked! Thanks for the great plug-in. |
All times are GMT. The time now is 12:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|