User Activity by Xon

xF2 Add-on User Activity by Xon 2.12.2

No permission to download
  • Add "View user activity counters" permission. Control if the 'x viewing now' counter displays for a given user-group
  • Add "View user names/avatars in activity block" permissions. If false, the phrase svUserActivity_viewing_users_are_empty is displayed if it is not empty.
    This can be styled using the css selector #uaThreadViewContainer .empty-list
  • Add "Report View" and "Reports List" as options for displaying viewer counts
  • Split "Reports viewing container position" from "Viewing container position" for reports, the viewing user block has been adjusted reports.
  • Like
Reactions: BattleKing
  • Require php 7.2+
  • Require StandardLib v1.18.0+
  • Require Redis Cache v2.14.0 if redis is used
  • Rename some addon options to read better, not functional changes
  • Improve performance when pruning view-data for large numbers of threads by using batching when writing to redis
  • Like
Reactions: BattleKing
  • Require XenForo 2.2+
  • Require StandardLib v1.11.0+
    • Improve support for rendering templates in the mail & api contexts by correctly injecting template filters/functions into multiple rendering contexts
  • php 8.1 compatibility fix
  • Like
Reactions: BattleKing
  • Fix "[E_NOTICE] Undefined index: id" error on viewing conversation
  • php 7+ type hinting
  • Force global namespace for functions which are known to be optimizable to bytecode in php, or known global functions to avoid a current namespace lookup for the function.
  • Fix forum activity not registering as expected when a node_name is set on the forum
  • Fix logging XF2.1+ reaction events as thread activity & remove old XF2.0 like handling for posts.
  • Replace single svUserActivity_users_who_are_viewing_this_x phrase with various svUserActivity_users_who_are_viewing_this_* phrases to enable improved translation fidelity
  • Update users viewing forum to respect new "Viewing container position (Forum)" option, allowing putting the viewing user list at the bottom of the forum
  • Support XF2.1+ "cache context" of "userActivity" to use a dedicated redis instance for activity
  • Tweak header CSS
  • Correct how paging through redis results is done, to ensure all items are visited as expected. This only effects installs with very large number of redis keys in the one instance
  • For MySQL backend, if a deadlock is detected retry once. This is most-likely to occur when pruning old records and the site has activity.
  • Fix incorrect phrase when viewing a report's user activity
  • Love
Reactions: Crackudo
  • Add hourly cron configuration to ensure mysql backend is reliably pruned
  • Fix case where extra whitespace would exist between usernames
  • Fix case where the date would flash up next to the username briefly as javascript was loading,
  • Cleanup & simplify styling to be more inline with XF base styling
    • Ensure Typography is consistent throughout various phrases
    • Remove most style properties due to css simplification, edit the template svUserActivity_core.less for changes.
    • Reduce font-sizes for (XX Viewing) statements in various places
    • Push counts into block footer instead of the title.
Top