PDA

View Full Version : Exempt all administrators, supermoderators, and moderators from server load messages


Gary King
08-30-2003, 10:00 PM
What does this hack do?

It exempts all administrators, supermoderators, and moderators from the server load messages. Usually, ALL users except for administrators get the "server is too busy at the moment" message when the server load is higher than the *NIX Load Limit specified in vBulletin Options.

With this hack, all staff (admin, supermod, mod) will be able to browse the board without seeing the message, even if the server load is higher than the amount specified.

I hope this helps you out in some way! :)

Dodger
09-04-2003, 01:10 PM
nice hack
may be smb need that, but not me

tnguy3n
09-05-2003, 03:27 AM
sounds cool!!!
how come there're very few hacks for vb 2.3.2??

Gary King
09-05-2003, 06:48 PM
Today at 12:27 AM tnguy3n said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=431464#post431464)
sounds cool!!!
how come there're very few hacks for vb 2.3.2??

Because not many code changes between version, say, 2.2.1, and 2.3.2 (that don't affect too many hacks anyways.)

Mb81
09-09-2003, 05:12 PM
Does this Hack work under VB 2.3.2 ?
I get still the Error Message.

Gary King
09-09-2003, 06:52 PM
It was made for 2.3.2

X-Fan
09-13-2003, 05:30 AM
Does it work on 2.3.0?

Gary King
09-13-2003, 01:21 PM
Does it work on 2.3.0?

It should, it doesn't require too many code changes.

X-Fan
09-13-2003, 01:26 PM
It should, it doesn't require too many code changes.

It's not. Myself and my fellow admins still get the "server busy" message.

Gary King
09-13-2003, 01:39 PM
It's not. Myself and my fellow admins still get the "server busy" message.
Then you did something wrong, because by default, vBulletin still allows all administrators to view the forum regularly even if the server load is too high ;)

X-Fan
09-17-2003, 08:54 AM
Well the install instructions were pretty simple. I doubt anyone could follow them incorrectly, so I really don't know what it could be.

JonP
09-17-2003, 08:32 PM
Doesn't work for me either. Installed correctly.

Gary King
09-17-2003, 08:35 PM
Doesn't work for me either. Installed correctly.
What problem do you have after installation?

JonP
09-18-2003, 04:49 PM
The server load message appears for everybody, including administrators, which is of course supposed to be off by default.

Perhaps there is a setting which overrides this? Or maybe there is an inconsistency with grabbing the user levels from the style?

Any help to resolve this is greatly appreciated. Thanks.

Gary King
09-18-2003, 07:15 PM
The server load message appears for everybody, including administrators, which is of course supposed to be off by default.

Perhaps there is a setting which overrides this? Or maybe there is an inconsistency with grabbing the user levels from the style?

Any help to resolve this is greatly appreciated. Thanks.
That's pretty strange, the modification works fine for me (just re-tested it now.)

rikku3978
03-09-2004, 01:37 AM
Is there a way to get it to work with regular users also?

Gary King
03-09-2004, 11:16 AM
Is there a way to get it to work with regular users also?
Replace if ($servertoobusy AND $bbuserinfo['usergroupid'] != 6 AND $bbuserinfo['usergroupid'] != 5 AND $bbuserinfo['usergroupid'] != 7) { with if ($servertoobusy AND $bbuserinfo['usergroupid'] != 6 AND $bbuserinfo['usergroupid'] != 5 AND $bbuserinfo['usergroupid'] != 7 and $bbuserinfo[usergroupid] != 2) {

huss
03-10-2004, 09:34 PM
its not working for me either.
sould there be parens around the user groups and the ands in those parens become ors?

huss
03-10-2004, 10:13 PM
this is my code

if ($servertoobusy and $bbuserinfo['usergroupid'] != 6 and $bbuserinfo['usergroupid'] != 5 and $bbuserinfo['usergroupid'] != 132 and $bbuserinfo['usergroupid'] != 137) {

where the usergroups you don't recognize are my subscribers who pay for this priveldge. it used to work and today stopped when i upgraded to 2.34

Gary King
03-10-2004, 10:57 PM
this is my code

if ($servertoobusy and $bbuserinfo['usergroupid'] != 6 and $bbuserinfo['usergroupid'] != 5 and $bbuserinfo['usergroupid'] != 132 and $bbuserinfo['usergroupid'] != 137) {

where the usergroups you don't recognize are my subscribers who pay for this priveldge. it used to work and today stopped when i upgraded to 2.34
Wow you sure have a lot of usergroups if you reached 137 :) Anyways, that sounds strange, maybe you replaced the code completely when upgrading and didn't upgrade correctly?

parajsa
03-11-2004, 10:07 AM
I am using the vbulletin 2.3.4 and it does not work for me either. I placed the code correctly and it does not allow even the administrators there are allowed by default!

Any help?

Bulent Tekcan
11-23-2005, 06:13 PM
Is it available for 3.5.1 ?

zagman76
05-16-2007, 12:15 AM
i hate to bump such an old thread, but is there any way this can be ported to 3.5.4 or 3.6.x?

Hornstar
07-23-2007, 04:53 AM
I am requesting the same, would be a great feature for 3.6.x :)