Skip to:
Content
Pages
Categories
Search
Top
Bottom

User specific Activity Stream: Depending on Friends and Groups?


  • roman
    Participant

    @romanriebow

    hi, im quite new and noob to buddypress (not so to php and cms;) – but i love buddypress and its easy way to use! big props!

    1.) is it possible to show only Activities of Friends in the main activity-stream of a user?
    2.) is it possible to show in addition the activities of user groups (as long as user is member of the group) in the main activity stream?

    thanks and best regards
    roman

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

  • Roger Coathup
    Participant

    @rogercoathup

    Yes, there are already filters for this in the default theme.

    Also, take a look at: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/


    roman
    Participant

    @romanriebow

    thanks first –
    as i saw right these filters are preset and can be found under admin bar: my account / activity / …
    BUT i have to choose this filter as user. isnt it possible to set this filtered view as default
    AND this filter is only either friends or groups or all, is it possible to have a filter like: friends and groups (but not everyone) ?

    best regards


    Roger Coathup
    Participant

    @rogercoathup

    You can write your own customised BuddyPress website (theme) to achieve this:

    Please check the codex reference I gave you – it has all the details on how to write your own custom (filtered as you want it) activity loop.

    Also check under docs on this site for details on how to write your own bespoke website theme.


    roman
    Participant

    @romanriebow

    ok. thanks a lot!


    roman
    Participant

    @romanriebow

    hi again, sorry to bother you again. :) i searched a little in the link you posted and tried to find that activity_loop via ftp but cant find that. Which PHP-File is it and where is it located?
    any hint? am i a blovkhead? thanks and best regards -roman

    i found the file: wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php
    BUT from where is it called?


    Roger Coathup
    Participant

    @rogercoathup

    The default theme files are in plugins/buddypress/bp-themes/

    But, don’t edit these directly, create a child theme and work on that

    You’ll find the activity loop calls in the activity folder in the default theme

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘User specific Activity Stream: Depending on Friends and Groups?’ is closed to new replies.
Skip to toolbar