vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - VSa - Server Overload Permissions (https://vborg.vbsupport.ru/showthread.php?t=239945)

autoescala 06-14-2012 01:04 PM

very nice mod, works on 4.2

cric2k 08-31-2012 01:15 PM

Quote:

Originally Posted by gnrx (Post 2221687)
Hi!
Its possible configure this mod for when forum is closed for server overload (configured for closed to unregistred visitants) appears a link for register?

Thanks and regards!

If you go into 'VSa - Server Overload Permissions' plugin and surround the PHP code with this if statement.

PHP Code:

if($_SERVER["SCRIPT_NAME"] != '/register.php')
{
//rest of the plug in code goes in here


Users will still be able to register while the forum is closed for guests :up:

ikorolis 09-02-2012 09:58 AM

i have VB 4.2.0 PL2 installed and give me error

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/xxxx:/usr/lib/php:/usr/local/lib/php:/tmp) in [path]/includes/class_bootstrap.php(xxx) : eval()'d code on line 13

force to edit config.php disable hooks and uninstalled product

now all fine.

Mark_Zuckerberg 09-29-2012 08:52 PM

Valter mate what does this means
Close forums and display alert when server load is higher than = 10

Can you explain

Pure Dope 12-10-2012 09:28 AM

why doesnt this close the forums for everybody?

why close the forums? just redirect them to a page that refreshes ever 3 minutes and xfers them when the load is down...IF they are a guest.

Rodrigo. 02-07-2013 04:22 AM

great work for me in vb 4.2.0

thang28101993 04-03-2013 12:41 PM

Quote:

Originally Posted by Mark_Zuckerberg (Post 2369617)
Valter mate what does this means
Close forums and display alert when server load is higher than = 10

Can you explain

I have the same question?
Please!

iraqiboy90 09-18-2014 01:40 AM

Does this require "exec"?

Bulent Tekcan 09-19-2014 05:25 AM

Same problem here...


Quote:

Originally Posted by sgbmad (Post 2159727)
I get this error:

Code:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/xxxx:/usr/lib/php:/usr/local/lib/php:/tmp) in [path]/includes/class_bootstrap.php(122) : eval()'d code on line 9
Any help?
Regards.



All times are GMT. The time now is 09:48 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
  • Page Generation 0.01103 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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