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=95738)

Andreas 09-05-2005 10:00 PM

Advanced Plugin Manager
 
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.

TTG 09-06-2005 10:14 AM

Great addition .. I can now find all the plugins :) thanks KirbyDE
Clicked install

mtha 09-06-2005 10:30 AM

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

Quote:

Originally Posted by mtha
Save Active Status function on the main list doesnt work. The status doesnt change when Plugin list refreshed.

Does work for me ...


Quote:

Originally Posted by stinger2
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
Quote:

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:


Code:

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

Quote:

Originally Posted by KirbyDE
@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

Quote:

Originally Posted by KirbyDE
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? 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

[high]* peterska2 clicks install.
[/high]

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
Code:

$moderator['email'] = null;
quote post in PM
Code:

// 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

Quote:

Originally Posted by Revan
Can you please try to make it look like Live Wire's sugg in this post? 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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by KirbyDE
@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

mtha 09-11-2005 06:01 AM

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.

TTG 09-11-2005 09:41 PM

Quote:

Originally Posted by Kurisu

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

Quote:

Originally Posted by TTG
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.


All times are GMT. The time now is 04:52 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.02641 seconds
  • Memory Usage 1,799KB
  • 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
  • (3)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