vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Restrict Posting By Forum (https://vborg.vbsupport.ru/showthread.php?t=320912)

MarkFL 12-14-2015 03:19 PM

Quote:

Originally Posted by jagtpf (Post 2560391)
Would it be possible to extend this to limit new threads in a 24 hour period, by Forum and Usergroup, whilst allowing unlimited posts?

We use good will to limit one Usergroup to 2 New, another Usergroup to 3 New - whilst posting is unlimited. It mostly works except for excitable newbies and the occasional mis-counter :D

Yes, I think this would be easy to do, and I will update this product to allow the nature of the restriction to either be based on totals or based on posts/threads created within the last x days. :)

jagtpf 12-14-2015 04:08 PM

Thanks Mark ....

MarkFL 12-14-2015 04:36 PM

Update version 1.5:
  • Added setting which allows only posts made within the last x days to be counted for the restriction.

akz645 12-15-2015 08:00 AM

Quote:

Originally Posted by MarkFL (Post 2560402)
Update version 1.5:

Question:
- If a User's Primary usergroup is [X] and Secondary is [Y]. If usergroup [X] is restricted but usergroup [Y] isn't, the user will not be restricted. Right?

https://vborg.vbsupport.ru/showthread.php?t=131014
Screenshots: http://i.imgur.com/Z2NIDv2.png + http://i.imgur.com/9sgXF6v.png + http://i.imgur.com/WdYgHYb.png + http://i.imgur.com/l0VStRm.png

That mod (works on vB 4.2.3) allows on a per forum & usergroup basis OR just on a usergroup basis (usergroup manger).
It also allows us to restrict in minutes, which is better than days IMO (more choice).

Features I'd like which are in your (MarkFL) mod, but not in the other one:
- Exclude users. (Although it would be better if we could also exclude based on each individual setting, and not just globally.)
- Posting in threads begun by other users only.
Note: If added into the other mod/this mod, it should be on a per forum & usergroup basis.

Feature I would like which are in neither Mods at the moment:
- Posting in threads begun by own users only. (The other Mod combines posts in own threads and others threads together.)
A) Floodcheck: Limit in seconds.
So basically, another option for everything, but this time allowing us to also limit in seconds.
Example: Usergroup [Y] is limited to [2] posts every [30] seconds & is also limited to [5] posts every [10] mins - both in [X] forum.
OR
B) If possible, allow us to keep on adding as many conditions as we want (this would be more useful than option A).
Example: Usergroup [Z] is limited to [1] post every [10] seconds, [2] posts every [25] seconds, [3] posts every [60] seconds ... in [X] forum.
Seconds can be converted into minutes and be used multiple times, so having minutes in this case would no longer be unnecessary.
31557600 seconds/year -> Should still be possible. So still allowing the numbers to reach as high as possible, as long as there isn't any major drawbacks.

Note: If added into the other mod/this mod, it should be on a per forum & usergroup basis.

@MarkFL
If you could make this happen, I'd be ever so grateful. :up:

Edit:
Additional feature:
- The error message the user receives, the admin via adminCP should be able to write out (hyperlinking texts should be allowed).
Example: "Sorry, you must wait longer to begin posting again. Please read this thread to understand why."
^ Perhaps you can make it so, admins can set different messages on a per usergroup & forum basis.

MarkFL 12-15-2015 12:58 PM

Quote:

Originally Posted by akz645 (Post 2560502)
Question:
- If a User's Primary usergroup is [X] and Secondary is [Y]. If usergroup [X] is restricted but usergroup [Y] isn't, the user will not be restricted. Right?

If you exclude a certain usergroup, then anyone who is a member of that usergroup, whether primary or secondary, will be excluded.

Quote:

Originally Posted by akz645 (Post 2560502)
...That mod (works on vB 4.2.3) allows on a per forum & usergroup basis OR just on a usergroup basis (usergroup manger).

You can set this product to restrict all forums to have the restriction be based on usergroup/username.

Quote:

Originally Posted by akz645 (Post 2560502)
Feature I would like which are in neither Mods at the moment:
- Posting in threads begun by own users only. (The other Mod combines posts in own threads and others threads together.)
A) Floodcheck: Limit in seconds.
So basically, another option for everything, but this time allowing us to also limit in seconds.
Example: Usergroup [Y] is limited to [2] posts every [30] seconds & is also limited to [5] posts every [10] mins - both in [X] forum.
OR
B) If possible, allow us to keep on adding as many conditions as we want (this would be more useful than option A).
Example: Usergroup [Z] is limited to [1] post every [10] seconds, [2] posts every [25] seconds, [3] posts every [60] seconds ... in [X] forum.
Seconds can be converted into minutes and be used multiple times, so having minutes in this case would no longer be unnecessary.
31557600 seconds/year -> Should still be possible. So still allowing the numbers to reach as high as possible, as long as there isn't any major drawbacks.

Note: If added into the other mod/this mod, it should be on a per forum & usergroup basis.

@MarkFL
If you could make this happen, I'd be ever so grateful. :up:

I will take all of this into consideration. :)

jagtpf 12-16-2015 02:40 PM

Downloaded to have a looksee - and it looks as impressive as expected. Hopefully you'll be able to pull off the restriction on new threads.

One thought; perhaps minutes rather than days for the time limit?

Thank you Sir ...

MarkFL 12-16-2015 03:21 PM

Quote:

Originally Posted by jagtpf (Post 2560593)
Hopefully you'll be able to pull off the restriction on new threads.

Do you mean a restriction on creating new threads only, while allowing posting to existing threads unrestricted?

I will soon add a setting whereby the admin can choose the unit of time (seconds, minutes, hours and days) for the restriction. :)

MarkFL 12-16-2015 06:18 PM

Update version 1.6:
  • Added setting which allows users to be restricted from posting new threads.
  • Added setting which allows a choice of time unit for counting posts/threads.

akz645 12-16-2015 07:06 PM

Question:
- Posting in threads begun by other users only.
Is that settings for both existing & new threads?

If so, you could add in 2 additional features.
Example:
- Posting in existing & new threads begun by other users only - which you already have called: "Posting in threads begun by other users only".
- Posting in existing threads begun by other users only.
- Posting in new threads begun by other users only.
----------------------------------------------------------------------------
https://vborg.vbsupport.ru/external/2015/12/19.png
I think it would be less confusing/better, if the last two options were swapped around.
So to look like this instead:
https://vborg.vbsupport.ru/external/2015/12/20.png
---------------------------------------------------------------------------
Quote:

Originally Posted by MarkFL (Post 2560611)
[*]Added setting which allows a choice of time unit for counting posts/threads.

I can't believe I never even thought about that before. Great job :up:

MarkFL 12-16-2015 08:03 PM

Here's how the "Nature Of Restriction" setting works:
  • New Threads And Posting In All Existing Threads - A user's posts in all threads in the subforum are counted. If this count is equal to or greater than the maximum allowed, then they will be prevented from posting new threads and replying to all existing threads.
  • Posting In All Existing Threads Only - A user's posts in all threads in the subforum are counted. If this count is equal to or greater than the maximum allowed, then they will be prevented from replying to all existing threads, but may start new threads.
  • Posting In Threads Begun By Other Users Only - A user's posts in all threads they didn't start in the subforum are counted. If this count is equal to or greater than the maximum allowed, then they will be prevented from replying to all threads they didn't start, but may start new threads..
  • New Threads Only - A user's threads in the subforum are counted. If this count is equal to or greater than the maximum allowed, then they will be prevented from posting new threads but may reply to all existing threads.


All times are GMT. The time now is 03:21 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.01309 seconds
  • Memory Usage 1,762KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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