定制 clarkwinkelmann/flarum-ext-collapsible-posts 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clarkwinkelmann/flarum-ext-collapsible-posts

最新稳定版本:1.0.2

Composer 安装命令:

composer require clarkwinkelmann/flarum-ext-collapsible-posts

包简介

Collapse unimportant posts

README 文档

README

MIT license Latest Stable Version Total Downloads Donate

This extension allows collapsing some posts, so they don't clutter the discussion, while still keeping them accessible.

Multiple collapse reasons can be created in the admin page. By default an "off-topic" reason message is offered.

When multiple posts that follow each other are collapsed for the same reason, a collapse series is created. A series can be expanded back by group of 20 posts.

The collapse state is purely visual and doesn't prevent the user from editing or deleting their post for example.

The extension uses a solution that's a bit hacky, so there might be incompatibilities with other extensions and it might break during minor Flarum updates.

Known/expected issues:

  • You cannot permalink collapsed posts.
  • Search engines probably won't be able to index collapsed posts.
  • Users of the REST API and noscript pages will only see the first post of a collapsed series.
  • If some posts in a discussion aren't visible to everyone (deleted, under approval, shadow hidden, etc.) a collapse series might be broken in 2 for reasons the visitor cannot see. This shouldn't break the navigation but not all combinations have been tested.
  • Using database table prefixes might break the extension.

Installation

composer require clarkwinkelmann/flarum-ext-collapsible-posts

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links

统计信息

  • 总下载量: 776
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固