Skip to:

code to add activity filter

  • Profile photo of gwu123


    If anyone needs to add an activity filter for the group reviews put this code to the templatetags.php file.
    Just take care of the tags.
    `function bp_rating_activity_filter_option() { ?>

    <?php }
    add_action( ‘bp_activity_filter_options’, ‘bp_rating_activity_filter_option’ );
    add_action( ‘bp_group_activity_filter_options’, ‘bp_rating_activity_filter_option’ );`

    [edited to add backticks – Boone]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Profile photo of Boone Gorges
    Boone Gorges


    Thanks! If I remember, I will add this to the plugin itself.

    Half of the American people have never read a newspaper. Half never voted for President. One hopes it is the same half

    Profile photo of digibluez


    Strange it still dose not work, after i put a new activity item on the group’s page,
    that last activity/update get’s displayed as my last review text,
    the stars are grayed out,

    I can not post a new review,but still is kind of broken as for now. no idea how to fix it either…. anyone?

    temp FIX:
    delete or php comment

    the problem is it deletes the last activity you posted, but not the last review. How to fetch last review/activity i posted instead of the last activity on group?

    Adds link to delete review at the review list.


    still looking for,how to pull last review only,quess its same like mentions and favorites activity on profile.And as i set up, that u can only post 1 review on a group. its possible to pull the last only instead of last activity from your group. but how to code the group part into it to pull only from the group site you are in now…

    can some one fix this plugin…or is it only me having trouble?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘code to add activity filter’ is closed to new replies.
Skip to toolbar