跳到内容

BBP Close Old Topics

v1.0.0

Iceable · 2017年10月9日 上架

Extension for bbPress to close old topics automatically when they are older than an admin-defined period of time.

正在使用
20+
评分
5.0 / 5
累计下载
2,368
最近更新
2017年10月9日
2 条评价需要 WordPress 4.7+已测试到 4.8.35PHP 5.3+

贡献者

截图

Settings in the bbPress Admin settings area.
Settings in the bbPress Admin settings area.

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.

Configuration

  1. Visit ‘Settings > Forums’ and set the settings in the “Forum Features” section.
  2. Check the “Close Old Topics” box to enable this feature, and set how old posts should be before closing them (1 year by default).
  3. Optionally check the “Hard Close Old Topics” if you want topics to be actually closed in the database.

Credits

Some parts of the code of this plugin were inspired by the work of Brandon Allen: https://github.com/thebrandonallen/bbp-auto-close-topics

Translations

  • 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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums