Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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

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:
  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
  #12  
Old 10-01-2005, 04:38 PM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Clicked Hack Of The Month

Thanks for sharing
Reply With Quote
  #13  
Old 10-01-2005, 04:41 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i click Add New Plug In, i get this error.

Quote:
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
Other then that it works fine so far.
Reply With Quote
  #14  
Old 10-01-2005, 05:31 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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] &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'])
    {
        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

@Bad Bunny: I think your point was just proved
Reply With Quote
  #15  
Old 10-01-2005, 06:08 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #16  
Old 10-01-2005, 06:29 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 10-01-2005, 06:31 PM
dookie dookie is offline
 
Join Date: Jun 2003
Location: Germany
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fantastic hack
Reply With Quote
  #18  
Old 10-01-2005, 07:02 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
1. What blank line?
I have a blank line between each product, screenshot attached.
Reply With Quote
  #19  
Old 10-01-2005, 07:04 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
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. 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?
Reply With Quote
  #20  
Old 10-01-2005, 08:56 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 10-01-2005, 09:10 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then why aren't there any blank lines in the Styles Manager?
Reply With Quote
Reply


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 06:32 PM.


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.06835 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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