AIXF Album Activity

Itnull

Команда форума
Администратор
Регистрация
22.05.13
Сообщения
27.070
Реакции
11.649
Веб-сайт
itnull.me
Compatible XF Versions 2.3

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.

AIXF Album Activity 2025-09-28
 
Назад
Сверху Снизу