Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Modify the activity loop

@henrywright

Moderator

Hi @deshmukh

  • You can add items to the activity stream using bp_activity_add(). You’d write a custom function and hook it to the relevant action which fires when a group message has been posted (see a)
  • The display_comments parameter will help you here. You’ll need to change threaded to stream (see b)

Refs:

a) https://codex.buddypress.org/developer/function-examples/bp_activity_add/

b) https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/

Skip to toolbar