👻 Halloween Treat: Our biggest-ever 25% OFF memberships — use SPOOKYSOCIAL before Nov 3! 🎃

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Bjoern,
    It is happening. There are two possible solutions:-

    1. disallow users whose privacy is not public/logged in to use any such button
    2. Or override the visibility on the group requests page to make it visible.

    I am more interested in first approach. What do you suggest?

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Bjoern,
    I am sorry for the delayed reply. We will have an update by early morning tomorrow(PST). I am trying to do it and a few more things(related to your other topic).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: BP Member Type Generator – Default Type #3992

    Hi,
    Just to be clear, for member type the key is important(the unique key that you set while creating). To assign a user to a member type we need to know that unique key for the current site.

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: Buddypress menu #3990

    Hi MM,
    I am sorry but I don’t understand it.

    Can you please tell me what do you mean by this

    The links has the user name in it.
    example: domain.com/members/USERNAME/activity
    I was hoping i could get the whole profile menu + buddypress menu copy it in a widget or something.

    Those are all BuddyPress Profile Links for the current logged in user.
    Or do you mean that you need to have the sub nav too?

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: BP Member Type Generator – Default Type #3989

    Hi Allison,
    Welcome to BuddyDev.
    Do you have any way to know which member type a user should be assigned at the time of registration. If yes, Then It can be easily done.

    Please let me know and I will post the code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: [Resolved] (BuddyDev) BP Poke #3985

    Hi Keith,
    Can you please let me know if it worked or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Tyler,
    My apologies for the inconvenience. We have yet to find the issue or reproduce it. Can you please help me in understanding which browser caused it? That will help us to fix it in the future updates.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Israel,
    Welcome back 🙂

    1. Yes, It is doable but we will need to update activity auto loader for that. I will update you tonight about it.

    Thank you. I am glad you liked the logo 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: Buddypress menu #3982

    Hi MM,
    Welcome to Buddydev. There are multiple ways to do it.

    Let us go with the easy ones.

    1. You can use this function bp_get_loggedin_user_nav(). Please be warned that it has been marked as deprecated but it is not going anywhere soon.

    2. Or, you can create a custom menu in the Dashboard->Menus and use links from BuddyPress link group(If not visible, see the screen options to enable it) and then add that menu to the sidebar.

    Hope that helps.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: [Resolved] xprofile field group #3981

    Hi Saran,
    Welcome back.
    Yes, It is doable and here is an example. Please make sure to change the profile group ID in the code.

    
    
    //step 1: Add a new Tab
    function buddydev_setup_new_xprofile_tab() {
    
        $slug = bp_get_profile_slug();
    
        bp_core_new_subnav_item( array(
            'name'          => 'About',//label
            'slug'          => 'about',//slug
            'parent_slug'   => $slug,
            'position'      => 12,
            'parent_url'    => trailingslashit( bp_loggedin_user_domain() . $slug )  ,
            'screen_function' => 'buddydev_screen_profile_data'
        ));
    }
    
    add_action( 'bp_setup_nav', 'buddydev_setup_new_xprofile_tab' );
    
    //Step 2: Load the plugins template file
    function buddydev_screen_profile_data() {
        //filter loop
        add_filter( 'bp_after_has_profile_parse_args', 'buddydev_filter_args_for_profile_group' );
        //load loop
        add_action( 'bp_template_content', 'buddydev_show_profile_group_data');
    
        bp_core_load_template( 'members/single/plugins');
    }
    
    function buddydev_filter_args_for_profile_group( $args ) {
        ///CHANGE IT
        $args['profile_group_id']  = 2; //Your Profile Group ID Here
    
        return $args;
    }
    //Load the loop
    function buddydev_show_profile_group_data() {
    
        bp_get_template_part( 'members/single/profile/profile-loop' );
    }
    
    

    Please do let me know how it goes with you.

    Thank you
    Brajesh