View Full Version : Advanced Plugin Manager
akanevsky
04-11-2006, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=95738) 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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=217729)
akanevsky
04-12-2006, 05:07 PM
First Post Reserved!
Developer
04-12-2006, 05:09 PM
& screenshots plz :)
..
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.
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 (https://vborg.vbsupport.ru/showthread.php?p=951459) 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 (https://vborg.vbsupport.ru/showthread.php?t=110058) also disabled itself.
akanevsky
04-17-2006, 09:38 PM
I've noticed two strange things once I enabled this:
Dynamically Create Amazon links (https://vborg.vbsupport.ru/showthread.php?p=951459) 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 (http://www.amazon.com/gp/product/0761128182/ref=pd_cpt_gw_1/102-0904450-6148904?%5Fencoding=UTF8&v=glance&n=283155) also disabled itself.
That's not likely.
Tralala
04-17-2006, 09:49 PM
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 (https://vborg.vbsupport.ru/showthread.php?p=951459) 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
Currently Active Users' Avatar (http://www.amazon.com/gp/product/0761128182/ref=pd_cpt_gw_1/102-0904450-6148904?%5Fencoding=UTF8&v=glance&n=283155) also disabled itself.
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
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
if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
{
print_cp_header($vbphrase['plugin_system']);
}
should I replace it completely so I end up with 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 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
hey mate, in plugin.php, i've got
if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
{
print_cp_header($vbphrase['plugin_system']);
}
should I replace it completely so I end up with 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 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...
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
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
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
Please, any update patch ???
No patch necessary, this hack has been verified and is working on an unhacked 3.5.4.
yj_enquirer
05-19-2006, 06:05 PM
Parse error: parse error, unexpected '<' in /home/XXXXX/public_html/forums/admincp/global.php(185) : eval()'d code on line 1
I get the above error....at the bottom of the global.php file the line that is included is :
($hook = vBulletinHook::fetch_hook('admin_global')) ? eval($hook) : false;
If I comment out this line, no issues, however the hack ofcourse is not seen as installed..
Any suggestions?
akanevsky
05-19-2006, 10:39 PM
It looks like you have a bad plugin on the admin_global hook. I wouldn't say that it has anything to do with this hack.
utw-Mephisto
05-27-2006, 04:00 PM
Psionic, do you know how i can uninstall Anreas' plugin ? It does not show up on the plugin page and since it removes the product management I cannot import new products
akanevsky
05-27-2006, 04:06 PM
1. Disable hooks by placing the following code in config.php.
2. Go to admincp and remove the plugin.
3. Remove the following code from config.php.
defined('DISABLE_HOOKS', true);
antialiasis
05-28-2006, 09:54 PM
Did you modify the file and uninstall any other similar hacks?
I did modify the file, and had no similar hacks installed at the time...
akanevsky
06-14-2006, 07:27 PM
Released version 2.0.1.
Valter
06-15-2006, 05:10 AM
Upgrade info?
Upload/replace files only?
Tralala
06-15-2006, 02:38 PM
Does the new update (2.0.1) address the issues discussed in posts 22-28 here in this thread?
akanevsky
06-15-2006, 06:58 PM
Yes, only replace the file, and no - the issues in those posts do not exist.
Tralala
06-15-2006, 08:40 PM
and no - the issues in those posts do not exist.
Um, okay.
"This is not the bug you are looking for."
/jedi wave
akanevsky
06-15-2006, 08:43 PM
Um, okay.
"This is not the bug you are looking for."
/jedi wave
I have used this hack with no problems on about 6 different sites... So please don't tell me that there are problems, cause there aren't...
Tralala
06-16-2006, 02:43 AM
I have used this hack with no problems on about 6 different sites... So please don't tell me that there are problems, cause there aren't...
Okay, but can I ask you this: did you actually try it with the two hacks I mentioned above? Because it's completely reproducible here.
akanevsky
06-22-2006, 12:15 PM
No, this hack is not intended for use with any similar hacks...
Tralala
06-22-2006, 02:00 PM
No, this hack is not intended for use with any similar hacks...
I don't understand what you mean by this. I don't have any similar hacks installed.
The hacks I referenced in my bug report are Dynamically Create Amazon links (https://vborg.vbsupport.ru/showthread.php?p=951459) and Currently Active Users' Avatar (https://vborg.vbsupport.ru/showthread.php?t=110058).
Are those considered "similar?"
akanevsky
06-22-2006, 02:02 PM
No. But since these hacks have nothing to do with plugin display, they cannot create problems.
Tralala
06-22-2006, 02:22 PM
No. But since these hacks have nothing to do with plugin display, they cannot create problems.
Okay, let me rephrase.
Without your hack installed, "Convert Amazon Links (https://vborg.vbsupport.ru/showthread.php?p=951459)" appears in my standard plugin manager. I can turn it off and on again, as usual.
With your hack installed, "Convert Amazon Links" disappears from my list of plugins. So I can't toggle it on or off.
So it's not that these hacks are "creating problems" but rather there's something different about them that causes them to not be recognized by APM.
I'm not sure if there are other hacks that are affected this way, as I run extremely few on my site.
akanevsky
06-22-2006, 02:26 PM
Do you have the last version of this hack installed?
Tralala
06-22-2006, 02:29 PM
Yes, I just tried it again this morning.
akanevsky
06-23-2006, 11:05 PM
Ok... The reason is a malformed plugin XML of those plugins. It's fixed now, however. Update the php file.
(idk, who writes plugin xml by hand? seems like the authors of those hacks did).
1. Disable hooks by placing the following code in config.php.
2. Go to admincp and remove the plugin.
3. Remove the following code from config.php.
defined('DISABLE_HOOKS', true);
How in the hell do I uninstall yours? I tried the above and it didn't work.
akanevsky
11-27-2006, 08:07 PM
Should this be ported to 3.6? Althogh 3.6 does sort by products, it still has products on a separate page, and no "save and reload" button.
akanevsky
02-04-2007, 03:55 PM
Released version 2.0.2, compatible with 3.6.
MDK-Indy
08-12-2007, 07:04 PM
Works fine on vBulletin 3.6.7 PL1
but on changes in your Install Manual:
In file(s) ./admincp/plugin.php (vBulletin 3.6.7 PL1)
find:
if ($_REQUEST['do'] == 'productexport')
the following code is not in vBulletin 3.6.7 PL1
if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
greeting Indy
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.