the-turk / flarum-stickiest
Stick, super stick or tag stick discussions to the top of the list.
Installs: 12 935
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 20
Open Issues: 3
Type:flarum-extension
Requires
- flarum/core: >=1.2.0
- flarum/sticky: ^1.0.0
- flarum/tags: ^1.0.0
- dev-master
- 3.0.1
- 3.0.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0-beta.2
- v2.0.0-beta.1
- v1.0.0
- v0.1.0-beta.16
- v0.1.0-beta.15.1
- v0.1.0-beta.15
- v0.1.0-beta.14
- v0.1.0-beta.13
- v0.1.0-beta.12
- v0.1.0-beta.9
- v0.1.0-beta.8
- v0.1.0-beta.7
- v0.1.0-beta.6
- v0.1.0-beta.5
- v0.1.0-beta.3
- dev-analysis-LZmkYw
- dev-analysis-jllZZ9
- dev-sm/update-search-filter-beta16
- dev-ck/adminux-category
- dev-v0.1.0-beta.15.1
- dev-mk/removesAssertPermissionTrait
- dev-search-improvements
- dev-next-back
- dev-analysis-z9nemo
This package is auto-updated.
Last update: 2024-12-07 18:24:31 UTC
README
Stick, super stick or tag stick discussions to the top of the list.
Screenshots:
- Super Sticky Discussion in All Discussions List
- Super Sticky & Tag Sticky Discussion in Tag's Discussion List
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.