Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: dougiefresh on January 06, 2017, 09:59:57 PM

Title: Topic Limit On Board
Post by: dougiefresh on January 06, 2017, 09:59:57 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=4134)


TOPIC LIMIT ON BOARD v1.4
By Dougiefresh (http://www.simplemachines.org/community/index.php?action=profile;u=253913) -> Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=4134)


Introduction
This mod limits the number of topics a user can create within a certain period of time.  The number of topics and number of days is customizable through the Admin panel.

Admin Settings
In the Admin => Forum => Boards area, click on the Modify link for any board.  At the bottom, you will see two new options:
> Limit Topics on this Board to (number of topics)
> Limit Topics on this Board during (number of days)

Compatibility Notes
This mod was tested on SMF 2.0.12, but should work on SMF 2.0 and up, as well as SMF 2.1 Beta 3.  SMF 2.1 Beta 1, Beta 2, and SMF 1.x will not be supported.

Changelog
The changelog can be viewed at XPtsp.com (http://www.xptsp.com/board/free-modifications/topic-limit-on-board/?tab=1).

License
Copyright (c) 2016 - 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Title: Re: Topic Limit On Board
Post by: Colin on January 06, 2017, 10:00:42 PM
Another good one. Cheers Dougie.
Title: Re: Topic Limit On Board
Post by: dougiefresh on January 30, 2017, 09:56:30 AM
Uploaded v1.1 - January 30th, 2017
o Added support for SMF 2.1 Beta 2.
Title: Re: Topic Limit On Board
Post by: tanawat on February 19, 2017, 01:33:40 AM
i like this mod.


but it have message on head when i click newpost or reply .


can you help me.
Title: Re: Topic Limit On Board
Post by: dougiefresh on February 19, 2017, 07:43:46 AM
In Themes/default/languages/Post.english.php, look for a ?> that is not at the end of your file and remove that.  My guess is that it is going to be on a line by itself.  Removing that line should fix the issue you are seeing.....
Title: Re: Topic Limit On Board
Post by: tanawat on February 19, 2017, 01:06:21 PM
Thanks a lot.

it's ok now.

 ;D
Title: Re: Topic Limit On Board
Post by: dougiefresh on July 06, 2017, 09:16:25 AM
Uploaded v1.2 - July 6th, 2017
o Added support for SMF 2.1 Beta 3.
o Removed support for SMF 2.1 Beta 2.
Title: Re: Topic Limit On Board
Post by: dougiefresh on November 08, 2018, 10:32:05 PM
Uploaded v1.3 - November 8th, 2018
o No functionality change.
o Updated documentation to point to new website.
Title: Re: Topic Limit On Board
Post by: Rock Lee on November 09, 2018, 12:33:59 PM
Very good work! ;D I leave the translated file!


Regards!
Title: Re: Topic Limit On Board
Post by: dougiefresh on November 09, 2018, 07:36:02 PM
Uploaded v1.4 - November 9th, 2018
o Added Spanish Latin translation, courtsey of Rock Lee (https://www.simplemachines.org/community/index.php?action=profile;u=322597)!



@Rock Lee:  Thank you for the translation!  It's been included in this version!