Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2003, 04:18 PM
siLk's Avatar
siLk siLk is offline
 
Join Date: Aug 2003
Location: North Carolina, USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [Request] Removing flood control from mods

We are running a clean version of vB 2.2.1 at www.warcraftreplays.com

Super-Mods / Admins are not restricted to the flood control settings, such as 1 post only 30 seconds rule. However, our forum is huge (80,000+ members), so our post time is set at 60 seconds. This is annoying for our staff of 50+ because they need to be able to post threads in quick succession and it is annoying as hell for them to have to wait 60 seconds to post another thread.

If there is a quick way to do this, and does not require a hack, then that would be great. Otherwise, is there anyone here that that would be willing to create a small hack to set this setting up per usergroup/forum (and not a overall board setting) basis?

If you have any questions or would like to talk to me directly, you can contact me on AIM at vendetta1g or on ICQ at 123595 or MSN at jtotten1@nc.rr.com

Thanks.
Reply With Quote
  #2  
Old 12-02-2003, 05:13 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is untested, plus I'm going on 2.3.3 source, but it should be the same:

In newthread.php AND newreply.php -

Find:
PHP Code:
    if ($enablefloodcheck) {
      if (
$bbuserinfo[userid]!=and time()-$bbuserinfo[lastpost]<=$floodchecktime and !ismoderator($foruminfo[forumid])) { 
Replace with:
PHP Code:
    if ($enablefloodcheck) {
      if (
$bbuserinfo[userid]!=and time()-$bbuserinfo[lastpost]<=$floodchecktime and !ismoderator($foruminfo[forumid]) and $bbuserinfo[usergroupid]!=7) { 
** edited to reflect correct default vB USERGROUPID (7). Change if needed.
Reply With Quote
  #3  
Old 12-02-2003, 05:44 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Magnus's solution is very close but just that moderator's usergroupid is not 5 or 6.

So replace "6" with your moderators' usergroupid which is 7 in default vb.
Reply With Quote
  #4  
Old 12-02-2003, 06:37 PM
siLk's Avatar
siLk siLk is offline
 
Join Date: Aug 2003
Location: North Carolina, USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, thanks a lot guys, I will try this as soon as I can
Reply With Quote
  #5  
Old 12-02-2003, 06:45 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logician
Magnus's solution is very close but just that moderator's usergroupid is not 5 or 6.

So replace "6" with your moderators' usergroupid which is 7 in default vb.
It would help if I read things thorougly, all I saw was "Super-Mods / Admins . . ." so I immediately snagged those groupid's, lol.
Reply With Quote
Reply


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 10:23 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.04002 seconds
  • Memory Usage 2,209KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete