[Liam W] (RIP) Mentions Mini Avatars

[Liam W] (RIP) Mentions Mini Avatars 2.0.0 Patch Level 1

No permission to download
Compatible XF Versions
  1. 2.1
  2. 2.2
This install-and-done add-on will add user avatars to the left of any mentions of them.

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 always 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.

Note: For this first beta, all messages other than posts will be treated as pre-addon messages, however the metadata is being stored with them for beta 2.
  • Screenshot 2018-12-13 at 03.33.45.png
    Screenshot 2018-12-13 at 03.33.45.png
    314.5 KB · Views: 71
  • Screenshot 2018-12-13 at 03.33.37.png
    Screenshot 2018-12-13 at 03.33.37.png
    182.3 KB · Views: 71
Author
ozzy47
Downloads
31
Views
710
Extention type
zip
File size
102.7 KB
Hash
6f661f1b7e375333d7fa497738f574fa
First release
Last update
Rating
0.00 star(s) 0 ratings

More add-ons from ozzy47

Share this resource

Latest updates

  1. [Liam W] (RIP) Mentions Mini Avatars for XenForo 2.1+ Update 2.0.0 Patch Level 1

    Fix: compatibility with XENTR/RichUsername
  2. [Liam W] (RIP) Mentions Mini Avatars for XenForo 2.1+ Update 2.0.0

    Support: XF 2.2
  3. [Liam W] (RIP) Mention Mini Avatars for XenForo 2.1+ Update 1.0.1

    This update should fix the random editing any thread/post removes the mini avatars and replaces...
Top