Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic / Post count

  • How can I get the topic / post count for subforums?

    At the moment the totals shown are for the forum itself but do not include topics and posts in the sub forums within that forum.

    So for example:

    Parent Cat or Forum

    _ Sub Forum 1

    _ Sub Forum 2

    If I have 20 topics in sub forum 1 and no topics in the parent forum it will currently show 0 for the parent forum, but I want to show the total of the parent and all sub forums.

Viewing 4 replies - 1 through 4 (of 4 total)

  • kevinjohngallagher
    Member

    @kevinjohngallagher

    Yeah, bbPress doesn’t actually have any parent child functionality, so this isn’t really possible. You could write some custom code to keep a counter somewhere, but it’s more than a pain really.

    I’m workingon a plugin that deals with this, but it uses part of the bbProgress framework, and there are some issues to work around before separating it entirely.


    _ck_
    Participant

    @_ck_

    I have a post somewhere around here that shows how to do that.

    I think this is it:

    https://bbpress.org/forums/topic/counting-forums


    kevinjohngallagher
    Member

    @kevinjohngallagher

    You know, sometimes I wish search actually worked, because that is a very awesome answer. Your coding knowledge of being able to bend bbpress has been sorely missed.

    This has put a big smile on my face this morning. Awesome plugin. Thanks very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar