Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @webdevmatt

    Participant

    I have tried attempting this from a couple different pages. Originally from post-form.php and also from the main activity loop with no luck. It doesn’t appear that I’m doing anything special?

    @webdevmatt

    Participant

    I actually did that as well and had the same result :(.
    `$activity_id = bp_activity_add( array( ‘id’ => 468, ‘content’ => ‘something new and blue’ ));`

    You would think one of these would work.

    @webdevmatt

    Participant

    Odd, no luck. Data is not changed, and nothing is returned in $activity_id. Any thoughts?

    @nuprn1 are you saying that I need to capture all the activity data and pass it back to the bp_activity_add() in order for the update to be executed?

    @webdevmatt

    Participant

    This was exactly what I was looking for @boonebgorges. That approach is perfect. As for a “stacked output,” we stacked the output activity as opposed to keeping it inline eg.
    default =
    [user] posted and update in the group [group name]
    stacked=
    User: [user]
    Group: [group name]

    Thank you again.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar