[XTR] User Group Banners

[XTR] User Group Banners 1.0.5

No permission to buy ($20.00)
In this update, based on valuable community feedback, we focused on system stability, front-end performance, and robust banner image caching.

What's New in This Version?
  • Flawless Image Banner Display: Fixed an issue where image-based banners could revert to plain text after forum updates or cache rebuilds. The system now automatically keeps your banner images visible and active under all conditions.
  • Faster and Lighter Interface: The icon picker in the admin control panel has been optimized. Unnecessary background processes have been removed, making group editing and banner configuration faster and smoother.
  • Clean Storage Management: Deleted user groups now automatically have their uploaded banner images removed from your server, saving storage space and keeping your directories tidy.
We recommend all users upgrade to 1.0.5 to enjoy an enhanced and trouble-free experience.

Thank you for your continued support!

Fixes & Improvements:
  • Fixed: Resolved an issue where image-based banners could temporarily lose their styling and appear as plain text following forum updates or cache rebuilds.
  • Fixed: Enhanced image upload handling when creating new user groups from scratch.
  • Improved: Optimized the admin icon picker tool to eliminate unnecessary CPU usage and provide a smoother experience.
  • Improved: Automatically purge uploaded banner image files from the server when a user group is deleted.
  • Improved: Strengthened security escaping for banner text and image attributes.
With this major update, the XenTR User Group Banners add-on has been completely refactored from the ground up to ensure full compliance with the modern architectural standards of XenForo 2.3.

During our development process, we modernized our template structures to maximize user experience (UI/UX) and rendering performance. We have transitioned from traditional alignment methods to an advanced, fully responsive Flexbox architecture. Thanks to this structural optimization, all pixel shifts across desktop, tablet, and mobile devices have been eliminated, achieving a pixel-perfect symmetry regardless of the device footprint.

  • [Changed] The add-on infrastructure has been modernized to align with XenForo 2.3 coding standards, and style templates have been rewritten utilizing a flexible Flexbox architecture.
  • [Changed] CSS/LESS selectors have been optimized, transitioning to more fluid and specific rule sets to enhance rendering performance.
  • [Fixed] Perfected the alignment and proportional scaling behaviors of postbit components on narrow-screen mobile devices (responsive design).
  • [Fixed] Synchronized and standardized the width variations between CSS-based banners and SVG/PNG image banners within desktop vertical postbit structures.
  • [Fixed] Recalibrated alignment parameters in mobile views to ensure seamless integration with the profile (Member View) architecture of XenTR styles.
  • [Improved] Enhanced the spacing (margin/gap) and alignment hierarchy in multi-banner scenarios by implementing modern box models.
This minor maintenance update (1.0.3) addresses a responsive design flaw that caused user group banners (both CSS and Image types) to stretch uncontrollably and break the layout on narrow-screen mobile devices or when utilizing the horizontal postbit view.

Bug Fixes
  • Fixed: Resolved a flexbox and width conflict that caused both CSS-based and Image-based banners to stretch to 100% width on mobile devices, breaking the visual hierarchy.
  • Improved: Integrated XenForo Core media queries (@xf-messageSingleColumnWidth) into the banner CSS templates. Banners will now exclusively stretch to full width (width: 100%) on desktop (vertical postbit) views, while gracefully falling back to a compact, inline layout on mobile devices to perfectly match XenForo's default responsive behavior.
This update for the XENTR User Group Banners add-on removes the "Global CSS Cache" rebuilding process to prevent sudden CPU spikes on high-traffic forums (Big Boards), and eliminates the use of the Data Registry to optimize memory (RAM) consumption. All file validation and SVG sanitization processes have been migrated to a newly created Service Class (UploadService), fully complying with XenForo's MVC standards.

Optimization & Performance
  • Changed: Stopped the unnecessary loading of the FontAwesome icon list into memory via the global Data Registry on every page load.
  • Improved: Removed the Global Style Cache rebuilding process, which was triggered after banner edits and caused CPU spikes by needlessly recompiling all forum CSS.
  • Refactor: Completely overhauled the banner color generation system. Instead of manually generating CSS strings on the PHP side, the infrastructure has been upgraded to utilize modern Inline CSS Variables, which work instantly with the XenForo template engine.
Architectural Changes
  • Added: Created XENTR\UserGroupBanners\Service\Banner\UploadService in accordance with XenForo Core standards to abstract the SVG upload, validation, and sanitization processes away from the "Fat Controller" logic.
  • Added: Included the fnXentrUgbInlineStyles helper function within the Templater to systematically resolve dynamic color variables across both the admin panel and public-facing templates.
This small but important update addresses a visual layout issue regarding user group banner images.

Previously, when the message user info block (postbit) was set to a horizontal layout on custom themes (like Zenitho), a style conflict caused the banner images to display at incorrect sizes. With this refinement, your banner images will now adapt and scale perfectly without any styling issues, regardless of whether you choose the "First post horizontal" or the global "Horizontal" layout option.
  • Fix: Resolved a sizing issue with user group banner images when the message user info block position is set to "Horizontal".
Back
Top Bottom