![]() |
Disable threaded mode for large threads
This is ported from my 3.0.7 version, but converted to the new plugin system.
What this hack does: Large threads are resource intensive, and when the user is viewing them in threaded mode, they are even more resource intensive, and will actually crash the php process. This plugin will allow threaded mode as normal, unless the thread is large (1000+ posts), it will then force the display mode for that thread to linear mode. Installation: Download the plugin file attached, and install it through the admincp plugin system :) Side effect: After KirbyDE's suggestion below, problem solved, no need to wait for a new vB hook. :) Note: The php process crash is not a vB bug, it's simply the limit of available memory. You may increase the memory allowed for php in the php.ini file. But no matter how much memory you allow, some huge threads will excede it, and crash the php process. Please click Install if you have installed this mod. |
@tamarian
I think you can achieve the same effect without a file modification and fix the next newest/oldest/last post problem using existing hooks: Hook: fetch_threadinfo PHP Code:
|
Quote:
|
All times are GMT. The time now is 04:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|