Version: 2.6, by Revan
Developer Last Online: Jun 2014
Category: Administrative and Maintenance Tools -
Version: 3.6.0 Beta 2
Rating:
Released: 06-14-2006
Last Update: 06-15-2006
Installs: 96
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:
Currently this does not support the upgrade check function in vB.
This will be added soon.
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.
Hi!
I get this everytime I try to do something...:
Quote:
Fatal error: Cannot redeclare plugin_edit_handler() (previously declared in /hsphere/local/home/xxxxx/xxxxxxx.se/vbforum/admincp/global.php(212) : eval()'d code:17) in /hsphere/local/home/xxxxx/xxxxxxx.se/vbforum/admincp/plugin.php on line 65
Hi!
I get this everytime I try to do something...:
Ok I figured it out, the function: plugin_edit_handler()
Is now a global so his code in the xml (product file becomes redundant) and causing the error. So you need to remove this code from the product xml file (product-adv_plugin_mngr.xml):
PHP Code:
<plugins> <plugin active="1" executionorder="5"> <title>Plugin System Adjustments</title> <hookname>admin_global</hookname> <phpcode><![CDATA[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') { if (!function_exists('plugin_updateactive_handler')) { 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']) { if (!function_exists('plugin_update_handler')) { 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'); } }]]></phpcode> </plugin>
Or if you already have it installed you can delete the plugin:
System Adjustments admin_global Advanced Plugin Manager - Reloaded
or
/*
*/
bracket all the data within the plugin
I have checked all functionality and this to work perfect. 3.6.8 P2
Ok I figured it out, the function: plugin_edit_handler()
Is now a global so his code in the xml (product file becomes redundant) and causing the error. So you need to remove this code from the product xml file (product-adv_plugin_mngr.xml):
PHP Code:
<plugins>
<plugin active="1" executionorder="5">
<title>Plugin System Adjustments</title>
<hookname>admin_global</hookname>
<phpcode><![CDATA[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')
{
if (!function_exists('plugin_updateactive_handler'))
{
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'])
{
if (!function_exists('plugin_update_handler'))
{
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');
}
}]]></phpcode>
</plugin>
Or if you already have it installed you can delete the plugin:
System Adjustments admin_global Advanced Plugin Manager - Reloaded
or
/*
*/
bracket all the data within the plugin
I have checked all functionality and this to work perfect. 3.6.8 P2
Thanks!
I uninstalled, changed the product xml and installed again.
But I have another error after the normal product manager.
Quote:
SELECT phrase.*, language.title
FROM vb3_phrase AS phrase
LEFT JOIN vb3_language AS language USING(languageid)
WHERE product = 'adv_plugin_mngr'
ORDER BY languageid DESC, phrasetypeid DESC;
Tested and working on 3.8.0 GOLD. Would be great having that version checking, or some kind of "version status" button, that when clicking on it, shows which hacks installed on the board, are updated here at vb.org.