Skip to:
Content
Pages
Categories
Search
Top
Bottom

Manually generating group activity


  • Ryan Hellyer
    Participant

    @ryanhellyer

    I am having dreadful trouble working out how to add a BuddyPress activity to a specific group.

    The bp_activity_add() function does not seem to offer any way to specifically target a single a specific group.

    bp_activity_add()

    Do any of you know how to do this? Thanks 🙂

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

  • shanebp
    Moderator

    @shanebp

    Take a look at a row for a group update in the activity table in the database.

    Note the values for item_id and secondary_item_id.
    The former should be the group id.


    Ryan Hellyer
    Participant

    @ryanhellyer

    Awesome! Thanks 🙂

    In that case the information I wanted was contained in the page that I linked to, I just didn’t realise it 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Manually generating group activity’ is closed to new replies.
Skip to toolbar