Resource icon

AIXF Album Activity 2.3.7.a

No permission to download
Compatible XF 2.x versions
  1. 2.3
Additional requirements
XenForo 2.3.7+
XenForo Media Gallery (XFMG) 2.3.5+
License
https://aixf.net/help/la_terms_rules/
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).
  1. Upload files to /src/addons/AIXF/AlbumActivity/.
  2. Install from AdminCP → Add-ons.
  3. Rebuild caches: Tools → Rebuild caches → Rebuild add-on caches.
  4. Configure default order: AdminCP → Options → AIXF – Album Activity.
  • Safe to uninstall; the last_media_date column remains in place but unused.
image1.webp
Author
fords8
Downloads
9
Views
57
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from fords8

Latest updates

  1. Fixed an error

    I found an error and I fixed it. I also updated the addon.json with more details.
Back
Top Bottom