- Xenforo.com resource URL
- https://xenforo.com/community/resources/xb-xfrm-file-size.8630/
- Compatibile XF2 versions
- 2.2
- 2.3
- Additional requirements
- XenForo Resource Manager 2.2.0+
Track file sizes and disk usage statistics for XenForo Resource Manager resources and versions.
This add-on automatically records file sizes for resources and versions, provides public disk usage statistics, and adds sorting and filtering tools based on storage usage.
Features:
Version File Size Tracking: Store the total file size for each resource version.
Resource File Size Tracking: Store the combined file size of all versions belonging to a resource.
Automatic Size Updates: Update resource and version totals when attachments are added or removed.
Deletion Handling: Automatically reduce totals when attachments or resource versions are physically deleted.
File Size Display: Show resource and version file sizes to users with the appropriate permission.
File Size Sorting: Sort resource lists by current version size or total resource size.
Disk Usage Statistics: Dedicated public page with storage statistics for resources.
Navigation Integration: Add a Disk Usage entry to the XFRM navigation for authorized users.
Widget Integration: Make the Disk Usage row in the resource statistics widget clickable.
Disk Usage Statistics
The public Disk Usage page includes:
Overall storage totals.
Category totals.
Average resource size by category.
Largest resources by disk usage.
Top authors by disk usage.
Version statistics.
Largest resource versions.
File size distribution.
Recent update statistics.
Permissions
View File Sizes: Control whether users can view resource and version file sizes.
View Disk Usage Statistics: Control access to the public Disk Usage statistics page.
Rebuild Tools
Rebuild Version File Sizes: Recalculate file sizes for all resource versions.
Rebuild Resource Totals: Recalculate total file sizes for all resources.
Useful for:
Storage Monitoring: Track how much disk space resources consume.
Resource Analytics: Identify the largest resources, versions, and contributors.
Administration: Rebuild and verify file size data when needed.
Community Insights: Give users visibility into resource storage usage.