When using RTMedia I was able to display the number of photos a user has uploaded.
I looked through the shortcodes but couldn’t find a way to output the total number of uploads. Is this possible with MediaPress? If so can you please point me in the right direction?
I am sorry the plugin does not store the total media count for users/groups. The MediaPress does store media count for galleries though.
In one of our upcoming plugins, we did count media for users. The code is not shareable as it needs to be used with transient to avoid any slow query.
Please remind me next week and I will make a clean copy and share with you.
The problem is count is relative to who is viewing the profile or gallery.
For example, a user might have media with various privacies(example friends only media). It will be visible to the friends but not others.
I am unable to find a proper and efficient way to handle the media count. Storing media count for each privacy level is a deal breaker for me. Also calculating it on each page load is not efficient in current schema.
We are working on to move the schema to a flat table which will resolve this issue in future.
Where would the shown? Only in gallery titles throughout pages?
As an admin, I’d like to have a list of all members with a total count of galleries & images and storage. I need to see who is taking up lots of storage space and who isn’t, etc. Is that possible?
We can show it as part of the gallery title on gallery list.
Currently, You will need to write your own script for listing users with storage. The functionality for calculating storage per user is there but we do not have any functionality for sorting by storage etc.,
You must be logged in to reply to this topic.