Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Matthew Holt
    Participant

    @webdevmatt

    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?


    Matthew Holt
    Participant

    @webdevmatt

    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.


    Matthew Holt
    Participant

    @webdevmatt

    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?


    Matthew Holt
    Participant

    @webdevmatt

    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