vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Restricted access by usergroups and server load (https://vborg.vbsupport.ru/showthread.php?t=70966)

luroca 10-24-2004 10:00 PM

Restricted access by usergroups and server load
 
Well, English is not my language, so excuse my expression errors. There is a beta of this hack in https://vborg.vbsupport.ru/showthread.php?t=68121

With this hack, only selected usergroups will be able to browse the board when the server load have a specific value or up. It?s independent of default load value for closing the board to all users.
I use it to allow access to my premium members and staff with priority respect other usergroups in association with another hack of mine: https://vborg.vbsupport.ru/showthread.php?t=70946


The hack is inspired in https://vborg.vbsupport.ru/showthrea...threadid=56630 for vb 2.3.x, of Gary King, author of the original idea, thanks a lot for his permission.


Time: 5-10 minutes minutes
6 queries
1 phrase change
2 modifications in 1 file: root/global.php

In Admin CP, vBulletin Options, Turn Your vBulletin On and Off, you can add the selected usergroups and the load for resctrict the access.

As I am not a coder perhaps anybody can optimize this hack.

HiDeo 10-25-2004 01:18 PM

Thanks for this excellent hack

Remi 10-25-2004 02:17 PM

Thank you very much.

I will give it a try and see how it goes :)

mickeymouse690 08-27-2006 05:21 PM

anyone know if this hack can be used on 3.5? or is there a 3.5 version of this already?

mickeymouse690 08-27-2006 06:27 PM

anyone?

Hornstar 07-23-2007 04:54 AM

I would love this to work on 3.6.x exactly what im looking for, just needs to be ported ^^


All times are GMT. The time now is 12:53 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.00939 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete