Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integration of friends-activity-feed outside of profile

  • Avatar of Michael Berra
    Michael Berra
    Participant

    @miguael

    Sorry, I am not a programmer – but I can copy-paste-change :-)

    Here I didn’t find it out. I would like to show the friend-activity-stream on the home-page (like facebook). Can somebody explain briefly what to do?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    If you’re using the buddypress theme you could add as left-coloumn widget, the activities’ widget. Simpler than that! :P

    Avatar of Michael Berra
    Michael Berra
    Participant

    @miguael

    Maybe I do not quite get, what you mean…

    I don’t need the sitewide (global) activity, but just to show the activity of my friends (–>the friends activity-stream of the logged in user) in a different place than the profile. Where is the piece of code I would need to do that?

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    I think andy hasn’t developed yet this part of code :S

    Avatar of David Mazza
    David Mazza
    Participant

    @dmazza

    I have this functionality working on http://sunysb.net

    I had to modify 2 files in bp-activity.

    bp-activity-classes.php – I had to make the output of get_activity_for_friends formatted like the other two, I don’t know why it wasn’t already formatted.

    bp-activity-widgets.php – I basically copied the code for the sitewide widget and adapted it for the friend feed.

    I was also working on the friend rss feed because it doesn’t work at all. You can see that when you go to My Account>Activity>My Friends and click on the RSS feed. Even if you have activity on the page, it won’t show up in the rss feed. I can talk more about where that bug is hiding if anyone is interested.

    I would be happy to post my changes somewhere, but unfortunately I don’t know how to abstract this into its own plugin. I think this should probably be part of the default activity plugin anyway.

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

You must be logged in to reply to this topic.