Customizing SMF > Modifications and Packages

Restrict Posts Per Board

(1/12) > >>

vbgamer45:
Link to Mod

Link to Mod

This modification helps administrator to restrict each member group on per board basis by allowing them specific number of new topics or replies they can make in a time alloted by admin.

By default mod is disable and doesn't interfere with the current forum settings.

All mod settings are available under
Admin center -> Configuration -> Restrict Posts Per Board


To enable the mod go to following mentioned link and enable the mod
?action=admin;area=restrictposts;sa=generalsettings

A specific setting is available for calendar section also which restricts the user if user has crossed the limit of new topics he/she can made. Also the calendar setting works only if posting is restricted by topics.


To make settings for each membergroup go to
?action=admin;area=restrictposts;sa=postsettings

Here two coloumns are show respective to each membergroup
- Max Posts -> Enter the number of maximum new topics/replies you want a membergroup can make
- Time Limit -> Enter the time span in which you want a group can make specified posts.

For e.g. if you want the a group can make 50 new topics/replies in 2 days enter as following
- Max posts -> 50
- Time span -> 2

Note - If any of the 2 columns is left blank, the mod neglects the value of other column, i.e if you have entered value for 'Max posts' only but 'Time span' hasn't been filled. In that case mod neglects both values.


Change Log
Version 1.3
-jquery now loaded over https:// to support https sites

Version 1.2
- Fixed bug due to which mod was unable to save the data if there were too many boards, over here
- Hooks ported to separate file


Version 1.1
- Added an option to select restriction between new topic or replies
- Made several fixes
- Enhanced DB queries


Version 1.0.1
- Fixed an issue as reported here


GitHub Link - https://github.com/Joker-SMF/SMF-RestrictPostsPerBoard

License
 * This SMF Modification is subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this SMF modification except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/

Wolfy175:
Hi Joker,

There appears to be an issue with the mod (Unless my settings are wrong). It's not allowing newly registered users to post at all, receiving the error 'Oops, it looks like you have reached your posting limit.'

Any chance you could advise?

Cheers

Jokerâ„¢:
Can you show me a screen shot of the settings you have placed.

Moreover which user groups are allotted to new members?

Wolfy175:
Here you go, it is the same in every trading forum:

Jokerâ„¢:

--- Quote from: Wolfy175 on January 09, 2013, 03:15:05 AM ---Here you go, it is the same in every trading forum:

--- End quote ---
Umm, not able to re-produce the issue on local test forum. Can you share your forum link?

Navigation

[0] Message Index

[#] Next page

Go to full version