Skip to:
Content
Pages
Categories
Search
Top
Bottom

Favorites in Profile Activity

  • Profile photo of carmeetsroad
    carmeetsroad
    Participant

    @carmeetsroad

    Hey Guys,

    Is it possible to have the “FAVORITES” (you know when a user favorites something) appear in the Activity stream for that user profile. because right now.. you still have to press “favorites”

Viewing 1 replies (of 1 total)
  • Profile photo of bp-help
    bp-help
    Participant

    @bphelp

    @carmeetsroad
    Study the activity-loop.php:

    Activity Loop


    Take note of the scope parameter. You can pass favorites as an argument like so:

    
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&scope=favorites' ) ) : ?>
    
Viewing 1 replies (of 1 total)
  • The topic ‘Favorites in Profile Activity’ is closed to new replies.
Skip to toolbar