tierra/topicsolved
Composer 安装命令:
composer require tierra/topicsolved
包简介
Allows posting questions, and accepting answers as solved.
README 文档
README
Allows posting questions, and accepting answers as solved.
Solved indicators will be shown next to titles throughout forum and topic views. Mostly ideal for support forums, but can be customized for marking topics for other purposes such as classifieds being marked as sold.
This is an update of the phpBB 3.0.x Topic Solved MOD, written by Jari Kanerva.
Features
- Solved indicators show in the following locations:
- Forum View
- Topic View
- Search Results (both Post and Topic views)
- MCP Forum View
- Use custom text indicator instead of default image.
- Custom text indicators can use custom colour.
- Only topic author or moderator can solve topics.
- Can be locked to only moderator access for solving topics.
- Solving topics may be set to automatically lock/unlock the topic.
- All settings can be customized per-forum.
Translations
This extension comes bundled with support for the following languages:
- Arabic (ar)
- Czech (cs)
- Danish (da)
- Dutch (nl)
- English (en)
- Estonian (et)
- Finnish (fi)
- French (fr)
- German (de)
- German (Formal Honorifics) (de_x_sie)
- Italian (it)
- Japanese (ja)
- Polish (pl)
- Portuguese (pt)
- Portuguese (Brazilian) (pt_br)
- Russian (ru)
- Spanish (es)
- Swedish (sv)
- Turkish (tr)
Additional translations can be requested and submitted here.
Supported Styles
Most phpBB 3.1.x styles should work with this extension out of the box, however, some styles require additional changes for full functionality. If your style does not work correctly, you can request support for your style from the Issue Tracker. The following styles are explicitly supported:
- prosilver
- subsilver2
- bb3-mobi
- pbtech
- subway
Requirements
- PHP 5.3.10+
- phpBB 3.1.3+
Install
You can install this extension in phpBB by following the steps below:
- Download the latest release.
- Unzip the downloaded release, and change the name of the folder to
topicsolved. - In the
extdirectory of your phpBB board, create a new directory namedtierra(if it does not already exist). - Copy the
topicsolveddirectory tophpBB/ext/tierra/(if done correctly, this readme file should be located at:phpBB/ext/tierra/topicsolved/readme.md). - Navigate in the ACP to
Customise -> Manage extensions. - Look for
Topic Solvedunder the Disabled Extensions list, and click itsEnablelink.
Getting Started
After enabling the extension, you must configure each individual forum you would like solved topic functionality to be enabled for. Under the "Forums" section in the Administration Control Panel, find each forum you would like to enable solved topics for, and click "Edit forum".
Topic Solved will not work for "Category" or "Link" type forums, it will only work with "Forum" forum types. Once you have ensured your forum is set for the "Forum" type, the topic solved settings will show up in it's own section near the bottom of the settings form.
At the minimum, you must select either "Yes" or "Moderator" for the "Allow topics to be marked as solved" setting in order to enable solved topics for the forum you wish to use this extension with.
The remaining settings alter the behavior and permissions required to mark topics as solved or unsolved, as well as the appearance of the indicator.
Uninstall
- Navigate in the ACP to
Customise -> Extension Management -> Extensions. - Look for
Topic Solvedunder the Enabled Extensions list, and click itsDisablelink. - To permanently uninstall, click
Delete Dataand then delete the/ext/tierra/topicsolveddirectory.
Support
Please report bugs and other issues to the Issue Tracker.
Contributing
The primary release ZIP is not designed for local development. Consider forking and cloning this repository with git in order to submit patches using git pull requests. A convenient docker environment is provided that allows for testing changes with a fresh installation of phpBB 3.1 and 3.2:
- Download and install Docker.
- Also install Docker Compose.
- On OSX, install dinghy.
- On Linux, install dory.
Now spin up the compose environment:
docker-compose up
If everything was installed correctly, you can open phpBB now:
- phpBB 3.1: http://phpbb31.topicsolved.docker/
- phpBB 3.2: http://phpbb32.topicsolved.docker/
Simply run through the normal phpBB installation procedures, and you should find the Topic Solved extension available in the ACP customizations. For the database, use "db" for the host, "root" for user, leave password blank, and use "phpbb" for database. You will need to use different table prefixes for each version of phpBB since they use the same database, like "bb31_" and "bb32_".
You will want to edit the phpBB config files in order to enable debug mode, which allows you to leave the "install" directory in place while viewing the board:
docker-compose run --rm phpbb31 bash
vim config.php # Enable @define('DEBUG', true);
License
The phpBB Topic Solved extension is released under the GNU General Public License v2.
tierra/topicsolved 适用场景与选型建议
tierra/topicsolved 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 19 次下载、GitHub Stars 达 23, 最近一次更新时间为 2015 年 02 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「extension」 「phpbb」 「question」 「answer」 「solved」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tierra/topicsolved 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tierra/topicsolved 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tierra/topicsolved 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A custom URL rule class for Yii 2 which allows to create translated URL rules
With Magento 2 FAQ Extension, you will not need to worry about creating useful and nice FAQ page for your ecommerce website. The extension will help you to set up nice informative & SEO-friendly magento 2 FAQ page. With faq page, your customers will find convenient, easily and quick to resolve commo
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
Package for create surveys in laravel
UI Kit 3 Extension for Yii2
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-02-18