Closed therealmaxmoon closed 10 months ago
We should update the link in the extension. It used to point to the v5 icon set but since FontAwesome released v6 the old links automatically points to the newer version. The v5 icons can be found at https://fontawesome.com/v5/search
But no matter if you use v5 or v6, the icon you mention doesn't exist. There's no YouTube icon in solid style, it's only in the brand style, so fab fa-youtube
If you are missing some of the latest v5 icons, you can also update the FontAwesome Packagist package, but this is unlikely to be necessary since it updates with Flarum and has not received any new version for a long time now.
FYI, components/font-awesome
has received updates for a while now. They were slow for a bit, I believe, but now it seems up to date. However, you can't update to v6 since that breaks Flarum (see https://github.com/flarum/issue-archive/issues/4).
However, you most likely already have the latest v5 version (5.15.4
) since Flarum requests ^5.15.0
.
There's no YouTube icon in solid style, it's only in the brand style, so
fab fa-youtube
I didn't know this, because on the config page of the extension it says:
Enter the name of any [FontAwesome](https://fontawesome.com/icons?m=free) icon class, including the fas fa- prefix.
So I used the prefix how I was asked to and added the icon class name. Would be nice to remove the part where the user is asked to use a specific prefix, but maybe tell them to use the connecting font awesome prefix in general.
However, you can't update to v6 since that breaks Flarum (see flarum/issue-archive#4).
Good to know, thanks a lot. :)
It worked with fab fa-youtube
and fab fa-mastodon
.
Oh right, I see how this is misleading.
The old v5 FontAwesome page provided a way to copy the entire fa* fa-*
text directly so I guess people didn't even notice there were also fas
and fab
prefixes.
The help text should probably say this is an example.
Bug Report
Current Behavior After installing the fof links extension, I wanted to add some links with icons from font awesome. On the config page it shows a link to Font Awesome and I've chosen free icons. Some of them don't show up:
Steps to Reproduce
Expected Behavior I expected to see the icons, which are on the Font Awesome website.
Screenshots
Environment Fresh installation of Flarum