vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Throttle Posts/Threads (restrict number of posts/threads by usergroup/forum by time) (https://vborg.vbsupport.ru/showthread.php?t=131014)

bigcurt 06-12-2007 04:57 PM

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.

CyberRanger 06-12-2007 05:10 PM

Quote:

Originally Posted by bigcurt (Post 1267039)
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!

:D

bigcurt 06-13-2007 01:38 AM

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??

CyberRanger 06-13-2007 02:22 AM

Quote:

Originally Posted by bigcurt (Post 1267315)
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.

bigcurt 06-13-2007 08:32 PM

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?

CMGU 06-14-2007 12:51 AM

mmm very nice

bigcurt 06-16-2007 05:42 PM

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.

Chad Beattie 06-17-2007 12:28 AM

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.

CyberRanger 06-17-2007 01:11 AM

Quote:

Originally Posted by bigcurt (Post 1269866)
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.

CyberRanger 06-17-2007 01:13 AM

Quote:

Originally Posted by Chad Beattie (Post 1270075)
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.


All times are GMT. The time now is 08:00 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.01236 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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