• Resolved timsilva_

    (@timsilva_)


    Hi Jake! Huge fan of your work on this plugin. ??

    I have been tweaking the Additional Forum Statistics to say something like “We have created # posts, in # threads, by # members, since Month ##, YYYY.” instead of “Threads: #, Posts: #, Members: #”.

    Is it possible to achieve what I am looking for through the “bbPress Statistics Format” input field on the “Customisation Settings” page? I tried a few tweaks but it seemed really limited. Maybe a format that lets you change the order and the location of the variables would be possible? Just curious.

    Many thanks!
    Tim

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jake Hall

    (@geekserve)

    Hi Tim,

    Thank you for the feedback, really glad you’re finding a use for the plugin!

    This was a really difficult part of the plugin to develop as I am passing the data through the normal WordPress Options API, what this means is the data is handled and HTML is stripped – there isn’t a lot of flexibility available here. The functionality is supposed to be used to allow people to customise the wording of the headings, as previously this would require a language override.

    If you know how WordPress Filters work, you would want to filter the following:

    – bbpas_section_bbpress_stats

    This will let you filter the entire section for bbPress Statistics.

    At the moment, I haven’t added any API to expose functions for you to grab any relevant data (such as the actual stats, but, you could manipulate the string you get), I was planning it in this release however I didn’t want to release too much in one go (way more potential to go wrong!)

    I will try and get the API functionality baked in as soon as possible, for the time being I am afraid you will have to see what is possible with the filter, or hold on until some API functionality is released.

    But do bear in mind, the sort of configuration you’re looking for will not be possible in the base plugin – you will need to utilise the API or Filters in order to get the outcome you’d like.

    Many thanks,

    Jake

    Thread Starter timsilva_

    (@timsilva_)

    Thanks so much for the thoughtful reply! ?? I will go ahead and keep it the default format for the time being. ?? I have a little experience with filters, but this particular goal seems a bit out of my league.

    Plugin Author Jake Hall

    (@geekserve)

    Hi Tim,

    That’s not a problem, once the API come out I will post a snippet of code here for you to use on your website that utilises the API.

    – Jake

    Thread Starter timsilva_

    (@timsilva_)

    You rock! Thanks again. ??

    Thread Starter timsilva_

    (@timsilva_)

    Any update on this being a possibility now? ??

    Thx,
    Tim

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘bbPress Statistics Format’ is closed to new replies.