Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Deny Unregistered Users When Load Is High - Load Deny (*Nix) Details »»
Deny Unregistered Users When Load Is High - Load Deny (*Nix)
Version: 1.1, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.8 Rating:
Released: 11-13-2007 Last Update: 11-19-2007 Installs: 108
Uses Plugins
 
No support by the author.

Remember, if you use this hack:


This hack works very similar to the "*NIX Server Load Limit" setting in your Vbulletin options except it only applies to unregistered/not logged in users.

You set the load, and if the server is over that load, all guests will be prompted to log in or register.

I did use an extra attempt that the "*NIX Server Load Limit" option does not use (exec('uptime')) for those with basedir issues. However, just like with the built in option in VB, if your not running a Unix/Linux variant, or cannot get the server load due to safe mode or other restrictions, then this may not work for you.

Not mandatory, but you should edit your phrase "toobusy" when using this. See Readme for more details.

Changelog:

Version 1.1 - 11.20.07 - Changed hook location from global_start to global_setup_complete so styling still displays when user is denied.

If you use this, please:


Nominate for Mod Of The Month!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-15-2008, 04:01 PM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!
*nominated*
Reply With Quote
  #33  
Old 01-31-2008, 11:34 AM
Bozza Bozza is offline
 
Join Date: Jul 2003
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I'm pretty new to modifications and this looks like it will be very, very handy for my board!

When it says 'import' in the instructions - does this mean via:

Admin > Plugins & Products > Download / Upload Plugins ?
Reply With Quote
  #34  
Old 01-31-2008, 11:36 AM
franzjuve franzjuve is offline
 
Join Date: May 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Jafo232 nice hack
installed and work well :up:
Reply With Quote
  #35  
Old 01-31-2008, 11:56 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome.
Reply With Quote
  #36  
Old 01-31-2008, 12:06 PM
Bozza Bozza is offline
 
Join Date: Jul 2003
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bozza View Post
Hi,

I'm pretty new to modifications and this looks like it will be very, very handy for my board!

When it says 'import' in the instructions - does this mean via:

Admin > Plugins & Products > Download / Upload Plugins ?
Figured it out now.

Installed with thanks (my server is manic at the moment!)
Reply With Quote
  #37  
Old 02-09-2008, 06:03 PM
j-n's Avatar
j-n j-n is offline
 
Join Date: Feb 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gbu thank you
Reply With Quote
  #38  
Old 02-13-2008, 03:32 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome..
Reply With Quote
  #39  
Old 05-06-2008, 02:08 AM
hilfe-forum hilfe-forum is offline
 
Join Date: Sep 2005
Location: http://www.alpha-board.eu
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
When 3.7 has a stable release, then I will work on it. I am not even touching 3.7 until it is an official release..
now?
Reply With Quote
  #40  
Old 05-27-2008, 07:07 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tanyeri24 View Post
hey could you please fix it for 3.7.x
It's doesn't work:
If the value reached it gives the normal warning message to logged users too.
I just tested this on 3.7 and I do not get that error message. Are you sure you did not set the regular load threshold the same or lower than this one?
Reply With Quote
  #41  
Old 07-18-2008, 08:27 PM
RobParker RobParker is offline
 
Join Date: Nov 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working ok?

There's this thread here suggesting not: https://vborg.vbsupport.ru/showthrea...ight=load+deny

And I posted this here asking a few questions that didn't get a reply:

https://vborg.vbsupport.ru/showthrea...ight=load+deny

Anyone able to help?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04555 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete