Update status with multiple text fields
I’m trying to put more than one field in the Activity Post Form, and show that content as part of the activity.
I was able to edit the post-form.php to add the text inputs under the #whats-new textarea, but what i want now is to add those fields to the content of the activity update.
I’ve been looking around the files and i founded this code on the bp-activity-actions.php file:
// Get activity info $content = apply_filters( 'bp_activity_post_update_content', $_POST['whats-new'] );
When i add to that variable the $_POST[‘my-field’] nothing happens, is this the code that submit the content of the update to the database?
I’ll really appreciate your help and sorry if i’m not using the right BP technical terms i’m quite new at this!
- The topic ‘Update status with multiple text fields’ is closed to new replies.