Resource icon

Beta Mentions Mini Avatars 1.1.0 Beta 3

No permission to download
Compatible XF 2.x versions
2.0, 2.1
License
MIT
Visible branding
No
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.
Author
Liam W
Downloads
96
Views
727
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Liam W

Latest updates

  1. 1.1.0 Beta 3

    Fix error caused by incorrect visibility on overridden method
  2. 1.0.0 Beta 2

    Add option to remove the '@' character from mentions Add various style properties Extend caching...

Latest reviews

I'm using this resource on my live Forum installation and is working fine. Very useful to a more deep experience for your Community. My users love this addition and cannot live more without it.

No bugs logged on my server or any problems that i noticed. And the support from Liam W is famous around this parts. Go for it, don't mind about the "Beta", is fully operational.

I can recommend for sure.
Top