You can add items to the activity stream with bp_activity_add()
. You could use your form values to build the content
argument.
Ref: https://codex.buddypress.org/developer/function-examples/bp_activity_add/
That’s very helpful Henry. Thank you. Is there a tutorial video anywhere? I’m not great with code.
hello @jrufitpro
I am planning to write a detail tutorial about use of bp_adtivity_add() function later today. I will update you with tutorial link. If i forget, please just remind me with a comment.
Hi @rimon_habib . How’s the tutorial going? Looking forward to seeing it!
jrunfitpro
@jrunfitpro
9 years ago
Hi All,
I’m wondering if it is possible to have a little form data go to my activity stream once a workout or lesson is completed on my site. A form that simply had the Workout, Score or Time and some other little workout details that could be submitted through the comments at the bottom of a post or page.
Maybe this could go to a specific group, or simply into the Activity Stream. I don’t know if this is possible, but I thought I should see if there’s anything out there already made.
Thanks,
Justin