Lege rapporten waar data zou moeten zijn

I’m trying to figure out why some reports that should have data points on them are blank.
If you look at this screenshot, you can see that I just created a new topic and there is a post under it:

And if you look at the report for posts, it says there haven’t been any since Aug 14th, that’s not right. There have been plenty, including the one I just made 40 minutes ago to test with.

How do I troubleshoot this?

Do you use any plugins that might change something about these topics or posts?

Something like Private Topics Plugin

I can’t think of anything. I use some plugins, but I don’t think I’ve added any new ones since the date that the last new post showed up in that graph.

Yes, I use the private topics plugin. Would that stop the system from seeing posts? It still reports on new topics correctly:

The system can still see them. But the plugin changes the code that defines what counts as a public post.

The report counts public posts

And the plugin changes that definition

If private topics is enabled and the post is in a category where the plugin is enabled, it’s excluded, so it’s not counted

4 likes

Crap, that’s the antithesis of what I need.
The only category that my boss cares about statistics for is our support forum, and that needs to be private for ticket segregation.

Is there any way to get stats on those posts?

Data explorer should work to get the data. In this topic is the query which returns the post count per date like the dashboard report

I think it won’t be affected by Private Topics, so it could work for you without changing anything.

3 likes

That got me most of the way there, thanks.
I requested some additional parameters on that page to dial the query in more.

Seems like there’s enough people using Discourse as a ticketing system that it would be worthwhile to build a stats page to track things like time to first post after new topic created, and total elapsed time till topics are marked solved etc to better cover this use case.

There is an admin report for “time to first response”.

And there are also lots of other queries in Data & reporting
Topics stats of Solved/Unsolved topics, inc. 'time to solution' is one you might be interested in. But I think it needs an update to reflect the changes on the solution plugin made in spring. Time to first response by group members and Solved Topic and Moderator Response Stats by Category might also be interesting.

ask.discourse.org is also very good at helping you to write queries that return the data you need

2 likes