BBCode - Cards
Abandoned
A Flarum extension which adds a [card] BBCode. This gives users a way to make links stand out like never before! You will see a screenshot below, but also, at least as of the time of posting this, you can see this live at the following forum (last item in post): https://www.sitbreathe.be/d/1-bbcode
You can switch the color of the card easily as you will see in the example below.
This is not an auto link preview card extension (I wish). This is just a manual way, to fairly quickly, type in a BBCode which will make a link stand out - you can't miss it. It's a big, colorful card.
A future version may allow the ability to replace the link icon with an image.
This should work for most Flarum installations. The most common issues with these BBCode extensions has to do with caching. Or, perhaps due to how you have Flarum installed, you may have to edit the path to the CSS file in extend.php, line 17 (see here).
Install
composer require zerosonesfun/bbcard
Update
1) composer update zerosonesfun/bbcard
2) Deactivate and reactivate the extension in your admin.
3) Go to your dashboard, click tools, click clear cache.
4) Clear your browser cache, and any other caches like Cloudflare, if applicable.
Uninstall
composer remove zerosonesfun/bbcard
Usage
[card link="https://google.com" title="The Link" text="This is what the link is about." color=green]
(Default color is blue. If you like that color then you do not need to type the color attribute at all. Available colors are: pink, green, orange, red, yellow, purple, blue, gray.)
Screenshot (of green version)
Don't like the shadow around the card? I can see someone not liking this. But, it's easy to remove with custom CSS:
.card {
box-shadow: none;
}
Link to code
https://github.com/zerosonesfun/bbcard