Architecture Upgrade — Removed Global Event Listener: Replaced the templater_global_data listener with direct on-demand repository evaluation inside publicAGE_CONTAINER and native <xf:css> injection (retaining a safe empty stub in Listener.php so overwriting 1.0.x files via FTP/Archive Installer neutralizes old listeners immediately). The add-on now registers zero code event listeners, guaranteeing Admin CP, CLI, API, and redirect responses are never intercepted.
AJAX Live-Swap Fix: Initialized global $xf template parameters and active style via preRender() before rendering the AJAX notice block, ensuring dismiss buttons, autoplay intervals, prefixes, and custom style properties render identically without a page reload.
Performance Optimization: Eliminated N+1 SQL queries in PinnedNotice::getPinnedThreadsForDisplay() by removing unused attachment lazy-loads, conditionally joining FirstPost only when snippets are enabled, and eager-loading node permissions (Forum.Node.Permissions) into a single query.
New Option — Extended Display Location (forum_list_view): Added "Forum list and forum view" display location option (supporting standard, article, question, suggestion, and search forum views).
New Option — Maximum Notices to Display (fx_thread_notice_max_items): Added configurable cap on the number of pinned threads shown at once (default: 5).
New Option — Display Order (fx_thread_notice_order): Added support for displaying notices by Newest pinned first, Oldest pinned first, or Random order on each page load (performed in-memory with zero ORDER BY RAND() SQL overhead).
New Option — Show Thread Prefix (fx_thread_notice_show_prefix): Added support for displaying native XenForo thread prefix badges next to pinned thread titles.
New Option — Show Post Snippet (fx_thread_notice_show_snippet): Added toggle to show or hide post excerpts, automatically switching to a compact single-line bar when disabled.
Complete Option Phrasing & Naming Cleanup: Phrased all radio/select option values ({{ phrase(...) }}) for full multi-language support and standardized naming to [FX] Thread Notice.
Smart Dismiss & Storage Safety: Dismissal now tracks pinned thread IDs so newly pinned announcements automatically reappear even if previous notices were dismissed, with full try/catch protection for strict browser privacy modes.
XenForo 2.3+ Native Architecture: Built strictly with XenForo 2.3 Entity lifecycle hooks (Notice), PinnedNoticeRepository, and full Class::class FQCN resolution.
Fixed a fatal error (Call to undefined method XF\Mvc\Reply\Redirect::getTemplateName()) in FX\ThreadNotice\Listener::templaterGlobalData when Display location is set to Forum list only and XenForo returns a non-View reply (such as Redirect, Error, or Message).
Scoped templaterGlobalData strictly to public frontend requests (XF\Pub\App) and skipped unnecessary database queries on redirect responses.