vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Load Limit Bypass for Admins, Super Moderators, and Mods (https://vborg.vbsupport.ru/showthread.php?t=44491)

Pezman 10-10-2002 10:00 PM

Load Limit Bypass for Admins, Super Moderators, and Mods
 
I run a very large board and we use the "SERVER LOAD LIMIT" and the "MAX USER CONNECTIONS" but when we are at Max we always want our mods, admins, and super mods to be able to get into the forums. This hack allows for that to happen.

Only one file edit, takes less then 30 seconds to do.

You can customize it to allow other usergroups in as well.

Someone could also alter this to allow the boards to be open all the time to certain usergroups even if the board is turned off.

This hack should work on all 2.X.X

Link14716 10-10-2002 11:04 PM

Actually, if it didn't qualify as a hack, then the Beta forum would be no place for it.

A hack is a file edit, nothing more, nothing less.

Is this a file edit? yes. Does it make it a hack? Yes. Personally, I don't need this, but someone else might :)

ManagerJosh 10-11-2002 01:12 AM

This is a hack, yes. What probably wouldn't be a hack is a template modification.

Erwin 10-11-2002 04:45 AM

You get 2000 online at the same time? That would make your forums one of the busiest vB forums around. :) Are you the guy with 4 servers running your site from vB.com?

dynamite 10-12-2002 01:42 AM

Wow!!! 90,000+ registered users!!! I guess 2000 at one time would be pretty easy! Heck... I just hope to get 2000 people to sign up at my site! :rolleyes:

Pezman 11-10-2002 03:09 AM

90,000 ? Heh since your post we have grown to over 120,000 registered members :)

Chris M 11-10-2002 09:00 AM

You have had "121,283" users at your board!

You have deleted over 1000 users!!:eek:

What I wouldnt give for 1000 users;):D

Satan

Smoothie 11-10-2002 04:54 PM

Huge! :)

Snapperhaed 05-07-2003 01:05 AM

Tried this on 2.3.0 and cant get it to work, still wont let me in, even as admin ... Get the dreaded server busy message.

I have load limits set, but not simul. options.

Any ideas?

Pezman 05-19-2003 11:32 PM

I believe you are not adding it correctly...
Open global.php (not the one in the mod or admin folder)

Find this:
PHP Code:

// check to see if server is too busy. this is checked at the end of session.php
if ($servertoobusy AND $bbuserinfo['usergroupid'] != 6) {
  
$useforumjump 0// If load limiting options stop us, we aren't including sessions.php which breakes permissions
  
eval("standarderror(\"".gettemplate('error_toobusy')."\");");
  exit;


Replace it with this:
PHP Code:

// check to see if server is too busy. this is checked at the end of session.php
if ($servertoobusy AND $bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != 7) {
  
$useforumjump 0// If load limiting options stop us, we aren't including sessions.php which breakes permissions
  
eval("standarderror(\"".gettemplate('error_toobusy')."\");");
  exit;


I did notice they added that // check that board is active bit.

Perhaps that is preventing you, someone else can crack that bad boy open for you.


All times are GMT. The time now is 09:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02863 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete