vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Plugin Manager (https://vborg.vbsupport.ru/showthread.php?t=112833)

akanevsky 04-11-2006 10:00 PM

Advanced Plugin Manager
 
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*===================================*\
|| Advanced Plugin Manager
||
|| Author : Anton Kanevsky
|| Co-Author(s) : Andreas
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jul 02, 2009
||
|| Time required to install: ~5 minutes
|| Difficulty: easy
\*===================================*/

DESCRIPTION

This product makes it somewhat easier to use the plugin system when you have a lot of products installed. The original version of this hack has been written by Andreas. This is a new release that serves the same purpose but has more features and less bugs.

STATISTICS

File Uploads: 1
File Changes: 2
Products to Install: 1


FEATURES
  • Combined product / plugin page with plugins arranged in collapsible product groups(as per the screenshot).
  • "Save and reload" plugin feature for vBulletin 3.5.x - 3.7.x (disabled for vBulletin 3.8.x because it has native support for this function).

VERSION HISTORY

2.1.0
[+] Compatible with vBulletin 3.5.x - 3.8.x.
[+] Added the "expand / collapse all products" feature.
[+] Collapse status is now saved properly between page reloads.

2.0.2
[+] Added support for the new vBulletin 3.6 features.
[+] Product version is now displayed in the product list.

2.0.1
[+] Product descriptions are now displayed in the list.
[F] Corrected a bug with purple box around collapse buttons in internet explorer.

2.0.0
[F] Save & Reload is now Working Properly
[F] Save Active State is now Working Properly
[F] No more purposeless control buttons on vbulletin product.
[F] Products with no plugins are now shown by the hack.

1.0.0
Original Version by Andreas

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

akanevsky 04-12-2006 05:07 PM

First Post Reserved!

Developer 04-12-2006 05:09 PM

& screenshots plz :)
[hr]..[/hr]
looks good & simple

akanevsky 04-12-2006 05:18 PM

Ya, I posted one.

peterska2 04-12-2006 05:22 PM

Does it upgrade from v1 easily, or do you need to uninstall v1 to install v2?

akanevsky 04-12-2006 05:26 PM

To upgrade from v1, you need to:

1. Uninstall and reinstall the plugin.
2. Overwrite advplugins.php.
3. Do the file modification.

So yes, technically you need to uninstall v1 before you install v2 :)

peterska2 04-12-2006 05:38 PM

ok. thanks.

I dont suppose it will work without the file edit will it?

(I always forget about the file mods since vB went to 3.5.x)

Plus, any suggestions on how to uninstall v1 as it doesn't show in the plugin/product manager?

akanevsky 04-12-2006 05:41 PM

The reason for the file edit is that plugin.php contains no hooks.
If you don't do the file edit, the following functions will not work:

Save & Reload
Save State

Because there will be buffer output before these functions are even activated.

To uninstall v1, you need to delete the Plugin System Adjustments plugin.

uae 04-12-2006 05:58 PM

I like :)
Keep up the good work

Gizmo5h1t3 04-12-2006 06:45 PM

installed...nice work.

Mastar 04-12-2006 07:02 PM

Gladly clicked 'install'...

BlackScorpion3 04-13-2006 01:52 AM

Thanks, that is a tight hack. Much easier to manage plugins having them seperated for you.

--Black Scorpion

DementedMindz 04-13-2006 11:39 AM

nice Psionic working great... thanks

Snake 04-13-2006 01:41 PM

This is sick! Thanks man!

toolblast 04-13-2006 05:17 PM

Psionic you've done it again! Another great script :)

I also like that you've launched a website to showcase all your paid scripts. Great work.

PM me when you get a chance :classic:

SaN-DeeP 04-14-2006 09:23 PM

this shall be a handy addon.
thanks

Dennis B 04-14-2006 11:09 PM

Shouldn't we remove the file cpnav_adv_product_management.xml as well?
Otherwise the old navigation link remains there, useless...

akanevsky 04-14-2006 11:16 PM

You are talking about a different hack than the one by Andreas. So, the answer is, I don't know.

Dennis B 04-14-2006 11:52 PM

Damn! You're right, I was talking about the Adv Product Mgr!
Sorry. :)

rareclownfish 04-15-2006 02:57 PM

installed

Tralala 04-17-2006 02:20 PM

Installed! Me likey!

Tralala 04-17-2006 03:06 PM

I've noticed two strange things once I enabled this:

Dynamically Create Amazon links doesn't show up in my list of products/plug-ins. It also seems to disable? As I turned the APM on and off I found that I had to re-enable the Amazon hack. Odd.

Currently Active Users' Avatar also disabled itself.

akanevsky 04-17-2006 09:38 PM

Quote:

Originally Posted by Tralala
I've noticed two strange things once I enabled this:

Dynamically Create Amazon links doesn't show up in my list of products/plug-ins. It also seems to disable? As I turned the APM on and off I found that I had to re-enable the Amazon hack. Odd.

Currently Active Users' Avatar also disabled itself.

That's not likely.

Tralala 04-17-2006 09:49 PM

Quote:

Originally Posted by Psionic Vision
That's not likely.

Agreed... the "disabling part" I'm now finding is not reproducible, so perhaps that was fat-fingering on my part. :surprised:

However, the Dynamically Create Amazon hack does not show up in my list of products/plug-ins when APM is enabled. That's completely reproducible and happening right now. The only way I can disable/enable that particular hack is to disable APM first.

Tralala 04-17-2006 10:18 PM

Quote:

Originally Posted by Tralala
Currently Active Users' Avatar also disabled itself.

Quote:

Originally Posted by Psionic Vision
That's not likely.

Okay, I got this to reproduce consistently. When I disable APM (in order to check the status of the Amazon hack, as mentioned above)... the "Currently Active Users' Avatar" hack gets disabled too. Every time.

I have to re-enable it in the standard Plugin Manager.

akanevsky 04-18-2006 12:03 AM

Does the problematic hack contain any special characters in its title or anywhere?

Tralala 04-18-2006 01:07 AM

Quote:

Originally Posted by Psionic Vision
Does the problematic hack contain any special characters in its title or anywhere?

Not that I can see, no.

akanevsky 04-18-2006 10:00 PM

Ok, I think I know what the problem is.. please stay tuned.

kurtbarker 04-28-2006 08:14 AM

hey mate, in plugin.php, i've got

Code:

if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
{
        print_cp_header($vbphrase['plugin_system']);
}

should I replace it completely so I end up with
Code:

        if ($_REQUEST['do'] != 'updateactive' AND $_REQUEST['do'] != 'update')
        {
                print_cp_header($vbphrase['plugin_system']);
        }

or should I only replace the line that is in the readme so I end up with
Code:

if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
{
        if ($_REQUEST['do'] != 'updateactive' AND $_REQUEST['do'] != 'update')
        {
                print_cp_header($vbphrase['plugin_system']);
        }
}

coz that last one doesn't look right, but it's what the instructions say, so I just want to confirm

Boofo 04-28-2006 10:48 AM

Quote:

Originally Posted by kurtbarker
hey mate, in plugin.php, i've got

Code:

if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
{
    print_cp_header($vbphrase['plugin_system']);
}

should I replace it completely so I end up with
Code:

    if ($_REQUEST['do'] != 'updateactive' AND $_REQUEST['do'] != 'update')
    {
        print_cp_header($vbphrase['plugin_system']);
    }

or should I only replace the line that is in the readme so I end up with
Code:

if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
{
    if ($_REQUEST['do'] != 'updateactive' AND $_REQUEST['do'] != 'update')
    {
        print_cp_header($vbphrase['plugin_system']);
    }
}

coz that last one doesn't look right, but it's what the instructions say, so I just want to confirm

I would say the last one is correct. Tony usually doesn't miss something like that. ;)

kurtbarker 04-28-2006 10:51 AM

thanks Boofo, i'll let you know how it's goes :D

ndahiya 04-29-2006 12:53 PM

while the mod appears to work ok, i get this error when i click on the "add new plugin" link...

Quote:

Fatal error: Cannot redeclare plugin_edit_handler() (previously declared in /home/xxxxx/public_html/forums/admincp/global.php(194) : eval()'d code:38) in /home/xxxxx/public_html/forums/admincp/global.php(194) : eval()'d code on line 76

akanevsky 04-29-2006 01:10 PM

That is not something that could be caused by this hack UNLESS you have Andreas's version of this hack installed.

Tralala 04-29-2006 03:18 PM

Quote:

Originally Posted by Psionic Vision
Ok, I think I know what the problem is.. please stay tuned.

Any update on this, Psionic?

akanevsky 04-29-2006 03:21 PM

No, haven't had time to update yet.

Valter 05-08-2006 02:08 PM

Works fine, thanks.

Installed.

antialiasis 05-11-2006 12:40 PM

When I try to edit a plugin, I'm getting a blank page... =/

akanevsky 05-11-2006 05:51 PM

Did you modify the file and uninstall any other similar hacks?

ndahiya 05-13-2006 01:05 PM

Quote:

Originally Posted by ndahiya
while the mod appears to work ok, i get this error when i click on the "add new plugin" link...

also get an error if i try and edit the text... Please, any update patch ???

akanevsky 05-13-2006 04:06 PM

Quote:

Please, any update patch ???
No patch necessary, this hack has been verified and is working on an unhacked 3.5.4.


All times are GMT. The time now is 10:55 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
  • Page Generation 0.01352 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete