Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
VSa - Server Overload Permissions Details »»
VSa - Server Overload Permissions
Version: 1.1, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 4.x.x Rating:
Released: 04-05-2010 Last Update: 04-05-2010 Installs: 139
Uses Plugins Auto-Templates
 
No support by the author.

Info:
-This will automatically close your forums when server load is higher than X.
-Forums are opened automatically when it goes to lower value.
-Admins are able to access forums and view current load in forum header.
-You can exclude usergroups from restrictions.

Installation:
-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import

Product]

To set options:
- Go to: AdminCP > vBulletin Options > VSa - Server Overload Permissions

Versions:
v1.0 - Feb 21. 2010.
-Initial version, never released
v1.1 - Apr 06. 2010.
-First public release

Download Now

File Type: zip VSa - Server Overload Permissions v1.1.zip (2.0 KB, 659 views)

Screenshots

File Type: png userside.png (6.7 KB, 0 views)
File Type: png alert.png (10.1 KB, 0 views)
File Type: png acp.png (35.4 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 06-14-2012, 01:04 PM
autoescala autoescala is offline
 
Join Date: Oct 2011
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice mod, works on 4.2
Reply With Quote
  #33  
Old 08-31-2012, 01:15 PM
cric2k cric2k is offline
 
Join Date: Jan 2010
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gnrx View Post
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:
Reply With Quote
  #34  
Old 09-02-2012, 09:58 AM
ikorolis's Avatar
ikorolis ikorolis is offline
 
Join Date: Sep 2006
Location: Athens , Greece
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 09-29-2012, 08:52 PM
Mark_Zuckerberg Mark_Zuckerberg is offline
 
Join Date: Sep 2011
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Can you explain
Reply With Quote
  #36  
Old 12-10-2012, 09:28 AM
Pure Dope Pure Dope is offline
 
Join Date: Dec 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #37  
Old 02-07-2013, 04:22 AM
Rodrigo. Rodrigo. is offline
 
Join Date: Sep 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great work for me in vb 4.2.0
Reply With Quote
  #38  
Old 04-03-2013, 12:41 PM
thang28101993 thang28101993 is offline
 
Join Date: Feb 2010
Location: fdsaf
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark_Zuckerberg View Post
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!
Reply With Quote
  #39  
Old 09-18-2014, 01:40 AM
iraqiboy90 iraqiboy90 is offline
 
Join Date: Sep 2012
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this require "exec"?
Reply With Quote
  #40  
Old 09-19-2014, 05:25 AM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem here...


Quote:
Originally Posted by sgbmad View Post
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.
Reply With Quote
Reply

Thread Tools

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 02: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.08238 seconds
  • Memory Usage 2,320KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete