Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Advanced Plugin Manager - Reloaded Details »»
Advanced Plugin Manager - Reloaded
Version: 2.6, by Revan Revan is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

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:
  1. Click install (you want your precious support, don't you? ).
  2. Upload the files.
  3. Import the Product XML file through your ACP.
  4. Enjoy.
Upgrade instructions:
  1. Upload all files again.
  2. Import new product XML.
  3. Enjoy the improvements.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-08-2007, 11:42 AM
evesve evesve is offline
 
Join Date: Jul 2005
Location: Sweden
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 11-09-2007, 03:30 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Currently this does not support the upgrade check function in vB.
This will be added soon.
Would be great hehe

This should be a MOTM!
Reply With Quote
  #24  
Old 11-25-2007, 11:07 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evesve View Post
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] &amp; $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
Reply With Quote
  #25  
Old 11-26-2007, 02:33 PM
evesve evesve is offline
 
Join Date: Jul 2005
Location: Sweden
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AWJunkies View Post
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] &amp; $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;

MySQL Error : Unknown column 'phrasetypeid' in 'order clause'
Error Number : 1054
Date : Monday, November 26th 2007 @ 05:25:34 PM
Script : http://xxxxx.xx/vbforum/admincp/prod...plugin_mngr&s=
Referrer : http://xxxxx.xx/vbforum/admincp/product_detail.php
I am not sure that it is an error from this mod, but...
Reply With Quote
  #26  
Old 11-28-2007, 12:18 PM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice. just installed and its working fine without any problem/error. But 2 things missing though

1. ability to enable/disable multiple plug ins at once
2. version checking.

with this 2 options, it'd be a perfect plug ins manager. I think vB team should adapt this as default.
Reply With Quote
  #27  
Old 01-14-2009, 03:33 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Cya
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05948 seconds
  • Memory Usage 2,313KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete