Skip to:
Content
Pages
Categories
Search
Top
Bottom

Total number of comments in profil


  • smuda
    Participant

    @smuda

    hello everyone,

    i want to display the total number of comments a user made on the users profile.

    so i have like <?php bp_friend_total_for_member() ?> which display the friends, is there a way to get the same for comments..

    is that possible? :)

Viewing 3 replies - 1 through 3 (of 3 total)
  • This needs to be within the Wire template loop, but here’s what you need to get to the variable. There’s no wrapper function around this at the moment:

    global $wire_posts_template; echo $wire_posts_template->total_wire_post_count;


    smuda
    Participant

    @smuda

    hey DJPaul,

    thanks for your quick reply!

    i kind don’t understand how to include this on, for example, the index.php in the profile/ folder.

    could you help me on this one?


    smuda
    Participant

    @smuda

    anyone have an idea? :)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Total number of comments in profil’ is closed to new replies.
Skip to toolbar