New Posts Filter 1.1.1

XF 2.3 New Posts Filter 1.1.1

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
New Posts Filter 1.1.1

XF 2.3 New Posts Filter 1.1.1

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet New Posts Filter 1.1.1
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 1
Affichages Affichages 4
Réaction Réaction 0
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 885
Messages
12 716
Solutions
85
J'aime
7 956
Points
198
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)
Télécharger V1.0.0 :

Version 1.1.1 :
- Fixes a TypeError on the What's New / New Posts page that could occur on fresh installs when exclusion data had not been initialized yet. Also normalizes existing exclusion values during upgrade so older NULL data is converted safely.

Télécharger V1.1.1 :
 

Pièces jointes

  • 01-admin-options.webp
    01-admin-options.webp
    40.5 KB · Affichages: 1
  • 02-account-excluded-posters.webp
    02-account-excluded-posters.webp
    32.1 KB · Affichages: 3
  • 03-account-sidebar-nav.webp
    03-account-sidebar-nav.webp
    12.6 KB · Affichages: 2
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas