Download the PHP package walsgit/flarum-discussion-cards without Composer
On this page you can find all versions of the php package walsgit/flarum-discussion-cards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download walsgit/flarum-discussion-cards
More information about walsgit/flarum-discussion-cards
Files in walsgit/flarum-discussion-cards
Package flarum-discussion-cards
Short Description Output of discussions lists in form of cards
License MIT
Informations about the package flarum-discussion-cards
Flarum Discussion Cards
A Flarum extension (Fork of @Dem13n
's discussion-cards). Allows you to display discussions in the form of cards, the first image of the first post is used as a preview, if there are no images, a stub is displayed.
This fork adds new features
where you can now set custom cards settings per tag page (different default image along with number and width of primary cards).
On the index page
(all discussions), if a discussion has multiple tags with their own custom image set, the displayed image will be chosen according to these priority rules:
Also it changes how the setting to distinguish between read & unread discussion cards work: now the read discussions are filtred with a grayscale instead of the unread ones. As of 1.2.0
read discussion cards a no longer filtered with a grayscale but have just a lighter title and text.
3rd party extension support
flarumite/simple-discussion-views
: show discussion view count on cards- As of version
1.1.0
added support for thev17development/flarum-blog
extension. If activated, you can set to use the blog's extension images for blog posts' cards and/or their article summary as preview text on the cards. - As of version
1.2.0
added support for theshebaoting/repost
extension. If activated, you can set it so that when you click on the cardtitle
of a discussion starting with a url, it will open that url, and clicking anywhere else on the card will open the discussion as usual.
Notes
- Developed and tested on Flarum 1.8.7 then tested on 1.8.8.
- Thanks to whomever suggested on Discord to use the tags selection component (sorry, we can no longer access the messages on Discord to mention them properly).
- New settings page inspired by
Friends of Flarum
's Best Answer Extension. - Additional tags settings based on
@askvortsov
's Discussion Templates Extension. - Developped this with the help of AI (mainly ChatGPT, Cody & Gemini).
Installation
Install with composer: