Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Restrict Posting By Forum Details »»
Restrict Posting By Forum
Mod Version: 1.9.6, by MarkFL (Advisor) MarkFL is online now
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (5 votes - 5.00 average) Installs: 14
Released: 27 Nov 2015 Last Update: 03 Mar 2016 Downloads: 72
Supported Uses Plugins Re-usable Code Translations  

The add-on is in response to a request posted by Stratis in this thread:

Deny more than x posts in a specific forum

Stratis has been instrumental in the testing and development of this add-on.

Overview:

This product allows you to select forums in which posting is restricted to a maximum number of posts, which you decide. Restrictions can be for all new posts including new threads, or new posts excluding new threads, or to posting within the threads of others only or posting new threads only. You may exclude selected usergroups from the restriction. Users who attempt to circumvent the product by manually entering URLs in their browsers will be shown the no permission message. You may decide to only count posts within the last x days to determine whether a user may post or not.

Updates:

Version 1.1:
  • Added a setting whereby individual users may be excluded from the posting restriction regardless of usergroup.

Version 1.2:
  • Added informative message to users for who posting is restricted.
  • All posting links are now hidden by setting appropriate variables used in template conditionals rather than simply hiding them using CSS.

Version 1.3:
  • Bug fixed where users were told they have no permission to post.

Version 1.4:
  • Exempt userlist trimmed for greater compatibility across platforms.

Version 1.4.1:
  • Made $threadinfo global for wider compatibility.

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

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.

Version 1.7:
  • Post counts calculated immediately prior to posting new threads/replies so that posting from tab with no restriction by opening new tab with posting link is no longer possible.

Version 1.8:
  • Added setting to allow control over whether child forums are included in the slected restricted forums.
  • Added setting to allow all restricted forums to be treated as a group, or to be treated separately.

Version 1.9:
  • Added setting to allow for individually defined post limits for the restricted forums.

Version 1.9.5:
  • Restricted posting message on both the "forum display" and "show thread" pages now displayed both above and below threads/posts.

Version 1.9.6:
  • Fixed bug where only last individual forum|restriction was recognized on some servers.

Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

markfl_rpbf_acp.jpg  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 27 Nov 2015, 16:49
akz645 akz645 is offline
 
Join Date: Jul 2015
Questions:
1) If person A was in usergroup X and lets say usergroup X had a 'post limit' of 5.
Lets say person A posted 4 times.
Now person B is also in usergroup X and posted 3 times.
Is this possible?
So basically, I want to know if it restricts the entire usergroup to 5 posts or just a single user in that usergroup to 5 posts.

2) What if I wanted different 'post limit' on different forums?

3) What if I wanted different 'Nature of restriction' on different forums?
Reply With Quote
  #3  
Old 27 Nov 2015, 16:57
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by akz645 View Post
Questions:
1) If person A was in usergroup X and lets say usergroup X had a 'post limit' of 5.
Lets say person A posted 4 times.
Now person B is also in usergroup X and posted 3 times.
Is this possible?
So basically, I want to know if it restricts the entire usergroup to 5 posts or just a single user in that usergroup to 5 posts.
The restriction does not apply for each usergroup as a whole, but for each individual.

Originally Posted by akz645 View Post
2) What if I wanted different 'post limit' on different forums?

3) What if I wanted different 'Nature of restriction' on different forums?
At this time, both the post limit and the nature of the restriction apply to all restricted forums. I may look into allowing defining separate restrictions for each forum.
Reply With Quote
  #4  
Old 28 Nov 2015, 20:17
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Update Version 1.1:
  • Added a setting whereby individual users may be excluded from the posting restriction regardless of usergroup.
Reply With Quote
  #5  
Old 28 Nov 2015, 20:38
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
New future tested, excellent, works like a charm and very useful.
Reply With Quote
  #6  
Old 29 Nov 2015, 04:15
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Update Version 1.2:
  • Added informative message to users for who posting is restricted.
  • All posting links are now hidden by setting appropriate variables used in template conditionals rather than simply hiding them using CSS.
Reply With Quote
  #7  
Old 04 Dec 2015, 09:58
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Update Version 1.4:
  • Exempt userlist trimmed for greater compatibility across platforms.
Reply With Quote
  #8  
Old 04 Dec 2015, 16:47
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Great success to all. Thanks Mark for another time
Reply With Quote
  #9  
Old 10 Dec 2015, 19:37
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Real name: Arun
Great work Mark.

Thank you.
__________________
Pm me if you need any custom work to be done on your forum

Reply With Quote
  #10  
Old 14 Dec 2015, 15:42
jagtpf jagtpf is offline
 
Join Date: Mar 2015
Real name: Geoff
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
Reply With Quote
  #11  
Old 14 Dec 2015, 16:19
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by jagtpf View Post
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
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.
__________________
Reply With Quote
  #12  
Old 14 Dec 2015, 17:08
jagtpf jagtpf is offline
 
Join Date: Mar 2015
Real name: Geoff
Thanks Mark ....
Reply With Quote
  #13  
Old 14 Dec 2015, 17:36
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Update version 1.5:
  • Added setting which allows only posts made within the last x days to be counted for the restriction.
__________________
Reply With Quote
  #14  
Old 15 Dec 2015, 09:00
akz645 akz645 is offline
 
Join Date: Jul 2015
Originally Posted by MarkFL View Post
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?

http://www.vbulletin.org/forum/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.

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.

Last edited by akz645; 17 Dec 2015 at 00:53.
Reply With Quote
  #15  
Old 15 Dec 2015, 13:58
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by akz645 View Post
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.

Originally Posted by akz645 View Post
...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.

Originally Posted by akz645 View Post
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.
I will take all of this into consideration.
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
Maximux
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 19:58.

Layout Options | Width: Wide Color: