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)
-   -   Restrict search when the server load is high (https://vborg.vbsupport.ru/showthread.php?t=102882)

dbembibre 12-12-2005 10:00 PM

Restrict search when the server load is high
 
This is a 3.5 port of the OK JIMBO Version of this hack
https://vborg.vbsupport.ru/showthread.php?t=76456

This plugin allow to you disable searches when the load average reaches a defined level.
Only administrators are excempt from this.

I tested this plugin during one mounth in my forums that have 400 constants users online and work well.

Simply install as product and go to ACP->Restrict Search Config and put a load value.

The plugin work with linux, freeBSD and unix servers not in WINDOWS

Be sure that you allow access to /proc/loadavg in open_basedir in php.ini


For the next version
*Exclude Groups of the Restrictions
*Enabled Google search when the Restriction is in Effect

Mastar 12-13-2005 06:40 PM

Installed!

dieselpowered 12-13-2005 06:41 PM

How does this work different from what is built within vBulletin? I know you can disable searches within the admincp :) Maybe the ability to enter your own value for the load?

dbembibre 12-13-2005 06:44 PM

Quote:

Originally Posted by Mastar
Installed! Where are the options?

Admin CP->vBulletin Options ->Restrict Search Config

dbembibre 12-13-2005 06:50 PM

Quote:

Originally Posted by xtremeoff-road
How does this work different from what is built within vBulletin? I know you can disable searches within the admincp :) Maybe the ability to enter your own value for the load?

The unix load limit of vBulletin block the forums to new users if rich the predefined value, this is for servers with high traffic, searches on large forums can slow the server down a lot.

dieselpowered 12-13-2005 08:58 PM

Ahhh it is for registrations...not for search. Roger that :)

redtailboa 12-14-2005 02:28 PM

Suggestion:
Give the ability to turn this on per group basis. For me this would work great. Supporters , Premium, moderators and the admin groups are exempt from this. Registered users and other groups are not

Gryphon 12-14-2005 04:49 PM

Nice, maybe add the ability to search via Google (or other engine if there is such a thing) when the vb search is unavailable.

dbembibre 12-15-2005 08:52 AM

Quote:

Originally Posted by redtailboa
Suggestion:
Give the ability to turn this on per group basis. For me this would work great. Supporters , Premium, moderators and the admin groups are exempt from this. Registered users and other groups are not

Good sugestion, i take in consideration

UK Jimbo 12-18-2005 10:55 PM

Quote:

Originally Posted by xtremeoff-road
Ahhh it is for registrations...not for search. Roger that :)

No. It's for search not registrations!


All times are GMT. The time now is 03:35 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
  • Page Generation 0.01168 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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