Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Adding a second element for posting with an activity.


gabrielcrowe
Member

@gabrielcrowe

Well, it looks like i spoke too soon.

I cannot get: any $POST’ed information inside here:

function add_trackmeta_to_activity( $content, $user_id, $activity_id ) {

bp_activity_update_meta( $activity_id, ‘trackmd5’, md5($_POST[‘trackstr’]) );

}

$_POST[‘trackstr’] was returning an empty string, md5 hashed.

can anyone here jump in and help? why cant i get posted items inside my bp-custom.php?

Skip to toolbar