How do I get this to be shown every month on my forum?
AI-generated summary
The discussion revolves around customizing the Discourse yearly review plugin to generate monthly instead of yearly reviews. ondrej suggests running the Jobs::YearlyReview.new.execute(force: true) command monthly to achieve monthly results, though automation is uncertain. simon clarifies that while the plugin currently only supports yearly reviews, it can be adapted for monthly data by setting the review_year parameter, though this still collects data for the entire year. danielabc asks where to input the command and whether it would enable monthly reviews. Falco confirms that monthly reviews aren’t currently possible, while Mnyambuo proposes even more flexibility, such as weekly or customizable time periods. danielabc expresses interest in future customization options, highlighting the plugin’s potential.
Upon reading the plugin topic
it looks like if you run this each month you will get the desired result. I am not sure if this can be automated though Jobs::YearlyReview.new.execute(force: true)
Currently, the plugin will only publish topics for a year, not for a given month. It would be technically possible to publish the topic on a monthly basis using the command that @ondrej provided, but that would be giving you data for the previous year. To get data for the current year, you’ll need to set the review_year parameter when you run the job:
Jobs::YearlyReview.new.execute(force: true, review_year: '2023')
That won’t give you monthly data, but will give data that’s been collected for 2023. So if you ran it on Feb 1, it would give you data for January. If you ran it on March 1, it would give you data for January and February.
Maybe the Discourse team would be open to a PR that allowed review topics to be generated on a monthly basis.
excuse my lack of knowledge, but where do I put this command? So if I put the command, will the review appear for me monthly?
It’s not possible to have this produce monthly reviews instead of yearly reviews at the moment.
What about weekly? More importantly a customizable period of time . Please
Could there be any time customization in the future? I think this plugin is great just for annual