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)
-   -   Administrative and Maintenance Tools - Close the forum depending on the user number. (https://vborg.vbsupport.ru/showthread.php?t=159358)

Atakan KOC 10-02-2007 10:00 PM

Close the forum depending on the user number.
 
Close the forum depending on the user number.

This hack will close the forum depening on the number of users on the forum and opens back again when the number go down.


Mark as Installed - Nominate for MOTM

install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-usernumber.xml' from your computer then press 'Import'


Close the forum depending on the user number Setting

Go to your admin cp, then:
vBulletin Options -> Close the forum depending on the user number ->

Modifications Info

Plugin : 2
Phrases : 7
Template : 0
Setting : 3

Versions:
v1.0 - 03 Ocatber 2007
-First release


This hack will close the forum depening on the number of users on the forum and opens back again when the number go down.

ShawneyJ 10-03-2007 09:48 AM

hey sounds good sweet hack :)

Atakan KOC 10-03-2007 09:56 AM

Thanks jaycob :)

xandizitxu 10-03-2007 12:10 PM

It was based on my idea ?

Cybertims 10-03-2007 12:23 PM

It would be better if it stopped new people from logging in temporarily until the number went down, now it just closes it to all except admin. Of course as soon as it closes it, the number goes down. is this possible to only allow a certain number on the Forum at a time?

Cybershaolin 10-03-2007 01:53 PM

Great, I'll give this a try. Was looking for something like that.

By user number, you mean online users? Does this means it takes the cookie time or some other value?

Also, if I have another mod installed which makes the forum available to some groups when it's closed, will these groups still be able to access the forum?

chuchukuttie 10-03-2007 07:39 PM

Awesome hack, thank you.

iogames 10-03-2007 08:23 PM

Quote:

Originally Posted by xandizitxu (Post 1352081)
It was based on my idea ?

[I think if you're the one on the front of you avatar=yes, if you're the guy=no]

What are the ranks, or limits on the users for a thread?

KURTZ 10-03-2007 11:18 PM

interesting Atakan ;)

nickypoooo 10-03-2007 11:31 PM

installed


All times are GMT. The time now is 07:19 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.01160 seconds
  • Memory Usage 1,726KB
  • 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_quote_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