Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • denisprogrammer
    Participant

    @denisprogrammer

    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.


    denisprogrammer
    Participant

    @denisprogrammer

    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!


    denisprogrammer
    Participant

    @denisprogrammer

    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.


    denisprogrammer
    Participant

    @denisprogrammer

    Is there at least one hook that will provide row id on bp group activity after a post is saved?


    denisprogrammer
    Participant

    @denisprogrammer

    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 );

    denisprogrammer
    Participant

    @denisprogrammer

    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 );


    denisprogrammer
    Participant

    @denisprogrammer

    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”

Viewing 7 replies - 1 through 7 (of 7 total)
Skip to toolbar