Skip to:
Content
Pages
Categories
Search
Top
Bottom

Total Mentions Count


  • Nahum
    Participant

    @nahummadrid

    I’m just now realizing that what I’ve been using to count mentions for a loggedin user isn’t working.

    `loggedin_user->id);?>`

    All it’s doing is displaying the same count as the user Favorites count.

    `loggedin_user->id); ?>`

    I had this running on a different theme prior to 1.5 but now I’m testing on the same code on a BP-Default theme + 1.5…and I’m also seeing that I can’t get the mentions count to work. It outputs the same number as user Favorites.

    Any ideas why this is?

    I also noticed that there is no total on the Public Mentions tab on the Activity Stream nav bar. It’s the only one without a count next to it. The count only appears when there is new mentions. So maybe that has something to do with this.

    Is there not a way to add the count here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • bp_get_total_mention_count_for_user & bp_total_mention_count_for_user should be working. The user you are testing with does indeed have some mentions, yes? The key is in the user meta table, with name = bp_new_mention_count


    Nahum
    Participant

    @nahummadrid

    Hm. Could it be where I placed the code? I have it in a stats widget in the sidebar. Is it supposed to be inside the activity loop or something?


    abysshorror
    Member

    @abysshorror

    I’m trying to get the usernames (@nicenames) of those who mentioned a user and those who were mentioned by the user. Is this possible ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Total Mentions Count’ is closed to new replies.
Skip to toolbar