定制 the-turk/flarum-stickiest 二次开发

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

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

the-turk/flarum-stickiest

最新稳定版本:3.0.1

Composer 安装命令:

composer require the-turk/flarum-stickiest

包简介

Stick, super stick or tag stick discussions to the top of the list.

README 文档

README

MIT license Latest Stable Version Total Downloads

Stick, super stick or tag stick discussions to the top of the list.

Screenshots:

Stickiest Modal

Installation

composer require the-turk/flarum-stickiest:^3.0.0

If you ever see an error like General error: 1824 Failed to open the referenced table 'tags' ... while activating 3.0.x, check if the engine for the tags table is InnoDB or not. If not, try switching that to the InnoDB then run and try activating again:

-- make sure you have that db backup.

DELETE FROM `migrations` WHERE `migration` = '2021_07_04_000003_set_default_settings' AND `extension` = 'the-turk-stickiest';
php flarum migrate:reset --extension the-turk-stickiest
DROP TABLE `discussion_sticky_tag`;
php flarum migrate

Updating

composer update the-turk/flarum-stickiest
php flarum cache:clear

Don't forget to run migrations if you're upgrading from 2.0.x

composer require the-turk/flarum-stickiest:^3.0.0
php flarum migrate
php flarum cache:clear

If you have "foreign key" error while running migrations, see "Installation" notes.

Usage

You may find this complicated in first use but I bet you'll get used to it.

Enable the extension and set the permissions, choose a badge for super stickied discussions if you like. Click on the "Sticky" button like you're using the flarum/sticky extension and read the descriptions within the modal.

Links

统计信息

  • 总下载量: 18.53k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 18
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-25