Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Throttle Posts/Threads (restrict number of posts/threads by usergroup/forum by time) Details »»
Throttle Posts/Threads (restrict number of posts/threads by usergroup/forum by time)
Version: 2.1, by CyberRanger CyberRanger is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.7 Rating:
Released: 11-06-2006 Last Update: 06-28-2007 Installs: 189
Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

Users can be restricted to a set number of posts and/or new threads per a defined time period. The settings can be global for all forums by usergroup and/or specific to certain usergroups by forum.

FAQ:
  1. I don't understand!!! Why would I use this? Say, for example, you wanted to have a sub-forum where registered users could only post 2 messages a day but a premium group could post unlimited messages. This mod will let you configure that! Here's another example. You want registered users to be able to only create 1 thread per 6 hours in a sub-forum but they can have an unlimited number of replies in that sub-forum. This product will let you do that!
  2. Do I have to configure every usergroup and forum combination?
    Nope! By default, all usergroups (that normally can post or create threads) can create and unlimited amount of threads and posts. You have the option to create settings by usergroup that apply to all sub-forums for that usergroup. Plus, you can fine tune the settings on a usergroup/sub-forum basis.
  3. I have a lot of forums and usergroups. How will I keep up with all my custom throttle settings? In the admincp, there is a feature that gives a summary of all settings by usergroup and forum. You can filter based on usergroup or forum and change the sort order.
  4. What does the "-1" mean in the settings? "-1" indicates unlimited. So, a usergroup with a -1 setting for the time period means there is no time restriction.
  5. Is this fully phrases? YES! 100% fully phrased including all admincp text!
Product will work with any version of vb 3.5.x and up (including 3.7.x).


Installation


1. Upload the contents of 'upload' to your forum directory
2. From the admincp, import the product file product-throttle_posts.xml
3. REFRESH your admincp page.
4. Change the usergroup setting for any usergroup you want to restrict.
5. OPTIONAL - To set per forum/usergroup settings, set "Activate per Forum/Usergroup Checking" (under Throttle Posts/Threads -> General Settings) to "Yes"
6. OPTIONAL - Set any forum/usergroup settings under Throttle Posts/Threads -> Per Forum/Usergroup Settings.
7. Done!

Special note: a new thread does NOT count as a post (for the purpose of this mod) but a new thread does count as a post!

Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
aaronhaul, akz645, TAIFUN_T

Comments
  #32  
Old 06-12-2007, 04:57 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I really the idea of this hack; as I am the one who requested the original hack ( something like this ) to Marco. However, I do have a question..can I make it so that a specific forum - can only have 1 thread per user..ever? Not just by time.
Reply With Quote
  #33  
Old 06-12-2007, 05:10 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigcurt View Post
OK, I really the idea of this hack; as I am the one who requested the original hack ( something like this ) to Marco. However, I do have a question..can I make it so that a specific forum - can only have 1 thread per user..ever? Not just by time.
That isn't literally an option BUT the amount of time between threads by a user can be set as high as 999,999,999 minutes or 1902 years! So, practically speaking that's the same as forever!

Reply With Quote
  #34  
Old 06-13-2007, 01:38 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see where to limit the amount of threads per forum..I see the limit # of threads and how long to wait...but where is the per-forum basis??
Reply With Quote
  #35  
Old 06-13-2007, 02:22 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigcurt View Post
I don't see where to limit the amount of threads per forum..I see the limit # of threads and how long to wait...but where is the per-forum basis??
  1. First, make sure under admincp -> Throttle Posts/Threads -> General Settings that "Activate per Forum/Usergroup Checking" is set to Yes
  2. Now, click on Throttle Posts/Threads -> Per Forum/UserGroup Settings.
  3. Select the forum and usergroup from the drop down menu and set the delays how you want.
Reply With Quote
  #36  
Old 06-13-2007, 08:32 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I got it to work..thanks. What is the phrase/where can I edit the denial box for people that can't post a thread/post in that forum? What is the phrase name?
Reply With Quote
  #37  
Old 06-14-2007, 12:51 AM
CMGU CMGU is offline
 
Join Date: Mar 2007
Location: Central America
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmm very nice
Reply With Quote
  #38  
Old 06-16-2007, 05:42 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, so this is a great mod and all..but after having it installed for a while. Whens someone posts in my Introductions forum, and then tries to post in another section ( in that same forum group ) it doesn't let them..so I am not sure what the problem is, but I think it records the entire forum group and not just sub-forums, even though I have it input to just do one specific sub-forum.
Reply With Quote
  #39  
Old 06-17-2007, 12:28 AM
Chad Beattie Chad Beattie is offline
 
Join Date: Jul 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for writing this! We really needed it. One question, shouldn't it state that allowed number of threads is in hours and not minutes? Meaning, when someone tries posting, and you have it set to 24, it says, number of posts/threads allowed for 24 minutes instead of 24 hours. Unless I'm reading this wrong. But in the code it takes your minute value times 60 which I assume it is taking hours and converting to minutes. So if you put '1' as the value, 1 * 60 would be 1 hour. But it would show the user, 1 minute.
Reply With Quote
  #40  
Old 06-17-2007, 01:11 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigcurt View Post
OK, so this is a great mod and all..but after having it installed for a while. Whens someone posts in my Introductions forum, and then tries to post in another section ( in that same forum group ) it doesn't let them..so I am not sure what the problem is, but I think it records the entire forum group and not just sub-forums, even though I have it input to just do one specific sub-forum.
It should only apply to the forum that the user is posting in and not impact sub-forums. If you want, PM me your site url with an admin login and password and I'll check it out.
Reply With Quote
  #41  
Old 06-17-2007, 01:13 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chad Beattie View Post
Thank you for writing this! We really needed it. One question, shouldn't it state that allowed number of threads is in hours and not minutes? Meaning, when someone tries posting, and you have it set to 24, it says, number of posts/threads allowed for 24 minutes instead of 24 hours. Unless I'm reading this wrong. But in the code it takes your minute value times 60 which I assume it is taking hours and converting to minutes. So if you put '1' as the value, 1 * 60 would be 1 hour. But it would show the user, 1 minute.
No, the time is in minutes. I originally had the defaults in hours, hence the 24. But, I changed it to minutes so that admins had more granular control. The time 60 is to bring the value in the time field into the right factor as the vb time stamp.
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 11:34 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.04989 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete