Font Awesome Manager

XF2 Addons Font Awesome Manager 1.2.6
Control and manage your Font Awesome icons - speed up your site!

Compatible versions
2.0, 2.1, 2.2
XenForo uses the icon font Font Awesome Pro 5 that contains over 7.000 icons of which XenForo typically uses only a few hundred.
But as all icons are included in the CSS and font files, browsers have to download the full font files and CSS which does cause a significant overhead in most cases.

By subsetting the font to include only those icons that are actually being used, the size of the font files and CSS can often be drastically reduced which does improve page loading time.
Typically, the size of the font files can be reduced by over 80%.

This Add-on does allow to automate the process of creating subsets as much as possible:
  • It can automatically scan the database and PHP files for Font Awesome icon references
  • It can monitor database entities (like Phrases, Templates, BB-Codes, etc.) for changes and adjust the subset accordingly
  • It can perform subsetting using locally installed fonttools/pyftsubset or transfonter.org
  • It does allow you to easily add icons that are not discovered automatically
  • It does allow you to exclude icons that have been discovered automatically but are not actually being used (for example if the feature that uses them is not being used)
  • It can exclude certain templates or files from being scanned (which can be useful if those reference icons without actually using them)
  • It does offer various strategies to load subsets and CSS
  • It does support AMPXF
If pyftsubset is not available, this Add-on does use https://transfonter.org to create the subsets, eg. it does make calls to this service during installation and normal operation.

Transfonter.org cannot be used any longer since about January 2022 as the service is actively blocking requests by XenForo.
Please note that it is therefore now a requirement for this Add-on to have pyftsubset/fonttools installed on your server.
If pyftsubset cannot be installed system-wide for whatever reason, it might still be possible to use a precompiled binary.

Thanks to @Andro, @rdn, @Nirjonadda, @frm, @Ivancas, @Anatoliy, @briansol, @Masetrix, @duderuud and all others who helped in private beta testing.
This Add-on wouldn't be as usable as it is (well at least I think it is usable ;)) without your feedback!
  • fam-options.png
    fam-options.png
    83.4 KB · Views: 41
  • fam-style-properties.png
    fam-style-properties.png
    45 KB · Views: 44
FateKid
Author FateKid
Level
11
5,910 pts
1.2.6 Version
5 Downloads
371 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

Font Awesome Manager provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom