View Full Version : High Server load Deny Guests
Is there a way to deny guests access to the site when the server load goes above a certain threshold. Would this be possible with a plugin?
SCRIPT3R
10-17-2006, 07:04 PM
i know you can adjust the *NIX Server Load Limit within vB, but to limit this to Guests would be a major plus.
I think I found how to do it, just not sure how to convert it to a plugin.
global.php
find:
if (trim($loadavg[0]) > $vbulletin->options['loadlimit'])
change to:
if (trim($loadavg[0]) > $vbulletin->options['loadlimit'] AND !$vbulletin->userinfo['userid'])
Jafo232
11-14-2007, 05:40 AM
Here is a mod that does it, and allows guests to login :)
https://vborg.vbsupport.ru/showthread.php?p=1382202
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.