Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow some usergroups to bypass "server too busy" error Details »»
Allow some usergroups to bypass "server too busy" error
Version: 1.00, by tamarian tamarian is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 06-21-2005 Last Update: 08-29-2006 Installs: 34
Uses Plugins
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-09-2006, 02:47 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 02-10-2006, 05:40 PM
BigSoccer Tech. BigSoccer Tech. is offline
 
Join Date: Feb 2005
Location: Manhattan
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
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?
Reply With Quote
  #14  
Old 02-16-2006, 09:27 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

husshuss,

Are those the primary usergroup ids you tested with? Give me more details on how you tested it.
Reply With Quote
  #15  
Old 02-17-2006, 02:02 AM
BigSoccer Tech. BigSoccer Tech. is offline
 
Join Date: Feb 2005
Location: Manhattan
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tamarian
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?
Reply With Quote
  #16  
Old 02-17-2006, 12:39 PM
BigSoccer Tech. BigSoccer Tech. is offline
 
Join Date: Feb 2005
Location: Manhattan
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by husshuss
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?
Reply With Quote
  #17  
Old 02-20-2006, 03:20 AM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 02-21-2006, 12:26 AM
JonnyQuest JonnyQuest is offline
 
Join Date: Nov 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yayvb
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.
Reply With Quote
  #19  
Old 03-21-2006, 06:17 PM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I use this plugin for additional usergroups ?

Thanks
Reply With Quote
  #20  
Old 03-30-2006, 09:44 AM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump***
Reply With Quote
  #21  
Old 07-18-2006, 08:32 PM
kinkdink kinkdink is offline
 
Join Date: Mar 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bulent Tekcan
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06791 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete