AIXF Album Activity

Add-on AIXF Album Activity 2.3.7.b

No permission to download

fords8

Administrator
AI Admin
AI Mod
AI Verified
Member
AI Beta
Messages
52
Reaction score
17
Points
8
Credits
139
fords8 submitted a new resource:

AIXF Album Activity - AIXF – XFMG Album Last Activity fixes a long-standing UX issue in XenForo Media Gallery

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...

Read more about this resource...
 
Welcome! Let me know if you have any issues.
It says no permission to download, what I am missing to download? Just validated the license, gonna install and update right away.
 
It says no permission to download, what I am missing to download? Just validated the license, gonna install and update right away.
Looks like you got it now.
 
Looks like you got it now.
Yes, just to ensure I got it right. I should do a XFMG: Rebuild albums and set the default album sort by last acitivty? I am missing the last activty filter while viewing the albums? Sorry, I haven't used XFMG in a while now.
 
Should be able to do set the default album sort by last acitivty. Then rebuild albums. I didn't put the filter sort in.

1758771869552.png These should sort by latest activity.

Do you have a lot of albums?
 
Should be able to do set the default album sort by last acitivty. Then rebuild albums. I didn't put the filter sort in.

View attachment 102 These should sort by latest activity.

Do you have a lot of albums?
Great, if you could add the filter sort in. Yes, our users have a lot of albums and are very elderly as well.
 
Great, if you could add the filter sort in. Yes, our users have a lot of albums and are very elderly as well.
Get some testing done on it. But in the albums, the sort latest activity is default. But I did plan on adding it in to the sort menu. Just want to make sure the base addon is working as it should.
 
Get some testing done on it. But in the albums, the sort latest activity is default. But I did plan on adding it in to the sort menu. Just want to make sure the base addon is working as it should.
Sure, I will keep you update on it.
 
Just tested, and unfortunately the Gallery still has the same issue (individual media shows up chronologically in the main Gallery feed, but not in the categories nested in personal albums).
 
Just tested, and unfortunately the Gallery still has the same issue (individual media shows up chronologically in the main Gallery feed, but not in the categories nested in personal albums).
Did you do a Rebuild caches after the install/update? Be sure that Album Last Activity is set as well.
 
See any server log errors?
Yup.

Code:
ArgumentCountError: Too few arguments to function XF\Mvc\Entity\Entity::isStateChanged(), 1 passed in /public_html/forums/src/addons/AIXF/AlbumActivity/XFMG/Entity/MediaItem.php on line 30 and exactly 2 expected src/XF/Mvc/Entity/Entity.php:1159
 
Yup.

Code:
ArgumentCountError: Too few arguments to function XF\Mvc\Entity\Entity::isStateChanged(), 1 passed in /public_html/forums/src/addons/AIXF/AlbumActivity/XFMG/Entity/MediaItem.php on line 30 and exactly 2 expected src/XF/Mvc/Entity/Entity.php:1159
OMG that helps so much, thanks. I can already see what the issue is. Let me check the new file I uploaded and make sure I didn't put the wrong file up. :eek::cool:
 
@akd12 , could you open up the \upload\src\addons\AIXF\AlbumActivity\XFMG\Entity\MediaItem.php in a editor and tell me what line 30 says?
 
Back
Top