![]() |
Allow some usergroups to bypass "server too busy" error
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. |
Could you please upload as a zip-file.
|
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 :)
|
/me installs
|
Many kudos, this is exactly what I've needed this week! XD
|
Quote:
|
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 |
Quote:
|
Quote:
Code:
// Configure some usergroups to bypass "server too busy" message |
Quote:
|
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. |
Quote:
|
husshuss,
Are those the primary usergroup ids you tested with? Give me more details on how you tested it. |
Quote:
|
Quote:
<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.
|
Quote:
|
Can I use this plugin for additional usergroups ?
Thanks |
Bump***
|
Quote:
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? |
Will this work with vBulletin 3.6.x?
|
Quote:
|
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. |
Quote:
|
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? |
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.
|
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?
|
bump? anyone?
|
No worky
|
sry this does not work on 3.8x
|
All times are GMT. The time now is 03:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|