Support Forum

Numbers for Topic Status in forum footer stats

CA CADbloke
CADbloke
Member

Hi

Is it possible to add, or replace, a group of stats in the footer of a forum, or a forum group, that have a topic status set assigned to them? I'd like to see stats on how many of each Topic status there are in the particular group or forum I'm in at the time. I'm ok to paste in code if that's required.

I'd imaging, pseudo-code wise it would go something like ..

[after end of forum topics listed]

If forum has Topic_Status_list then

  for each topic_status in current forum get count of topics with this status in this forum

Display nicely

endif

[after end of Group of forums listed]

For each forum in this group

  If this forum has Topic_Status_list then

  Append this_forum_topic_status list to the existing list

   for each topic_status in current forum get count of topics with this status in this Group

Display nicely

endif

Hmm. That looks quite process intensive. No doubt you'll have a much better way but I thought I'd add the above to demonstrate what I mean.

My reason for asking is to use a forum as a customer facing bug reporting venue. Maybe. I'm still thinking about it but it seems like the most straightforward way so far.

cheers

Ewen

2 Answers

New Answer

MP Mr Papa
Mr Papa
Member

no, sorry thats not currently possible without modifying spf core code. We have an open ticket for more customizable stats but not sure if it will make it into 4.1 or not.

We also plan to add a bunch more hooks into 4.1 so even if we dont get to something like this perhaps, we can add a hook for users to do the customization themselves.

CA CADbloke
CADbloke
Member

No drama. I can use the Topic_status search for this anyways.

Yes, you've seen me before 😉

cheers