[MWS] Attachment Statistics

Unmaintained [MWS] Attachment Statistics 1.5.6c

No permission to download
This is strictly a fix for the upcoming XenForo 1.2 release.

Version 1.4 is for the 1.1.X branch, and Version 1.5 will be for 1.2.X

No further work will be done on for 1.1 and will be supported on 1.2

Version 1.5 supports WidgetFramework using the new built in TMS
  • Like
Reactions: Gonanda
This update fixes incorrect usage of <dl> tags in the templates.
  • Like
Reactions: bousaid
This version adds a chart showing a breakdown of the attachments by type
attach_stats_1.3.webp
  • Like
Reactions: yavuz and Gonanda
I've added a cron entry to cache the results, as busy boards could get bogged down with pulling the results from the DB on each page load, especially when there are lots of attachments.

attachStats_cron.webp


Cron runs at 55 minutes past the hour.

On initial install, the dataset will be empty, so either wait until XX:55, or run the cron manually to initially populate the data.
  • Like
Reactions: sandis
This update now puts the Stats Block in the ACP in a better position, keeping the traditional look intact.

attachStats_acphome.webp


There is a new Option menu, allowing you to choose to display in MB or GB, and adds the option to show the stats on the forum home

attachStats_options.webp


If you are using the Widget Framework, this add-on automatically includes a TMS edit to add the stats to the widget, but you'll need to control the display of the stats on the home page via enable/disable of the TMS edit

attachStats_widgetTMS.webp


The forum home has the stats displayed inside the existing Forum Statistics block

attachStats_forumhome.webp


Upgrade Instructions
  1. Uninstall previous version
  2. Download the zip file.
  3. Extract its contents to your hard drive.
  4. Upload the contents of the upload folder to the root of your XenForo installation.
  5. Complete install via the Admin CP using the provided XML file.
Top Bottom