Content Ratings for XF2.1+

xF2 Add-on Content Ratings for XF2.1+ 2.6.1

No permission to download
  • Force global namespace for functions which are known to be optimizable to bytecode in php
  • Support storing height/width for non-sprite images, as to avoid page reflows and improve Core Web Vitals
    • Helper method fetches the public reaction images and extracts height/width as required
    • If using Svg Template, recommend Svg Template v2.3.2+
  • Fix that "small" and "medium" reaction icon css was not implemented (ie reactions in alerts)
    To revert, edit sv_contentratings.less in your default style and remove the &.sv-rating-type--small { ... } and &.sv-rating-type--medium { ... } blocks
  • Fix "XF template" feature did not save a value
  • Support Svg Template add-on (free) in "XF Template" feature.
    Entering a template name ending in 'svg' (ie example.svg) will render as a link instead as an inline template
  • Fix reaction list for visible but not usable reactions not displaying
  • Fix that reacting to content with a visible but not usable reaction removes the non-usable reaction from displaying on the content
  • Like
Reactions: TheMechanic
  • Fix inline reaction bar & in-place of XF react button consuming more space than expected for the list of reactions
  • Require Standard Library by Xon v1.2.1+
  • Fix possible MySQL 8.0+ compatibility issue when upgrading
2.2.3 - Maintenance update
  • Compatibility update when resolving an extended class to the root class
  • Require Standard Library by Xon v1.2.0+
2.2.2 - Bugfix update
  • Actually implement "Display 'remove' instead of XF reaction title+color" style property
2.2.1 - Bugfix update
  • Fix "Display reaction titles alongside icons" style property being ignored
2.2.0 - XF2.2 compatibility update
  • Like
Reactions: Drasien
  • Fix enabled but empty white-list for reaction restrictions to work as intended
  • When extended non-core content types, fix incorrect css being applied in fallback case resulting in sprite-based reaction icons not displaying as expected
  • Like
Reactions: noop and SpinXO
  • Workaround for older browsers which can't handle inline-flex
  • Fix deleting reaction on XFMG/XFRM which triggers template warnings
  • Fix thread first post's reactions linking from thread list
  • Fix emoji reaction sizing issues
  • Fix that the style properties "Reaction"/"Reaction icon"/"Reaction icon container"/"Reaction text" where not applying
  • Like
Reactions: noop and SpinXO
  • Reduce deadlocking when updating user records by ensuring a consistently ordering is used when applying updates
  • Fix removing reactions did not show, and rework UI to be saner
  • Respect 'small' and 'medium' sizes in relevant places in the UI
  • Emoji/Text reactions font-sizes are now style-property controlled instead of picking up the ambient size
  • Like
Reactions: SpinXO
  • Fix reaction counts not incrementing for new users when using MySQL/MariaDB json functions, requires a rebuild of reaction counts to correct
  • Fix edge case where reaction counts may decrease after a manual rebuild when configured not to
  • Like
Reactions: SpinXO and IamDan
Top