Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can we store post count in the database ?


  • JeremyCh
    Participant

    @jeremych

    Hi guys

    I’m wondering if we could store the post count in the database. That also means we need to update the database everytime someone adds / delete a message.

    I’m using the memberlist plugin, and this could have helped me to display the member count of each member (without having to call bbpress’s method for each member individually) and I could also sort members list based on their post count.

    Any idea ?
    Thanks guys.

    WP: 3.8.1
    BBPress : 2.5.3

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

  • JeremyCh
    Participant

    @jeremych

    Strange … I have just posted this, and see in bbpress’s forum page that I have posted this more than a year ago …

    Screenshot


    JeremyCh
    Participant

    @jeremych

    After thinking, it should not be that difficult, if we can see the file via which new posts are getting added / deleted, we can simply call bbpress’s native bbp_user_post_count to update the post count in the database, right ?

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