Skip to:
Content
Pages
Categories
Search
Top
Bottom

Favourites Count

  • Avatar of kirkslater
    kirkslater
    Participant

    @kirkslater

    Hi

    Just wondering if there was a way on the activity to display the number of times it has been added to users favourites? This would be like the count in the comments button. Just find it strange that this isn’t a default setting.

    Cheers for any help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of kirkslater
    kirkslater
    Participant

    @kirkslater

    Just a bump!

    I’ve found that the database stores this under favourite_count, does anyone know how to call this?

    `bp_activity_get_meta( $activity_id, ‘favorite_count’ );`

    Doesn’t look like we have a wrapper function for it.

    Avatar of kirkslater
    kirkslater
    Participant

    @kirkslater

    Thanks for your help on this @djpaul

    Sorry if I’m totally simple but I’ve place “ in the Favorite and Remove Favorite buttons but it doesn’t show any thing

    Any ideas would be gratefully appreciated

    Avatar of kirkslater
    kirkslater
    Participant

    @kirkslater

    Has anyone else got any ideas on this? Would really appreciate it :)

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

You must be logged in to reply to this topic.