DGT Girl

XF-Addon New Posts Filter 1.0.0

No permission to download
Compatible Versions
2.3
Visible Branding
No
Allows admins to globally exclude users from the New Posts feed site-wide, and optionally lets individual users manage their own exclusion lists, without using the global Ignore feature.

Features:
  • Admin global exclusions - specify users in AdminCP whose threads are hidden from the New Posts feed for ALL users site-wide. Uses XenForo's native token-input autocomplete.
  • Per-user exclusion lists - users manage their own exclusions from Account > Excluded from New Posts (can be toggled off by admin)
  • Filters both thread creators and last posters from the feed
  • User autocomplete for adding users
  • Sidebar navigation link added next to "Ignoring"
  • 200-user per-user exclusion cap for performance safety
  • Zero additional queries - uses data already loaded with the visitor profile

Admin Options (AdminCP > Options > New Posts Filter):
  • Globally excluded users - token input with autocomplete. These users' threads are hidden from New Posts for everyone.
  • Allow per-user exclusions - on/off toggle (default: ON). When disabled, the account page and sidebar link are hidden.

How it works:
Admins can add users to the global exclusion list in AdminCP > Options > New Posts Filter. Those users' threads will be hidden from the New Posts feed for all visitors site-wide.

Additionally, individual users can go to their Account page and click "Excluded from New Posts" in the sidebar to manage their own personal list. Threads started by or last replied to by excluded users will no longer appear in their New Posts feed.

This is different from the built-in Ignore feature - ignored users are hidden everywhere (posts, conversations, etc.). This addon only affects the New Posts feed, leaving all other interactions intact.

Installation:
Upload the ZIP via Admin CP > Add-ons > Install/upgrade from archive.

Technical details:
  • Per-user exclusions stored as JSON on xf_user_profile (no new tables)
  • Global exclusions stored as XF option (array of user IDs)
  • Hooks into ThreadHandler::applyFilters(), merges global + per-user lists
  • Uses fastUpdate() for efficient single-column writes
  • Full uninstall cleanup (drops column on removal)
  • 1.webp
    1.webp
    42.8 KB · Views: 0
  • 2.webp
    2.webp
    33.9 KB · Views: 0
  • 3.webp
    3.webp
    12.9 KB · Views: 0
Author
DGT Girl
First release
Last update

Ratings

0.00 star(s) 0 ratings
Back
Top