View Full Version : Allow some usergroups to bypass "server too busy" error
tamarian
22 Jun 2005, 04:40
This plugin works on vB 3.5 and 3.6
This is a simple plugin. It allows you to select a primary or secondary usergroup (or groups) to bypass the "server too busy" error message.
Just install the plugin, and edit the plugin from the plugin manager to enter the usergroup id's you would like to let in.
Marco van Herwaarden
22 Jun 2005, 05:38
Could you please upload as a zip-file.
Psionic Vision
26 Jul 2005, 01:46
This is certainly a nice hack, however the allowed list it through the XML file is not too convenient. Why don't you put that variable as a vBulletin option? Even better, make it a usergroup setting :)
csidlernet
05 Oct 2005, 04:09
/me installs
Diana Notacat
14 Dec 2005, 00:30
Many kudos, this is exactly what I've needed this week! XD
BigSoccer Tech.
06 Feb 2006, 19:53
Many kudos, this is exactly what I've needed this week! XD
i installed it and the refernced usergroups are still seeing a server busy. please help!
i think this will only bypass the server-busy sent out by the forum, when the load gets to the count, set in the ACP.
I the server is that busy, that your browser thinks it is busy ... your bowser still will hsow it ... just my opinion. you could try to lower the max load in acp
BigSoccer Tech.
06 Feb 2006, 19:58
i think this will only bypass the server-busy sent out by the forum, when the load gets to the count, set in the ACP.
I the server is that busy, that your browser thinks it is busy ... your bowser still will hsow it ... just my opinion. you could try to lower the max load in acp
totti that makes no sense.
BigSoccer Tech.
06 Feb 2006, 19:59
i installed it and the refernced usergroups are still seeing a server busy. please help!
And in case you want to see my code in global_start:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BigSoccer Tech.
08 Feb 2006, 21:06
And in case you want to see my code in global_start:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
hello?
bada_bing
09 Feb 2006, 03:47
Couple questions about this nice hack.
Is this going to be ported as a plugin for 3.5.3 ?
Also can you make this to give a server too busy search is disabled when using the search feature and suggest that if they upgrade there membership they wont get this messages.You can then control which groups are excluded from the server laod message and have the search feature disabled.
For example if you are a registered memeber and the server load is high ONLY when in trying to do a search they will get the above message. And when a registered members upgrades there membership to lets just say Premium Member they now longer will get the server load message and will be able to search at any time.
BigSoccer Tech.
10 Feb 2006, 18:40
Couple questions about this nice hack.
Is this going to be ported as a plugin for 3.5.3 ?
Also can you make this to give a server too busy search is disabled when using the search feature and suggest that if they upgrade there membership they wont get this messages.You can then control which groups are excluded from the server laod message and have the search feature disabled.
For example if you are a registered memeber and the server load is high ONLY when in trying to do a search they will get the above message. And when a registered members upgrades there membership to lets just say Premium Member they now longer will get the server load message and will be able to search at any time.
please who wrote this, any support?
tamarian
16 Feb 2006, 22:27
husshuss,
Are those the primary usergroup ids you tested with? Give me more details on how you tested it.
BigSoccer Tech.
17 Feb 2006, 03:02
husshuss,
Are those the primary usergroup ids you tested with? Give me more details on how you tested it.
those are secondary 'subscription usergroups, not primary. is that th eproblem?
BigSoccer Tech.
17 Feb 2006, 13:39
those are secondary 'subscription usergroups, not primary. is that th eproblem?
PRIMARY
<if condition="!in_array($bbuserinfo[usergroupid], array(x,y,z))">
SECONDARY AND PRIMARY
<if condition="!is_member_of($bbuserinfo, array(3,5,7))">
<if condition="is_member_of($bbuserinfo, UsergroupID)"> code here </if>
ORGINAL CODE
// Configure some usergroups to bypass "server too busy" message
// Enter the usergroup id's here, seperated by comma
// Example: $BypassGroup = '5,6';
$BypassGroup = '138,140';
// End configuration
if (in_array($vbulletin->userinfo['usergroupid'], explode(',', $BypassGroup))) {
$servertoobusy = FALSE;
}
PROPOSED MODIFIED CODE
// Configure some usergroups to bypass "server too busy" message
// Enter the usergroup id's here, seperated by comma
// Example: $BypassGroup = '5,6';
$BypassGroup = '138,140';
// End configuration
if (is_member_of($vbulletin->userinfo['usergroupid'], explode(',', $BypassGroup))) {
$servertoobusy = FALSE;
}
thoughts?
I think the concept is awesome, but I'm just wondering, isn't that a message that is somehow generated by your server if you've exceeded the number of max visitors at once for your account or something? I was just wondering where the message comes from so I can understand better.
JonnyQuest
21 Feb 2006, 01:26
I think the concept is awesome, but I'm just wondering, isn't that a message that is somehow generated by your server if you've exceeded the number of max visitors at once for your account or something? I was just wondering where the message comes from so I can understand better.
The message comes from vB. There is a setting in vB for at what level of server load you want to stop more folks from getting into the site. If the server load passes it, you get this message.
Bulent Tekcan
21 Mar 2006, 19:17
Can I use this plugin for additional usergroups ?
Thanks
Bulent Tekcan
30 Mar 2006, 10:44
Bump***
kinkdink
18 Jul 2006, 21:32
Can I use this plugin for additional usergroups ?
Thanks
@bulent tekcan
It appears this only works with a primary usergroup or primary usergroups as stated by tamarian in his orginal post.
I would love to be able to use this with secondry (custom) usergroups too.
@ tamarian, Is there going to be an update for this?
humanbeatbox
17 Aug 2006, 12:42
Will this work with vBulletin 3.6.x?
tamarian
17 Aug 2006, 22:06
Will this work with vBulletin 3.6.x?
Yes.
kinkdink
29 Aug 2006, 19:16
tamarian is it possible to exclude certain secondary usergroups from the server busy message?
This would be a welcomed addition for a lot of people.
tamarian
29 Aug 2006, 22:52
tamarian is it possible to exclude certain secondary usergroups from the server busy message?
This would be a welcomed addition for a lot of people.
Try this one out
kinkdink
30 Aug 2006, 17:42
tamarian you are a star :)
That works fantasic, thank you very much.
i installed it on a 3.6 board... getting no errors but aslo getting no server busy message?
i turned my load right down and still it doesnt show.. any ideas?
mickeymouse690
17 Oct 2006, 17:03
Invalid SQL:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `product`, `title`, `hookname`, `phpcode`)
VALUES
('1', '5', 'vbulletin', 'Bypass forum too busy error for selected usergroups', 'global_start', '// Configure some usergroups to bypass \"server too busy\" message\r\n// Enter the usergroup id\'s here, seperated by comma\r\n// Example: $BypassGroup = \'5,2\';\r\n$BypassGroup = \'2,5\';\r\n// End configuration\r\n\r\nif (is_member_of($vbulletin->userinfo, explode(\',\', $BypassGroup))) {\r\n $servertoobusy = FALSE;\r\n}\r\nvar_dump($vbulletin->userinfo);');
MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Could this be configured to allow all usergroups access when load is high, and just deny guests, without having to specify all the groups to allow.
hornstar1337
30 Jul 2007, 09:02
Question: I want to allow certain usergroups access all the time, but I also want to allow access to one page on the site to all usergroups. How would I give access to all members to the payments page on the site?
hornstar1337
07 Nov 2008, 21:33
bump? anyone?
rinkrat
01 Jul 2009, 19:57
No worky
derrene
06 Oct 2009, 19:44
sry this does not work on 3.8x
vBulletin® v3.6.12, Copyright ©2000-2010, Jelsoft Enterprises Ltd.