View Full Version : Advanced Plugin Manager
Andreas
09-05-2005, 10:00 PM
I got rid of the standard Plugin Manager as it is a total mess when there are a lot of Plugins.
So I wrote an alternative Interface.
This is not a "real" Release, more smth. I did just for myself, so don't expect high-quality, phrasing, etc.
But as it might be useful for others too (maily developers I guess) - here it goes.
It also adds a "Save & Reload" Button for Add/Edit Plugin.
Upload the PHP and import the Plugin (!) XML.
Boofo
09-06-2005, 08:14 AM
I've been waiting for something like this. Excellent! ;)
Boofo
09-06-2005, 08:24 AM
Is there any way to do the headings in alphabetical order for easier finding?
DaFire
09-06-2005, 08:56 AM
really nice .. I also had the idead to make a table for every plugin but this is even better
stinger2
09-06-2005, 09:16 AM
importing the XML is giving me invalid file specified............any idea why...
or should i upload it to includs>>xml??
thanks
Boofo
09-06-2005, 09:26 AM
Upload it as a plug-in, not a product.
Great addition .. I can now find all the plugins :) thanks KirbyDE
Clicked install
Save Active Status function on the main list doesnt work. The status doesnt change when Plugin list refreshed.
Snake
09-06-2005, 10:39 AM
Great hack thanks.
Princeton
09-06-2005, 11:33 AM
Superb addon! I hope they add this to the product. :up:
Andreas
09-06-2005, 11:47 AM
Save Active Status function on the main list doesnt work. The status doesnt change when Plugin list refreshed.
Does work for me ...
importing the XML is giving me invalid file specified............any idea why...
or should i upload it to includs>>xml??
thanks
You nknow why I posted
Upload the PHP and import the Plugin (!) XML.
?
@bob
You mean the Product Titles?
Yes, that's possible - just change the SQL a bit.
Kurisu
09-06-2005, 12:07 PM
Hmm when I click on "modify plugins" I get an error:
Database error in vBulletin 3.5.0 Release Candidate 2:
Invalid SQL:
SELECT plugin.*,product.active AS productactive, product.productid FROM forum_plugin
LEFT JOIN forum_product AS product ON (product.productid=plugin.product)
ORDER BY product, title, hookname;
MySQL Error : Unknown table 'plugin'
Error Number : 1051
Date : Tuesday, September 6th 2005 @ 03:02:15 PM
Script : http://myforum.com/admincp/advplugins.php
Referrer : http://myforum.com/admincp/index.php?do=nav
Classname : vb_database
Furthermore, the link to "manage products" disappeared...
Andreas
09-06-2005, 12:45 PM
Freaking Table Prefixes ... wohever invented them should be killed! ;)
Fixed.
Boofo
09-06-2005, 12:51 PM
@bob
You mean the Product Titles?
Yes, that's possible - just change the SQL a bit.
What do I need to change in the SQL?
Kurisu
09-06-2005, 12:55 PM
Freaking Table Prefixes ... wohever invented them should be killed! ;)
Fixed.
Wow, your support is unbeatable http://forum.anivision.de/images/smilies/twitch.gif
Marco van Herwaarden
09-06-2005, 02:24 PM
Whoever keeps forgetting them should be killed. :D
Princeton
09-06-2005, 02:30 PM
kill them all, kill them all -- runs with a pitch fork :rambo:
HakkieDEV
09-07-2005, 08:11 PM
great hack, using this at once, since it really gets way too complicated with the default view.
vb should do something like this as default.
Boofo
09-08-2005, 08:42 AM
Ok Kirby, what do I need to do to the sql to get it to list the categories alphabetically? ;)
Revan
09-08-2005, 09:27 AM
Can you please try to make it look like Live Wire's sugg in this post (http://www.vbulletin.com/forum/showpost.php?p=927675&postcount=8)? If you will, then notice my idea of making disabled plugins red.
If you do then this will rox0r t3h b0x0rz and youll have my install.
peterska2
09-08-2005, 01:34 PM
* peterska2 clicks install.
good job :D
Biker_GA
09-08-2005, 03:00 PM
Interesting. Worked great with one exception. Example attached.
Andreas
09-08-2005, 04:46 PM
@Biker_GA
Then these Plugins are most likely attached to an non-existing Product.
Biker_GA
09-08-2005, 06:11 PM
No sir. Both are active and used regularly, however, they are not a product, but rather a plugin.
Andreas
09-08-2005, 06:14 PM
Please export them and attach the XML here.
Biker_GA
09-08-2005, 06:20 PM
No export button so copied here for your info..
Disable Reported Post E-mails
$moderator['email'] = null;
quote post in PM
// Quote Post in PM
if ($vbulletin->input->clean_gpc('r', 'postid', TYPE_INT))
{
// We have a postid - let's quote the post.
$text = $db->query_first("
SELECT threadid, title, pagetext
FROM " . TABLE_PREFIX . "post
WHERE postid=" .$vbulletin->GPC['postid'] . "
");
if ($vbulletin->GPC['stripquote'])
{
$pagetext = strip_quotes($text['pagetext']);
}
else
{
// this is now the default behavior -- leave quotes, like vB2
$pagetext = $text['pagetext'];
}
$pagetext = trim(htmlspecialchars_uni($pagetext));
eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
$pm['title'] = "Regarding: " . $text['title'];
$pm['title'] = trim($pm['title']);
}
// Quote Post in PM
I also attached the original xml files used.
Andreas
09-09-2005, 10:06 AM
Can you please try to make it look like Live Wire's sugg in this post (http://www.vbulletin.com/forum/showpost.php?p=927675&postcount=8)? If you will, then notice my idea of making disabled plugins red.
If you do then this will rox0r t3h b0x0rz and youll have my install.
Hmmm - where is the difference (except colours and Buttons)?
l
@BikerGA
These Plugins are not attached to any Product (not even the Pseudo-Product vbulletin), hence they show up lonely.
Revan
09-09-2005, 11:21 AM
Hmmm - where is the difference (except colours and Buttons)?Size, looks and functionality. Plus it looks more "standard vB".
Im just saying it would be cool :)
Boofo
09-10-2005, 10:58 AM
Ok, Kirby, I tried but can't figure out how to alphabetize the products. What do I need to change?
Biker_GA
09-10-2005, 11:15 AM
@BikerGA
These Plugins are not attached to any Product (not even the Pseudo-Product vbulletin), hence they show up lonely.
Ahhh. OK. I understand now.
deathemperor
09-10-2005, 01:39 PM
very nice Kirby !
Impreza04
09-10-2005, 04:47 PM
Awesome.. Looks a lot cleaner now
Thanks Kirby
Problem:
Products with NO plugins doesnt show, and you remove the regular product manager => cant edit the product.
Andreas
09-11-2005, 06:06 AM
Right ... havn't thought of Products that don't have Plugins :)
Gonna update that soon.
Furthermore, the link to "manage products" disappeared...
Got the same problem !?
Boofo
09-11-2005, 09:56 PM
The save and reload for plug-ins does not save your edits. Only the save does.
Andreas
09-11-2005, 10:20 PM
Got the same problem !?
It's not a Bug, it's a feature - I removed that intentionally as I thought it wasn't necessary (which would be the case if the were not Products without Plugins).
@Boofo
I know.
Boofo
09-11-2005, 11:25 PM
Well, if you know, how come it's not fixed yet? You're usually quicker than that. ;)
And what about my query help for the title? ;)
Thanatos
09-15-2005, 10:29 PM
I found an odd issue. This is on RC3.
My admin's get a blank white bar instead of the regular admin menu on the left side of the screen. However, once I disable Remove Manage Products from Nav -- everything works fine for them.
jesus likes pie
09-16-2005, 12:13 AM
/me clicked install.
Boofo
09-16-2005, 12:17 AM
Any update for the bug fixes yet?
iSpanish
09-16-2005, 12:36 AM
Cool
Nice Plug
Install
Andreas
09-16-2005, 03:46 AM
Any update for the bug fixes yet?
Nope. And maybe they won't ever be fixed. As said, this is just smth. I quickly wrote for myself.
Boofo
09-16-2005, 03:47 AM
Good attitude.
Andreas
09-17-2005, 05:12 AM
I am sorry if I disappointed you Bob, but I clearly stated in the first Post that this is really unsupported stuff, and just for usage as-is.
I never had intention to improve this/work on it, I just thought it might be useful for others so I put it here.
Hmm, maybe I should have just kept it for my own - will do so in the future.
Paul M
09-17-2005, 08:30 AM
So you don't use it yourself then ?
Or you continue to use it yourself with the bugs ?
Strange either way ......
Boofo
09-17-2005, 09:38 AM
No problem, sir. We appreciate what you do release. ;)
I won't die without this one hack. ;)
Andreas
09-17-2005, 10:12 AM
@Paul M
Believe it or not, I can life with the Bugs very well as they don't affect me.
I wouldn't even have noticed them if others had not posted them here :)
ndahiya
10-28-2005, 12:52 AM
Andreas
Any plans to release an update to this (maybe you changed your mind!)
nd.
one9er
10-28-2005, 10:35 AM
Thank you that really cleaned things up!
Haakon
11-04-2005, 04:37 PM
I hope this gets standard in the next vb version, as I know you`re on the vb.com team now. And the reload function would be great if you implement it.
WNxWakko
11-10-2005, 11:31 PM
Edit, figured out how to uninstall.
I installed that other guys advanced plugin manager, ewwe yucky, I dont like it. So I reinstalled yours.
Any chance you can just fix the save and reload? hmm maybe you already did, Ill download your file.
Lea Verou
11-11-2005, 01:42 AM
Wow I'll install this when I find time! I just love that "Save and Reload" feature, I badly need it! Thanks for sharing Kirby!! :D
Boofo
11-11-2005, 03:58 AM
Wow I'll install this when I find time! I just love that "Save and Reload" feature, I badly need it! Thanks for sharing Kirby!! :D
If I remember right, the save and reload feature didn't work in this. :(
Andreas
11-11-2005, 05:54 AM
Yes, it's not working correctly.
Haakon
11-11-2005, 06:40 AM
The save status on "front page" does not work either, if you should look at this some time. The categorization is just so necessary you can`t let it pass even though it has bugs.
Lea Verou
11-11-2005, 07:01 AM
Yes, it's not working correctly
Damn I would install this just for that :(
I'll wait till it's fixed. :)
btw Andreas tell those guys over there at Jelsoft to put this feature in the next release pleaaaase! :D
hobbes747
12-08-2005, 03:52 AM
I installed this, uninstalled and deleted the php file when I saw it was broken and now my Manage Products link is missing. How do I get it back?
edit: nevermind, that's a seperate plugin that has to also be removed. :surprised: I was askeerd.
Wow what a difference, thank for this.....greatjob
Andreas
12-09-2005, 05:49 AM
I'll wait till it's fixed. :)
Then you will most likely have to wait forever, as I am not going to fix this - I use it as-is and the bugs don't bother me much.
FROGGYJ
12-12-2005, 11:35 PM
whenever I select "add new plugin"...I get the following error.
Fatal error: Cannot redeclare plugin_edit_handler() (previously declared in /home2/edmonton/public_html/forumvb/admincp/global.php(194) : eval()'d code:22) in /home2/edmonton/public_html/forumvb/admincp/global.php(194) : eval()'d code on line 65
I know you aren't supporting this mod Andreas, but could you help me with uninstalling it and restoring the default plugin system that came with vb.
FROGGYJ
12-12-2005, 11:38 PM
oops
eXaulz
12-12-2005, 11:57 PM
I'm getting the same error.
eXaulz
12-13-2005, 12:02 AM
Oooooh. I see the problem. For some weird reason, this hack uploaded, in fact, 2 plugins that are exactly the same. Thus, executing both codes at the same time. Sicne PHp cannot redeclare functions, it was getting confused and killed the script. So, simple just '[Delete]' one of the 'Plugin System Adjustments (hookname: admin_global)' plugins and it should work fine.
FROGGYJ
12-30-2005, 08:33 PM
ahhh thanks eXaulz.
Antivirus
01-07-2006, 12:37 AM
anyone using this still? i know it's unsupported, just wondering how everybody likes it after living with it for a month or so?
eXaulz
01-07-2006, 12:46 AM
Nah. It's uber-fux0r3d.
Antivirus
01-07-2006, 11:12 PM
Nah. It's uber-fux0r3d.
uber-fux0r3d means... you didn't like it?
akanevsky
01-07-2006, 11:36 PM
Andreas, this should really be a default feature. Come on, do it, you have the power :)
Snake
01-08-2006, 11:41 AM
You can do it too, Vision. You have the same power as Andreas! :)
icemann
01-08-2006, 03:57 PM
Andreas, this should really be a default feature. Come on, do it, you have the power :)
Works good for me in v3.5.3 and I agree with Psionic Vision. :)
SmEdD
01-24-2006, 02:52 AM
Here is the way to make them alphabetical
$plugins = $db->query_read("
SELECT plugin.*, product.active AS productactive, product.productid
FROM " . TABLE_PREFIX . "plugin AS plugin
LEFT JOIN " . TABLE_PREFIX . "product AS product ON (product.productid=plugin.product)
ORDER BY product.title, plugin.hookname, plugin.title
");
I also made it go by hook name after af that is how vB sorts the list and usually people look for certain hooks instead of the name.
Rickie3
01-24-2006, 03:27 AM
i installed this to try its not bad,but i would like to uninstall it what do i uninstall in admincp/plugin system??? ive removed the advplugins.PHP from my server
Rickie3
01-24-2006, 03:35 AM
do i uninstall "Plugin System Adjustments" and "Remove Manage Products from Nav"
then remove advplugins.PHP from my server
gothicuser
01-24-2006, 04:03 AM
anyone using this still? i know it's unsupported, just wondering how everybody likes it after living with it for a month or so?
Been using it since it came out, perfect, no problems at all m8
SmEdD
01-24-2006, 01:25 PM
Saveing plugin active status direct from the list dosn't seem to work. I will see if I can fix it but so far I have failed.
akanevsky
04-12-2006, 02:24 PM
There are two small problems:
1. If you click "save & reload", it does reload, but does not save.
2. If a product does not have plugins, it is not shown in the list.
You can do it too, Vision. You have the same power as Andreas! :)
No. Andreas is an official vBulletin Developer, and I am not, unfortunately.
akanevsky
04-12-2006, 04:33 PM
But yes, you are right, I do have the power to fix this modification.
Which I did: https://vborg.vbsupport.ru/showthread.php?t=112833
Andreas, if you mind, I'll take it off - but I see no reason why you should, as I've given you all the credits :)
utw-Mephisto
05-27-2006, 03:44 PM
I installed it, now the import button for products is gone, using the advanced plugin manager does not let me import new products and THIS plugin does not even show up so I can uninstall it again ..
Really borked :(
peterska2
05-27-2006, 10:15 PM
Import Product should be at the bottom of the plugins screen, if I remember correctly from when I used this.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.