- Compatibile XF2 versions
- 2.3
Improve XenForo mentions with context-aware user suggestions and configurable group mentions.
This add-on makes mentioning users faster and more relevant by prioritizing people involved in the current discussion. It also adds managed aliases such as @mods for notifying selected user groups with permissions, limits, and delivery controls.
Features:
Context-Aware Suggestions: Suggest relevant users based on the current thread, conversation, profile post, or profile post comment.
Instant Mention Suggestions: Open the suggestion list immediately after typing @.
Contextual Ranking: Prioritize the content owner, followed users, previous mention recipients, and active participants.
Global User Fallback: Include matching forum users as characters are entered, except in conversations.
Original Poster Shortcut: Use @OP to quickly mention the thread starter.
Usernames With Spaces: Support autocomplete searches for usernames containing spaces.
Configurable Suggestions: Configure result limits and which contextual sources affect suggestions.
Group Mentions: Create aliases such as @mods that mention members of configured user groups.
Custom Group Icons: Use a Font Awesome picker or upload a custom image for each group suggestion.
Sender Restrictions: Control which user groups are allowed to use each group mention.
Recipient Limits: Limit the maximum number of group mention recipients per message.
Mention Cooldown: Configure how frequently users can send group mentions.
Recipient Opt-Out: Allow members to disable group mention notifications.
Access-Aware Delivery: Notify only recipients who are still eligible and able to view the content.
Duplicate Prevention: Prevent duplicate notifications when recipients belong to multiple mentioned groups.
Edit-Aware Mentions: Process only newly added group mentions when a post is edited.
Approval Queue Support: Delay group mention notifications until moderated posts are published.
Background Delivery: Process larger recipient groups in the background for better performance.
Username Priority: If a manually typed alias matches an existing username, the username takes precedence.
Excluded Contexts: Group mentions inside quotes, code, links, or existing user mentions do not trigger notifications.
Overlapping Groups: A recipient receives only one notification per post even when included in multiple mentioned groups.
Post Edits: Only newly added groups can trigger notifications. Removing and re-adding a previously mentioned group does not resend alerts.
Recipient validation: Membership, sender permissions, content access, ignore settings, and alert preferences are checked before delivery.
Group Mention Setup:
- Open the Mention groups page in the ACP and create a group mention.
- Choose an optional Font Awesome icon or custom image, the recipient user groups, and the user groups allowed to send the mention.
- Grant senders the Mention groups permission and configure a positive Maximum group mention recipients per message value.
- Configure group mentions and the cooldown in the add-on options.
- Select a group from the mention suggestions or type its complete alias, such as @mods.
FAQ:
Where are contextual mention suggestions available? In threads, conversations, profile posts, and profile post comments. Conversations only suggest users relevant to the conversation and do not include global user results.
Why does the suggestion list open immediately after typing @? The Empty Mention Lookup option enables suggestions before any username characters are entered. Disable it to show suggestions only after the user starts typing a name.
How are users ordered in the suggestion list? Exact username matches receive the highest priority. Other results are ranked using the content owner, participants, followed users, previously mentioned users, and activity depending on the current context and configured options.
Where does the @OP shortcut work? In threads. It resolves to the thread starter when Original Poster Shortcut is enabled. OP is reserved and cannot be used as a group alias.
Where can group mentions be used? In thread posts. Users can select a group from the mention suggestions or enter its complete configured alias, such as @mods.
Why can a user see a group but not mention it? The sender must have the Mention groups permission, a positive recipient limit, and belong to one of the group's allowed sender user groups. Group mentions and the individual group must also be enabled.
What happens if a group alias matches a username? For manually typed mentions, the existing username takes precedence. Selecting a group from the suggestion list explicitly identifies the group.
Will editing a post send duplicate group alerts? No. Only newly added groups are processed, and each recipient is notified at most once per post even when multiple groups overlap. Removing and re-adding the same group does not send another notification.
Are recipients checked again before an alert is sent? Yes. Content visibility, sender authorization, group membership, recipient access, ignore settings, and alert preferences are checked before delivery.
What happens when a group is renamed or deleted? Renamed groups continue to display their current alias. If a group is deleted, existing mentions remain readable but no longer generate notifications.
Useful for:
Active Discussions: Quickly mention users already participating in a thread.
Team Mentions: Notify moderators, staff, or other configured groups using simple aliases.
Thread Authors: Mention the original poster instantly with @OP.
Conversations: Prioritize recipients and relevant participants when mentioning users.
Profile Discussions: Suggest profile owners and commenters automatically.
Group Notifications: Reach relevant groups without manually mentioning every member.