Flarum Recalculate Metadata

Recalculate Metadata

Incompatible with Flarum 0.1.0-beta.14.1

0 downloads

released on Oct 25, 2020

0
0

Flarum Recalculate Metadata

License Latest Stable Version

A Flarum extension. Sometimes, metadata counts get out of sync. This extension adds 3 commands to update them:

  • php flarum recalculate_stats:discussions recalculates first post, last post, comment count, and participant count metadata for each discussion.
  • php flarum recalculate_stats:tags discussion count, comment count, and last posted discussion for each tag. This should ONLY be used if the askvortsov/categories discussion is installed.
  • php flarum recalculate_stats:users recalculates user discussion and post count for each user.

Please note that these commands can be very slow on large databases. This should not be used on extremely large databases.

Installation

Install manually with composer:

composer require askvortsov/flarum-recalc-meta

Updating

composer update askvortsov/flarum-recalc-meta

Links

© 2020 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Images on Extiverse pages are from Unsplash.