- Compatible XF 2.x versions
- 2.3
- Additional requirements
- XenForo 2.3.7+
XenForo Media Gallery (XFMG) 2.3.5+
- Visible branding
- No
Overview
AIXF – XFMG Album Last Activity fixes a long-standing UX issue in XenForo Media Gallery:Albums were sorted only by their creation date, meaning updated albums stayed buried while stale ones stayed on top.
This add-on introduces a new field — last_media_date — and automatically updates it whenever media is added, moved, deleted, or restored. Album listings then sort by this field, ensuring active albums rise to the top (just like forum threads).
- Adds a new last_media_date column to xf_mg_album.
- Updates automatically when:
- New media is uploaded into an album.
- Media is moved between albums.
- Media is deleted/hidden or restored.
- Browse Albums (/media/albums/) and User Albums (/media/albums/users/...) can now sort by Last Activity.
- Admin option: choose default album sort (creation date vs. last activity).
- Backfills existing albums on install (sets last activity to the latest visible media).
- Upload files to /src/addons/AIXF/AlbumActivity/.
- Install from AdminCP → Add-ons.
- Rebuild caches: Tools → Rebuild caches → Rebuild add-on caches.
- Configure default order: AdminCP → Options → AIXF – Album Activity.
- Safe to uninstall; the last_media_date column remains in place but unused.
