FX - Thread Notice

FX - Thread Notice 1.1.0

每日幸运任务后可免费下载
XF 兼容性
  1. 2.3.x
  2. 2.2.x
Summary
Thread Notice is a high-performance add-on for XenForo that enables administrators and moderators to pin important threads into an interactive Notice Slider, providing a clean interface with customizable labels, category badges, and pagination controls, while maintaining native styling and seamlessly integrating with the platform.
thread-notice.webp

Thread Notice is a high-performance add-on for XenForo that enables administrators and moderators to pin important threads into an interactive Notice Slider, providing a clean interface with customizable labels, category badges, and pagination controls, while maintaining native styling and integrating with the platform

  • A clean "Pin to Notice Slider" / "Unpin from Notice Slider" action link is integrated directly into the thread's More options (...) dropdown menu.
  • Seamless AJAX switching with data-xf-click="switch": toggles the link label and state instantly with a confirmation toast message without page reloads.
  • Uses a dedicated database table (xf_fx_thread_notice) and an indexed column on xf_thread.
  • Looks and feels like a native XenForo Notice block/slider with a modern aesthetic:
    • Notice Badge: Customizable label (📌 Notice, Featured, Hot, News...).
    • Forum Category & Thread Author: Displays the category badge alongside the thread author's avatar.
    • Thread Title: Clickable link pointing directly to the discussion.
    • Clean Content Snippet: BBCode-stripped multi-line excerpt preview.
    • "View Thread" CTA button for quick access.
  • When 2 or more threads are pinned, it transforms into an interactive carousel:
    • Smooth slide rotation with configurable intervals.
    • Previous (<) and Next (>) arrow controls.
    • Dot pagination indicators showing active and total slides.
    • Pause on mouse hover & resume on mouse leave.
    • Full mobile touch swipe support.
    • Dismiss button (×) allowing members and visitors to hide the notice for their current browsing session.
Located at Admin CP > Setup > Options > [FX] Thread Notice (admin.php?options/groups/fx_thread_notice/):

SettingTypeDefaultDescription
Enable Notice Slider
fx_thread_notice_enable
BooleanEnabledToggle the notice slider globally across the forum.
Display Location
fx_thread_notice_location
RadioAll pagesChoose between displaying on All pages or Forum list only.
Autoplay Slides
fx_thread_notice_autoplay
BooleanEnabledAutomatically rotate pinned thread slides in the carousel.
Slide Interval
fx_thread_notice_interval
Number5sConfigurable rotation interval between 2 and 60 seconds.
Allow Dismiss
fx_thread_notice_dismissible
BooleanEnabledDisplays a close button (×) for users to dismiss the notice.
Notice Badge Text
fx_thread_notice_badge_text
TextNoticeCustomizable label shown on the badge (e.g. Notice, News, Important).
Color Style
fx_thread_notice_style
SelectPrimaryChoose from Primary, Accent, Subtle, or Dark (fully styled for light and dark themes).
  • Zero Extra Queries: When no threads are pinned, zero extra queries run on normal page loads thanks to caching in XenForo SimpleCache.
  • View Permission Enforced: Automatically checks filterViewable() so users never see notices for threads located in nodes they lack permission to view.
  • Granular Moderator Permission: Dedicated permission flag Pin / unpin thread to notice slider (fxPinThreadNotice) under Forum Moderator Permissions.

  • XenForo: 2.2.0 or higher (fully compatible with XenForo 2.3.x).
  • PHP: 8.0.0 or higher (PHP 8.0 - 8.3+).
  • Database: MySQL 5.7+ / MariaDB 10.3+.

  1. Go to Admin CP > Add-ons.
  2. Click Install / upgrade from archive.
  3. Select the FX-ThreadNotice-1.0.0.zip package and click Upload.
  4. Confirm and follow the installation prompt.
  1. Upload the FX/ThreadNotice directory to your XenForo server at:
    <web_root>/src/addons/FX/ThreadNotice
  2. Navigate to Admin CP > Add-ons and click Install under [FX] Thread Notice.
From your XenForo root directory, execute:

php cmd.php xf:addon-install FX/ThreadNotice

screenshot_1793348391.webp
screenshot_1793348356.webp
screenshot_1793348548.webp
screenshot_1793348513.webp
作者
axtona
浏览
90
扩展类型
zip
文件大小
653.5 KB
首次发布
上次更新
Latest file name
FX-ThreadNotice-1.1.0.zip
MD5
9fbff2611bc8ebf63f8744174ca52801
VirusTotal
View report
评分 0.00 星 0 个评分
链接失效了吗? 发送消息 给 NP 团队,我们会尽快为您处理!
支持开发者 如果您对测试满意或项目已成功盈利,可点击「更多信息」按钮,通过购买来支持开发者!

最新更新

  1. 1.1.0 - change log
    Architecture Upgrade — Removed Global Event Listener: Replaced the templater_global_data listener with direct on-demand repository evaluation...

来自 axtona 的更多资源

Job & Cron Monitor A
The "CLI Job Runner" add-on for XenForo allows users to manually run and monitor their job queues and cron...
AI 论坛BOT A
AI 论坛BOT 2.1.1
ForumBot is an AI-powered managed service that integrates seamlessly into existing forums, providing...
管理员API:只读操作端点 A
This product provides read-only API endpoints for XenForo forums to expose system diagnostics such as...

相似的资源

[XD] Old Thread Notice A
This add-on provides a warning at the top of threads where the last reply is older than a set number of...
浏览
479
已更新
[XTR] Old Thread Notice A
The add-on adds a warning message to threads where the last reply is older than a specified number of...
浏览
473
已更新
自动关闭 + 留言通知 A
Auto Close Thread Notice is a product designed to help manage older discussions in forums by automatically...
浏览
147
已更新
返回
顶部