- Compatible XF Versions 2.x
- 2.0, 2.1
This add-on uses the XF2 'embed metadata' system to store the mentioned users with each message. This means that for any message created after this add-on is installed, there will only be one additional query per thread for the user avatars.
For messages created before this add-on is installed, there is an option to control what you wish to happen. This provides three alternatives:
- Always [load legacy mentions]
This will only show an avatar with pre-addon message mentions, either loading the user from the entity cache, or querying the database for the user if it isn't cached. This can cause an increase in per-page queries, depending on the number of mentioned users that are in the entity cache.
- [Load] Cached only [legacy mentions]
This will only show an avatar with pre-addon message mentions if the mentioned user is in the entity cache.
- Never [load legacy mentions]
This will not show avatars for mentions in pre-addon messages.