Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing default activity stream view

  • Avatar of suysal
    suysal
    Participant

    @suysal

    How can I change the default view in the activity stream from “All Members” to “My Groups” or to “My Friends”? Imagine seeing activities from all members in Facebook:)

    Is there a plugin for allowing users to set their default activity view in their profile from “All Members” to “My Friends” or to “My Groups”, or to a specific group page?

    If not, can this be done with some hacking?

    BTW, I have BP 1.8.1, and WP 3.6.1.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of mileskimberley
    mileskimberley
    Participant

    @mileskimberley

    Hi, we’re also interested in this, did you manage to find a solution?

    Avatar of Shmoo
    Shmoo
    Participant

    @macpresss

    I think it’s too complex for a Plugin because this is too specific to your needs , plugins are great when they serve lots of people. But you could alter the layouts if you know how the template structure in WordPress and BuddyPress works.

    Give each page it’s own custom Activity-loop template and you should be able to make whatever view you want on each page that shows an Activity.
    By default each page uses only one ( the default ) activity-loop template to create the activity content. But if you like you can duplicate those files and customize them for each page. Just duplicated the needed files and rename them to something like this: activity-groups-loop.php or activity-members-loop.php than make sure at the groups page the loop to the activity doesn’t load the default activity templates but your custom ( duplicated ) files.

    I really love how easy this works in WordPress and BuddyPress not a lot of CMS software have this easy to use template structure and logic.

    The only real problem I found with this is that the Activity-contents are made by very dynamic code – it’s very difficult to alter the items that will be shown at the page such as time, name, avatar , activity-title and the real content compared to other BuddyPress pages.

    I’ve made a Trac. Ticket for BuddyPress 2.0 , so lets hope somebody very smart could change the code a bit and we can really alter our Activity contents too.

    http://buddypress.trac.wordpress.org/ticket/5261

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

You must be logged in to reply to this topic.