rainlab/forum-plugin
Composer 安装命令:
composer require rainlab/forum-plugin
包简介
Forum plugin for October CMS
关键字:
README 文档
README
This plugin adds a simple embeddable forum to October CMS.
A video demonstration of this plugin can be seen here:
View this plugin on the October CMS marketplace:
Configuration
The forum does not require immediate configuration to operate. However the following options are available.
- Forum categories (Channels) can be managed via the System > Channels menu.
- Forum members can be managed via the User menu.
Displaying a List of Channels
The plugin includes a component forumChannels that should be used as the main page for your forum. Add the component to your page and render it with the component tag:
{% component 'forumChannels' %}
You should tell this component about the other forum pages.
- channelPage - the page used for viewing an individual channel's topics.
- topicPage - the page used for viewing a discussion topic and posts.
- memberPage - the page used for viewing a forum user.
RSS Feed
Use the forumRssFeed component to display an RSS feed containing the latest blog posts. The following properties are supported:
- channelFilter - a channel slug to filter the topics by. If left blank, all topics are displayed.
- topicsPerPage - how many topics to display on the feed. The default value is 20.
- forumPage - path to the main forum page.
- topicPage - path to the topic details page.
The component can be used on any page, it will hijack the entire page cycle to display the feed in RSS format. The next example shows how to use it:
title = "RSS Feed"
url = "/forum/rss.xml"
[forumRssFeed]
forumPage = "forum"
topicPage = "forum/topic"
==
<!-- This markup will never be displayed -->
Example Page Structure
forum/home.htm
title = "Forum"
url = "/forum"
layout = "default"
[forumChannels]
memberPage = "forum/member"
channelPage = "forum/channel"
topicPage = "forum/topic"
==
<h1>Forum</h1>
{% component 'forumChannels' %}
forum/channel.htm
title = "Forum"
url = "/forum/channel/:slug"
layout = "default"
[forumChannel]
memberPage = "forum/member"
topicPage = "forum/topic"
==
<h1>{{ channel.title }}</h1>
{% component 'forumChannel' %}
forum/topic.htm
title = "Forum"
url = "/forum/topic/:slug"
layout = "default"
[forumTopic]
memberPage = "forum/member"
channelPage = "forum/channel"
==
<h1>{{ topic.subject }}</h1>
{% component 'forumTopic' %}
forum/member.htm
title = "Forum"
url = "/forum/member/:slug"
layout = "default"
[forumMember]
channelPage = "forum/channel"
topicPage = "forum/topic"
==
<h1>{{ member.username }}</h1>
{% component 'forumMember' %}
License
This plugin is an official extension of the October CMS platform and is free to use if you have a platform license. See EULA license for more details.
rainlab/forum-plugin 适用场景与选型建议
rainlab/forum-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 210 次下载、GitHub Stars 达 47, 最近一次更新时间为 2016 年 07 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「forum」 「blog」 「october」 「octobercms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rainlab/forum-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rainlab/forum-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rainlab/forum-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
User plugin for October CMS
Laravel Horizon integration for October CMS
Laravel package for opinionated blog implementation
A Laravel 5 package providing a solid foundation for building discussion forums
A frontend for riari/laravel-forum providing views written with Bootstrap 3
This Bundle provides threaded comment functionality for Symfony applications
统计信息
- 总下载量: 210
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 47
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-16