New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

One Snippet (your) don't worl – Joint group after suscribe

Tagged: 

  • Participant
    Level: Master
    Posts: 251
    MICHAEL on #21697

    Hi Brajesh 🙂

    Just for said you, your snippet for one member is in one group direct after suscribe don’t work =o
    https://nsa40.casimages.com/img/2019/03/26/190326071932955672.jpg

    Have a good day

    Michaël

    • This topic was modified 7 years, 7 months ago by MICHAEL. Reason: joint screen snippet
  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on #21719

    Hi Michaël

    Is it happening for non public groups?
    The code works in normal circumstances. If it is not, some other plugin is doing a redirect before this gets called.

    I will suggest changing this

    
    add_action( 'bp_core_activated_user', 'bpdev_join_group_on_signup' );
    
    

    to

    
    add_action( 'bp_core_activated_user', 'bpdev_join_group_on_signup', -1 );
    
    

    and see if it works or not?

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved