BuddyDev

Search

Auto Friendship Pro not add follow on create new user

  • Participant
    Level: Initiated
    Posts: 1
    Peter Hudec on #37646

    Hi, We have an issue with “Auto Friendship Pro”
    we have buddyboss platform and memeberpress. on manulay creating new user, this user not have friends that we have forced by plugin
    many thanks

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2461
    Ravi on #37648

    Hello Peter,

    Sorry for the inconvenience. By we make friendship on activate account action since you are manually creating a user that action didn’t fire. Please try the following code in your bp-custom.php file:

    
    add_filter( 'bp_auto_friendship_pro_enable_on_user_register', '__return_true' );
    
    

    Know more: https://buddydev.com/docs/buddypress-guides/what-is-bp-custom-php/

    Please do let me know if it works or not.

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: not resolved