vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - Deny Unregistered Users When Load Is High - Load Deny (*Nix) (https://vborg.vbsupport.ru/showthread.php?t=162666)

Jafo232 11-27-2007 10:48 PM

Probably due to this part in the thread starter:

Quote:

I did use an extra attempt that the "*NIX Server Load Limit" option does not use (exec('uptime')) for those with basedir issues. However, just like with the built in option in VB, if your not running a Unix/Linux variant, or cannot get the server load due to safe mode or other restrictions, then this may not work for you.

corman420 11-30-2007 05:31 PM

The code included in the zip for the "toobusy" phrase has the tab indexes messed up. This is the code I use:

Code:

<font size="4" face=Arial>You <u>must</u> login to view the forum.<br /></font>
<font size="2" face=Arial>The server is too busy at the moment and is only open to registered users. To avoid seeing this message, please <a href="register.php">register</a> or simply login below:<br /><br /></font>

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=368"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">User Name</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="201" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="203" id="cb_cookieuser_navbar" accesskey="c" />Remember Me?</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">Password</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="202" /></td>
<td><input type="submit" class="button" value="Log in" tabindex="204" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->


Xeonspider 11-30-2007 07:02 PM

This mod is very useful for high load sites. I need that a specified usergroups can acces whithout see server load warning.

Can I do it?

Many thanks!!!

Jafo232 12-03-2007 06:14 PM

You can't do it with this mod, unless you tweak it by hand. Will consider it for the future though.

tanyeri24 12-21-2007 09:21 PM

hey could you please fix it for 3.7.x
It's doesn't work:
If the value reached it gives the normal warning message to logged users too.

Jafo232 12-23-2007 01:47 AM

When 3.7 has a stable release, then I will work on it. I am not even touching 3.7 until it is an official release..

Jafo232 01-07-2008 10:17 AM

And you shouldn't be running 3.7 in production yet anyway..

civil78 01-15-2008 01:29 PM

This is a very weird problem.

I have install the load deny but some users said that after log in the message appears again.

I think that is a problem of this hack, so I have uninstalled it.

But the error message appears again.

I say ok, something going wrong, so I have install it again and set the load to high more than 50.

The message appears again.

I disable the module but again the same think.

After that I notice something, the message appears when the server load the 1st value of max load that I set before uninstall it.

Any idea how to complete uninstall it manually, or there is another reason for that problem.

I use vbulletin 3.6.4, thanks.

Jafo232 01-15-2008 02:05 PM

I think you may be having a caching issue somewhere.. Are you using any caching software?

civil78 01-15-2008 02:18 PM

No i don't use. Is there an other setting in vbulletin that can appear this message?


All times are GMT. The time now is 10:53 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.01007 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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