![]() |
Close Search during high server load
With this plug-in installed you can disable your search engine when the server load gets to high. This plug-in add's a new vBoption in the Sever Settings page where you can define your server load.
This plug-in acts exactly like the regular server load limiter but only works on search.php. Version History Current Version: 1.0.1 Added installer, no other changes between this and 1.0.0. If you already have 1.0.0 installed there is no reason to upgrade! Past Versions: 1.0.0: Released Code to public |
Do I see this right that this plugin itself uses 3 SQL queries? If so, only when the search.php is loaded or with every PI?
|
The Plugin does not use any Queries at all.
The queries are only necessary once to create the new Setting and the Phrases for this setting. |
Quote:
Quote:
Thanks. |
Those 3 Queries from the Readme create a new Setting (in ACP / vBulletin Options / vBulletin Options / Server Settings & Optimization Options) and insert the Text that should be displayed for this setting.
|
Ah, ok, thanks a lot.
|
Thanks for porting this!
|
I've added a installer script and dubbed the new version 1.0.1. There are no code changes so if you already installed this hack you are already running 1.0.1.
|
Quote:
|
Fixed the type in your thread title Brad ;)
|
Nice, I did this for 3.0 here.
|
Hey Brad :)
You have a typo in line 16 of your installer. You have PREIX instead of PREFIX. Other than that, installs like a dream :) Good Work :) |
Quote:
I updated it with my mom's pos dell so let me know if it is still wrong or has any other errors. :) |
Apart from that one little thing it ran smoothly. Nothing to worry about for you there.
|
installed!
|
Very useful and goes along nicely with some other plugins/mods that use the search feature a lot. It could be a little easier to install with a description of where the options are, what exactly to do, etc.
|
powerful hack
installed |
Installed this, where exactly do I go to set the load limit? Thanks
|
Quote:
|
sorry, is this hack working with windows 2003? It seems for lunix server. doesnt it?
|
What's the difference between this mod and the other one here
https://vborg.vbsupport.ru/showthrea...ht=search+load -vissa |
Two questions before I download.
Will this hack work on a Windows Server? Also is there a way to code this so that the search feature is only available for certain usergroups at HIGH Server load? For example if the threshhold is high on the server instead of denying everyone access to search to only deny certain usergroups. so that if the server is at a high rate then the admins, mods & Premium Members can still search but everyone else get a server load high message or chaeck back whatever you want to display as a message? |
Can someone answer my questions please
|
Nice hack to bad there is no support..
|
installed will be testing soon
|
what do i input in : Search Server Load Limit
Just like the *NIX load limit setting, but only prevents access to searching when the server load is to high |
This looks like a very useful plugin thanks. :D
What do you suggest to set the server load limit for search? 5? 10? |
Quote:
|
I would like not to disable search forums in busy times, but increase the time between search queries.
|
Awesome, I find this very useful!
|
question is how do we remove it? if we no longer want it?
|
Is it only active with Linux Server ?
|
sorry but... where i can set the limit for search nix load???
|
Quote:
|
ok brad ill ask again... how do we remove it? if we no longer want it?
|
anyone tested on 3.6
|
Quote:
|
Does it work with 3.6.4?
|
I just got it working in my test/dev 3.6.4. forum and will be installing in my live forums. Works like a champ too!
I had to make the following changes to the loo_sql_searchplug.php though. (Please note) I'm not the author so I hope it is OK to show how I got it to work, plus I can not support either. Sorry. Too bad this is not a standard "out-of-the-box" feature for vB. Original PHP Code:
PHP Code:
|
Since this will display the same busy message, I also changed my "toobusy" phrase to:
Quote:
|
All times are GMT. The time now is 06:40 AM. |
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:
|