Fixed User mentions render inside custom bbcode


Well-known member
Affected version
Consider you want to create a bbcode [myraw] which does nothing. In order to prevent simlies and nested bbcodes rendering, you check the following checkboxes in "Advanced options":


But user mentions will still work inside our custom bbcode but they should not (since we have checked "Disable auto-linking").

The problem is that the list of bbcodes in which user mentions do not render is hardcoded (XF\Str\MentionFormatter).

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.2).

Change log:
Disable user mention parsing within custom BB codes that disable auto linking or BB code parsing
There may be a delay before changes are rolled out to the XenForo Community.