View Full Version : Administrative and Maintenance Tools - (vB4) What's Slowing Down My Forum? (Slow Plugins Finder)
vBNinja
04-13-2017, 09:00 PM
One of the major causes of unhappy members/visitors is a slow forum!
Click here (https://vborg.vbsupport.ru/showthread.php?t=324920) for the vB3 version
Since vB doesn't have all the necessary features out of the box, every forum has dozens of plugins installed. However, some of those plugins can cause more bad than good by significantly increasing load time due lack of optimization / poor code.
I developed this AdminCP tool to help find those plugins and speed up your forums.
It works by analyzing page load time in the most popular pages (activity.php, blog.php, content.php, forum.php, forumdisplay.php, member.php, profile.php, showthread.php, usercp.php), enabling 1 product at a time and comparing it to load times with all plugins disabled.
All of this happens without actually disabling any products/plugins, so no need to worry about your forum breaking while the test is running.
Installation is simple, upload the contents in the "UPLOAD" folder to the forum root and import the XML file in the "XML" folder.
You will see a new tab in the AdminCP called "Slow Plugins". From there you can view previous test results and run new tests.
Let me know if you have questions/comments/suggestions/feedback
Also, please remember to "Mark As Installed" and rate for support & future updates.
Enjoy :)
vBNinja
04-14-2017, 11:06 AM
Reserved
Alan_SP
04-14-2017, 01:01 PM
Thanks, great idea. :up:
djbaxter
04-14-2017, 01:22 PM
Just installed. Got this
ERROR:
Database error in vBulletin 4.2.4:
Invalid SQL:
SELECT plugin.*
FROM {PREFIX}plugin
WHERE
active = 1
AND phpcode <> ''
AND product IN {DELETED})
ORDER BY hookname ASC, executionorder ASC;
MySQL Error : Unknown table '{ACCOUNT}_forum.plugin'
Error Number : 1051
Request Date : Friday, April 14th 2017 @ 03:18:07 PM
Error Date : Friday, April 14th 2017 @ 03:18:08 PM
Script : {MY FORUM url}/admincp/slowplugins.php?do=runtest_2
Referrer : {MY FORUM url}/admincp/slowplugins.php?do=run
IP Address : {myip}
Username : {MY USERNAME}
Classname : vB_Database_MySQLi
MySQL Version : 10.0.30-MariaDB
vBNinja
04-14-2017, 05:23 PM
Just installed. Got this ERROR:
I just made a change, please download it again and re-upload the files
Let me know how it goes :)
Stratis
04-14-2017, 07:02 PM
Very nice, clever and useful mod.
Works well in vb 4.2.0 pl4
Thanks for sharing.
Interesting plugin, definitely useful for debugging purposes and finding out which plugins are causing the forum to slow down.
djbaxter
04-14-2017, 10:45 PM
Yes the new version works.
Great add-on. It allowed me to find 10 add-ons that were each adding more than 10% to page loads and that I didn't need - a couple that were only for older versions of vBulletin and a couple I didn't realize were still installed. :)
If they still had mod of the month, this would have been worthy of a nomination and vote.
Thank you.
Cem01
04-15-2017, 08:39 AM
Great plugin. I got it run.
The results are surprising. A plugin about subforum columns cause the forum slow. I deactivated it. :)
Thank you so much ;)
chloe101
04-29-2017, 01:32 AM
Installed and loving it. It allowed me to make intelligent decisions about a few plugins. Thank you!
djbaxter
05-13-2017, 05:58 PM
Yes. You just run it from the ACP.
vBNinja
05-14-2017, 05:04 PM
@vBNinja Can we safely run the test without closing the forum first?
This product gives a lot of strange results with plugins having significant impact on scripts where they aren't supposed to be used at all.
Yes
BadgerDog
05-15-2017, 10:51 AM
Downloaded an installed for testing....
When running test, constantly freezes at 1% done and sits there forever...
Un-installed with thanks effort to developer...
Regards,
Doug
BadgerDog
05-15-2017, 11:13 AM
Never mind... found the un-install of the XML right at the botton of plug-ins starting with a "W" ... ;)
Thanks.. :)
Regards,
Doug
ikymbo
05-25-2017, 06:37 PM
Thanks i like this mod (y)
bridge2heyday
05-25-2017, 07:08 PM
Very Nice Idea
Max Taxable
05-27-2017, 03:56 AM
Anyone who's renamed admincp is going to have lots of issues with this, as far as errors. This after putting the correct "showplugins.php" script into the renamed file.
Example:
Fatal error: Call to undefined function array_replace() in /home/content/22/5444333/html/(newacpname)/slowplugins.php on line 425
CAG CheechDogg
05-27-2017, 08:03 AM
Anyone who's renamed admincp is going to have lots of issues with this, as far as errors. This after putting the correct "showplugins.php" script into the renamed file.
Example:
Fatal error: Call to undefined function array_replace() in /home/content/22/5444333/html/(newacpname)/slowplugins.php on line 425
I have renamed mine and I have no error .... how do you duplicate it? Does it just pop up in the backend?
Max Taxable
05-27-2017, 02:26 PM
I have renamed mine and I have no error .... how do you duplicate it? Does it just pop up in the backend?Yes, that one and another, while the scan is being run.
"Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in [path]/(newacpname)/slowplugins.php on line 134"
These look like just, php version issue warnings. But, I don't get any results listed, from the testing when it is finished. Just the warning I first posted.
CAG CheechDogg
05-27-2017, 06:24 PM
Hmmm ... I am going to have to run the test again and pay close attention lol ... it's a very long test lol ..
SilverBoy
07-30-2017, 03:49 PM
Is this product tests CMS and Blog too? or just forum?
djbaxter
07-30-2017, 08:33 PM
Is this product tests CMS and Blog too? or just forum?
It tests plugins. Doesn't matter where they are used.
SilverBoy
07-31-2017, 03:16 PM
Thank you djbaxter, I didn't note content.php in the pages list which vBNinja wrote in his post, that is why I asked.
wolfe
08-01-2017, 09:23 AM
It seems to give added time for addons that are not even called on the php file tested ?
It seems to give added time for addons that are not even called on the php file tested ?
Yes the results make no sense at all.
I have decided to test the product further on my htaccess protected test site, to avoid any potential disturbance due to users activity, and I did increase the number of tests to 100 to improve accuracy (according to the plugin instruction).
I did two series of tests, each took over an hour. And the variations of the results between the two series of tests were so large that it is not possible to consider this product accurate.
Don't use this product, it is not reliable.
Brandon Sheley
08-10-2017, 12:13 PM
Nice addon, thanks for sharing :)
Can someone audit this plugin for potential malicious code?
The nonsensical results of this plugin and the apathy of the author are worrying me a lot.
Here's a mirror : https://www.sendspace.com/file/05icvb
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.