v1.1.0
Banners can now be pointed at particular discussions instead of showing up in every one, and you can have as many banners as you like.
Banners are a list now. Add as many as you want on the settings page. Each banner has its own placement (above the discussion, below it, or repeated between posts), heading, content, accent color, icon and audience, so two discussions can carry completely different notices.
Each banner picks where it appears:
- All discussions, the same as before
- Only the discussions you choose, found by searching for them by title (pasting a discussion link or ID works too)
- Only the discussions in the tags you choose
- All discussions except the ones you choose
Your current banners are kept. The three you already have are converted into the new list when you run php flarum migrate, each set to appear in all discussions, so nothing on your forum changes until you decide to target one.
A banner meant for one discussion is never sent to somebody reading another, and discussion lists no longer carry any banner data at all.
Two smaller things: the settings page no longer jumps wider when you open a banner, and icons you uploaded but no longer use are cleaned up when you save.
Still one release for both Flarum 1.8 and 2.x.
To update:
composer update linkrobins/discussion-banners
php flarum migrate
php flarum cache:clear
Full notes: https://github.com/linkrobins/flarum-discussion-banners/releases/tag/v1.1.0