[NICK97] XFRM: Resources Icon - XF2

XF2 [NICK97] XFRM: Resources Icon - XF2 2.3.3

Modify resource icon width and height with new feature
Thank you for your unwavering support and assistance in enhancing this add-on further. This version includes several three more bug fixes.

Full Changelog(s):

  • Fixed: In ThemeHouse bookmark views, the resource bookmark still showed the extra separated user avatar badge on top of the resource icon.
  • Fixed: In featured resource cards and category carousels, the custom icon CSS was not loading, so the page fell back to the raw uploaded image size.
  • Fixed: On the main resource list, wide resource thumbnails were overlapping the title text because the icon column was being collapsed back to XenForo’s default width.
Thank you for your unwavering support and assistance in enhancing this add-on even further. This version of the XF2 Add-on includes fixing several bugs fixes and improving compatibility support for XF 2.3+

Full Changelog(s):

  • Rewrote templater setup to use a dedicated, strongly typed `renderXmIcon()` method.
  • Replaced the outdated `templaterFnXmIcon()` function.
  • Implemented stricter type hints and PHP 8.1+ syntax compliance.
  • Removed duplicate/empty `href=""` attributes.
  • Added attribute escaping for both `src` and `alt`.
  • Ensured valid and accessible `<a><img></a>` output.
  • Added detailed inline docblocks for IDE and static analyzer support.
  • Cleaned legacy header comment; modernized for consistency.
  • Verified against updated `\XF\Template\Templater` callable patterns.
  • Ensured proper event listener registration under `templater_setup`.
  • Updated to work cleanly with the latest PSR autoload and event behavior in XF 2.3+.
  • Removed unused/invalid file
    • Namespace/EventListener/MacroRender.php` – Invalid namespace (`MacroRenderr`) and unused stub removed.
Thank you for your support and helping me to improve this add-on even better than before. This version includes several bug fixes with [NICK97] XFRM: Resources Icon - XF2 add-on in the XF2 Add-on!

Full Changelog:
  • XF 2.3 compatibility
  • XFRM 2.3 compatibility
  • Minor bugs fixes and improvements
  • Fixed (134w x 179H (Reported by @pinballnirvana)
  • Fixed explanation text for resource icon size was not point to styles options
  • Fixed holidays styling was still displaying while the holiday was still active in resource icon
  • Fixed holidays styling was still displaying while the holiday was still active in xfrm widgets
  • Fixed some templates modifications was not applied after upgrading to XF 2.3
  • Moved the resource icon width to styles properties
  • Moved the resource icon height to styles properties
  • Templates have been updated in accordance with the XenForo 2.3.x structure.
Note: This version will require XenForo 2.3.0 or newer!

Attachments

  • [MySite.com] [NICK97] XFRM: Resources Icon - XF2
    n97_resourceIcon_styles_properties.webp
    21.4 KB · Views: 128
Thank you for your support and helping me to improve the add-ons even better than before. This version includes new features and bug fixes in some areas of the XF2 Add-on!

Full changelog:
  • Bug: Restored missing data folder from previous updates (Thank you @XenConcept for reporting this issue)
  • Updated the add-on.json file
  • Updated the copyright footer with new updated url and copyright year
  • Bump this add-on XF requirement to 2.2.15 or newer (This is due to I am taking security and privacy very seriously on both of my website)
  • Bump this add-on php requirement to php 8.2.0 or newer (This is due to I am taking security and privacy very seriously on both of my website)
  • Bump this add-on XFRM to 2.2.5 or newer (This is due to I am taking security and privacy very seriously on both of my website)
Note: This version will be one of the last releases that’s will be supported with XenForo 2.2.x and newer updates will require XenForo 2.3.x or later!

Note: Once xenforo 2.3 officially releases to everyone I will not be providing any support and updates for xenforo 2.2 and lower (This is due to I am taking security and privacy very seriously on both of my website)
Full changelog:
  • Forgotten to include the Resources icon way to big when selecting discussion tab into the build zip file
  • Increased php version to 7.2.0 from 5.4.0 in addon.json
  • Added XenForo Resources Manager requirements in addon.json
  • Renamed this add-on to [NICK97] XFRM: Resource Icon from [NICK97] Resource Icon
Full changelog:
  • Bug Fixed Resources icon way to big when selecting discussion tab
  • Added support for featured resources icon
  • Added some resources icon improvements
Known Issue:
  • Resources icon not changeing side ether then 250px - 150px
Full changelog:
  • Improvement to the option page
  • Bug Fixed XenShop branding option is not display in the footer
Back
Top
Cart