![]() |
|
Mod Options |
![]() |
|||||||||||
Deny Unregistered Users When Load Is High - Load Deny (*Nix)
![]() Developer Last Online: Dec 2020 ![]() ![]() ![]() This modification is in the archives.
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! Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
[Release v2.0.3] High Server Load: Deny Guests, Allow Members | rylin | vBulletin 2.x Full Releases | 24 | 06 Nov 2002 16:00 |
Comments |
#2
|
|||
|
|||
Hi first of thanks for sharing this!
My question: I have a microstat that shows server load etc... is that the same as *nix value?
__________________
![]() No members have liked this post.
|
#3
|
||||
|
||||
Hmmmm interesting mod. Going to try it now.
No members have liked this post.
|
#4
|
|||
|
|||
I've been waiting for this mod for a LONG TIME! Thanks!
I installed this and tried it out. I logged out of my board in a different browser, and briefly changed the Load Deny settings to 1 so that it would trip it. It did, but for some reason it looks like my board styles are broken on the "too busy" page it loaded. Is that intentional with this mod? The "too busy" page looks fine using VB's built in "*NIX Server Load Limit" option. No members have liked this post.
|
#5
|
|||
|
|||
Yes, exactly the same as the first load report in the microstats plugin.
__________________
Become a Lampwright today at www.lampwrights.com!
No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by msu2k
Yeah, I am not exactly sure why it is doing this here. I may need to adjust the hook location to one further down in global.php. I did this plugin originally for a project where I am pruning out plugins because the board load is crazy and I could not get anything done. The goal was to stop people as soon as possible if they were not registered.![]()
You could test it yourself by going to the plugins page and finding the only plugin for the load deny product, click edit, and change the hook location in the drop down to: global_setup_complete.
__________________
Become a Lampwright today at www.lampwrights.com!
No members have liked this post.
|
#7
|
|||
|
|||
I don't quite understand what this does. Does it generate a vbulletin error message saying that the server load is currently too high and stop registration that way? Or does it also prevent all forum images from loading to guests as well? A couple of screenshots would always be a nice addition.
No members have liked this post.
|
#8
|
|||
|
|||
Houston I have the same styles problem but the addon technique is functionation, good job! maybe you can fix the styles problem?
__________________
![]() No members have liked this post.
|
#9
|
|||
|
|||
Originally Posted by Seiyaboy
Generates error message saying server load is too high, basically, come back later, or register/login to view the content.![]()
It is basically the same as the "NIX Server Load Limit" option in VB, except ONLY applies to guests.
__________________
Become a Lampwright today at www.lampwrights.com!
No members have liked this post.
|
#10
|
|||
|
|||
Thanks for answering so quickly. I'll be sure to try this out. Thanks a bunch.
No members have liked this post.
|
#11
|
|||
|
|||
Updated so styling will now show. You can either install as before (select overwrite), or just edit the plugin via the admincp and change the Hook Location to global_setup_complete.
__________________
Become a Lampwright today at www.lampwrights.com!
No members have liked this post.
|
#12
|
|||
|
|||
Great addon, thank you for making it, Installed!
![]() So I have this question for you, MySQL wont be called when the load reaches a certain limit, I set like 1.0, right? No members have liked this post.
|
#13
|
|||
|
|||
There will be some basic low level calls, just like the "*NIX Server Load Limit" does, but it is minimal. There will always be some level of SQL calls because the script needs to determine several things:
__________________
Become a Lampwright today at www.lampwrights.com!
No members have liked this post.
|
#14
|
|||
|
|||
after update: clicks MOTM
__________________
![]() No members have liked this post.
|
#15
|
|||
|
|||
__________________
Become a Lampwright today at www.lampwrights.com!
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:54.