TB54 ... to be able to click on the red button here, to access to all the sticky topics.
Actually we've gambits (is:sticky
, is:stickiest
, is:tagSticky
) for that purpose. See https://discuss.flarum.org/d/28333-flarum-search-tips-and-tricks
TB54 So yes, the "behave like a regular discussion" in "all discussion tab" would definitely be the best option.
Done! Check the settings after upgrading to 3.0.0
TB54 It works when you're online, but not when you're offline (in that case, they all appear at the top):
If I understand you correctly; that's not an issue, it's a default sticky behaviour of Flarum. When you switch to the "All Sticky" mode, it'll act like you're using the bundled flarum/sticky
extension.
TB54 I can not directly "de-stycky" a topic which is "tag-sticked".
This isn't an issue anymore with 3.0.0
!
3.0.0
Requires Flarum v1.2.0+ & flarum/tags
& flarum/sticky
- Add new modal component (replaces discussion control items).
- Add new option for displaying tag-stickied discussions in the "All Discussions" list.
- Add new label for super-tag-stickied discussions. (+ new
Stickiest-tagStickiestItem
class for discussion list items.)
- Update js dependencies and imports.
Also fixes some mistakes on order logic.
!! Breaking change: Your current tag-sticky configurations will be lost. They magically will stay as just-sticky.
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 ever see an error like General error: 1824 Failed to open the referenced table 'tags' ...
while activating this version, 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