Contributors: iceable
Tags: bbpress, bbp, close, topics, forums
Requires at least: 4.0
Tested up to: 4.8.2
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: http://www.iceable.com/buy-me-a-beer/
Extension for bbPress to close old topics automatically when they are older than an admin-defined period of time.
BBP Close Old Topics is a bbPress extension to close old topics automatically when they are older than an admin-defined period of time, from one week to one year.
The period of time you set is compared to the topic freshness (usually based on the date of the last reply) to determine if a topic should be closed.
Old topics can be "soft-closed" on the fly only, or actually closed in the database.
Settings are in Settings > Forums, under "Forum Features".
If you choose to only soft-close old topics on the fly, they will only appear closed as long as the plugin is active, but you will find them still open if you disable it.
If you check the "Hard close" option, every topic that gets closed on the fly will also be effectively closed in the database. In this case they will remain closed even if you disable this plugin.
This plugin only works with bbPress 2.2 or later. It will not have any effect if bbPress is not installed and activated, and will not work correctly with any version older than 2.2. This plugin was tested with bbPress up to 2.5.14.
- Clone or Download this repo.
- Unzip it and upload the 'bbp-close-old-topics' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, FileManager, etc...)
- Activate BBP Close old Topics from your Plugins page in wp-admin.
- Visit 'Plugins > Add New'
- Search for 'BBP Close old Topics'
- Activate BBP Close old Topics from your Plugins page in wp-admin.
- Download BBP Close old Topics.
- Unzip it and upload the 'bbp-close-old-topics' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, FileManager, etc...)
- Activate BBP Close old Topics from your Plugins page in wp-admin.
- Visit 'Settings > Forums' and set the settings in the "Forum Features" section.
- Check the "Close Old Topics" box to enable this feature, and set how old posts should be before closing them (1 year by default).
- Optionally check the "Hard Close Old Topics" if you want topics to be actually closed in the database.
This plugin only works with bbPress 2.2 or later. It will not have any effect if bbPress is not installed and activated, and will not work correctly with any version older than 2.2. This plugin was tested with bbPress up to 2.5.14.
Please create a thread in the support forum and make sure to explain your issue with as much details as you can so it is possible to help you.
Brilliant! If you don't mind, I would really appreciate it if you left a review with the appropriate number of stars.
Suggestions are certainly welcome!
Pull requests are also more than welcome on GitHub
Feel free to ask in the support forum!
- Settings in the bbPress Admin settings area.
Some parts of the code of this plugin were inspired by the work of Brandon Allen: https://github.com/thebrandonallen/bbp-auto-close-topics
- Initial release.
- English - default
Note: This plugin is fully translation-ready. Please contribute your language to the plugin to make it even more useful for all users worldwide! For translating you can use the Poedit Editor or contribute directly on translate.wordpress.org