Version: 2.6, by Revan
Developer Last Online: Jun 2014
Version: 3.5.4
Rating:
Released: 09-30-2005
Last Update: 06-15-2006
Installs: 74
DB Changes Uses Plugins
Additional Files
No support by the author.
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:
Mimicks the Template Manager in pretty much every sense
"Flag" Plugins for export/deletion
Remembers the expanded products indefinetely
Remembers the "flagged" plugins indefinetely
Automatically de-flags plugins when they have been exported/deleted.
Plugins that are subject to a disabled Product are marked as disabled themselves at runtime. Their TRUE state (as stored in the database) remains untouched.
Mass deletion of "flagged" plugins
Mass export of "flagged" plugins
Working "Save & Reload" button (Credits to Kirby for fixing it)
Shortcut to "Add / Import Product"
Fully phrased
NO Code Modifications needed!
Note:
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:
Click install (you want your precious support, don't you? ).
Upload the files.
Import the Product XML file through your ACP.
Enjoy.
Upgrade instructions:
Upload all files again.
Import new product XML.
Enjoy the improvements.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Fatal error: Cannot redeclare plugin_edit_handler() (previously declared in /forums/admincp/global.php(194) : eval()'d code:23) in /public_html/forums/admincp/global.php(194) : eval()'d code on line 59
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:
if (preg_match('/plugin\.php$/', $_SERVER['PHP_SELF']))
{
if (!$_REQUEST['do'] OR $_REQUEST['do'] == 'modify' OR $_REQUEST['do'] == 'product')
{
exec_header_redirect('advplugins.php');
}
if ($_REQUEST['do'] == 'updateactive')
{
function plugin_updateactive_handler()
{
exec_header_redirect('advplugins.php');
}
ob_start('plugin_updateactive_handler');
}
if ($_REQUEST['do'] == 'edit' OR $_REQUEST['do'] == 'add')
{
if (!function_exists('plugin_edit_handler'))
{
function plugin_edit_handler($output)
{
global $vbphrase, $vbulletin;
$output = str_replace("<input type=\"reset\"", "<input type=\"submit\" class=\"button\" tabindex=\"1\" name=\"return\" value=\"$vbphrase[save] & $vbphrase[reload]\" accesskey=\"e\" />\n<input type=\"reset\"", $output);
return $output;
}
}
ob_start('plugin_edit_handler');
$vbulletin->nozip = true;
}
if ($_REQUEST['do'] == 'update' AND $_REQUEST['return'])
{
function plugin_update_handler($output)
{
global $_REQUEST;
return str_replace('plugin.php', 'plugin.php?do=edit&pluginid=' . $_REQUEST[pluginid], $output);
}
$vbulletin->nozip = true;
ob_start('plugin_update_handler');
}
}
See if that makes it go away
@others: Thanks for the nice comments, makes it all worth it
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.
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. See Attached (I'd like to get rid of this as well.)
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.