- Автор темы
- Администратор
- Модер.
- Команда форума
- #1
Compatible XF Versions 2.3
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).
AIXF Album Activity 2025-09-28
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.
AIXF Album Activity 2025-09-28
Для просмотра скрытого текста вам необходимо Войти или Зарегистрироваться.