Forum Replies Created
-
In reply to: Delete account – missing
AS this URL is no longer accessible neither on localhost:
/members/user-name/settings/delete-account
Do I need to use this plugin
https://buddydev.com/plugins/bp-deactivate-account ?
It is very confusing because there is nothing in BuddyPress documentation which would describe current delete-account behavior.
In reply to: GROUP ACTIVITY HOOKS that would be great to have.I’ve tried and it is working as it suppose to.
(I am not sure why it didn’t work at first but it is working now.)
Thanks!
In reply to: GROUP ACTIVITY HOOKS that would be great to have.I see that hook “bp_activity_add” fires.
But it doesn’t return [id] value in your log.
Not returning row [id] is the issue.In reply to: GROUP ACTIVITY HOOKS that would be great to have.Is there at least one hook that will provide row id on bp group activity after a post is saved?
In reply to: GROUP ACTIVITY HOOKS that would be great to have.This one also isn’t working:
// define the bp_activity_after_save callback function action_bp_activity_after_save( $rtmedia_bp_activity_after_save_callback, $int_val1, $int_val2 ) { // make action magic happen here... }; // add the action add_action( 'bp_activity_after_save', 'action_bp_activity_after_save', 10, 3 );In reply to: GROUP ACTIVITY HOOKS that would be great to have.I’ve tried all of these hooks an some of them are firing but none of them are providing activity_id (INT). ROW id.
//Should fire after activity post saved/updated
// do_action( ‘bp_activity_posted_update’, $content, $user_id, $activity_id );`
// do_action( ‘bp_groups_posted_update’, $content, $user_id, $group_id, $activity_id );
// do_action( ‘bp_activity_add’, $r, $activity->id );
// do_action( ‘bp_activity_posted_update’, $r[‘content’], $r[‘user_id’], $activity_id );
// do_action( ‘bp_activity_post_type_published’, $activity_id, $post, $activity_args );
// do_action( ‘bp_activity_post_type_updated’, $post, $activity, $activity_post_object );In reply to: GROUP ACTIVITY HOOKS that would be great to have.Let me correct my self, I’ve found the hook that fires after the activity has been deleted and it returns row id.
“bp_activity_action_delete_activity”