It would be great to be able to add (an optional) flags counter to the list of statistics. This way people could have granular statistics for different flag types along with the rest of statistics. This would cover the majority of counter based things within drupal (flags, comments, nodes).

It shouldn't be hard to add considering flag counter is similar to the node counter in terms of how stats are saved.

Would this be a possibility for addition?

Comments

rsevero’s picture

A possiblity for sure.

Are you referring to flags generated by the Flag module?

I've never used it, don't know it.

cerup’s picture

Yes, sorry I wasn't more specific.

I'm talking flags generated by the Flag module. Every time a node/user/etc is flagged it adds a count to that specific flag counter. It works basically the same way node counter works so it would be simple to add support I believe. When a node is flagged, it just adds 1 to the count (just like a view of a node adds 1).

cerup’s picture

Any chance of this making it into a future version. I'm unable to switch to this module (from my custom one) unless it supports flags also.

rsevero’s picture

Could you provide a proper patch?

cerup’s picture

I'll have to see if I'd be capable. From looking at the code, it's a little more complex than I'm used to, but i'll see what I can do. The flags table is very similar to comments/nodes in terms of keeping count.

rsevero’s picture

Status: Active » Closed (works as designed)

Please reopen if a patch is available.