vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Is there a way to change the Minimum Time Between Posts in a specific forum? (https://vborg.vbsupport.ru/showthread.php?t=271548)

VIPTV 10-06-2011 11:11 PM

Is there a way to change the Minimum Time Between Posts in a specific forum?
 
Is there a way to change the Minimum Time Between Posts in a specific forum?

I would like to change the minimum time a user must wait in order to post again in just one specific forum on my site.

The forum is the most popular forum , almost too popular, my entire site has 8,232,603 Total Posts and this specific forum has more than half the total amount, it has 5,262,864 Total Posts.

I want to set it so users in that specific forum have to wait like 5 minutes to post again, but I want to leave it at the current setting of 1 minute between in each post in all other forums.

Couldn't find any mods that did this, if anyone could let me know if this is possible, and could point me in the right direction it would be greatly appreciated. I'm running vBulletin 3.7.2.

Thanks in advance.

kh99 10-08-2011 10:45 AM

I haven't tested it, but I think you could create a plugin using hook global_start and code like this:

PHP Code:

if (!empty($forumid) && $forumid == X)
    
$vbulletin->options['floodchecktime'] = Y


where you'd replace X with the forumid you want to change, and Y to the min time between posts in seconds (or 0 to disable flood check).


All times are GMT. The time now is 10:49 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.01066 seconds
  • Memory Usage 1,709KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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