BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] MediaPress Breaking Profile Page Layout #47371

    Hello Chris,

    Sorry for the inconvenience. I have checked this on my local development server and the Layout is looking fine. You can check it here:

    https://tinyurl.com/23e8pvrq

    There might be chances that some widgets might be breaking this layout. Please try after temporarily deactivating each widget and then check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: add a button (shortcode) to user’s profile in buddypress #47369

    Hello Amanda,

    you can place this code under the active theme ‘functions.php’ file or ‘bp-custom.php’.

    For more info on the bp-custom file please refer to the following link:
    https://buddydev.com/docs/buddypress-guides/what-is-bp-custom-php/

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: add a button (shortcode) to user’s profile in buddypress #47358

    Hello Amanda,

    Try the following code:

    
    add_action( 'bp_before_member_header_meta', function () {
    	echo do_shortcode('[your shortcode goes here]');
    } );
    
    

    Please let me know if it works or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Daniel,

    Please replace the following line:

    
    $url = trailingslashit( trailingslashit( bp_get_members_directory_permalink() ) . 'me/' . bp_get_members_invitations_slug() );
    

    with

    
    $url = trailingslashit( bp_loggedin_user_domain() );
    
    

    Give it a try.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Try using functions ‘is_home’, ‘is_front_page’, and ‘is_page’ for skipping. Please check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BP Auto Clean Notification #47159

    Hello Daniel,

    Thank you for the acknowledgment. Can you please point me to the topic where the code is shared so that I can help you?

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BP Auto Clean Notification #47150

    Hello Daniel,

    We do not have such a plugin name ‘BP Auto Clean Notification’. Please let me know if you are referring to BuddyPress Clear Notifications plugin offered by us.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Help with syncing groups and roles #47146

    Hello,

    Is it possible to keep the role for the other group memberships?
    Yes, It can be achieved by calling the ‘add_role’ method instead of ‘set_role’. You can modify it here:

    https://github.com/buddydev/bp-group-role/blob/master/class-bp-group-role-handler.php#L167

    join a group, log out from site, log back in and the results is still that they dont get added to a custom group

    I am unable to get your point here. Can you provide me with a short video or screenshots of the issue so that I can help you with this issue?

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Help with syncing groups and roles #47143

    Hello,

    Please check the following video:

    https://www.awesomescreenshot.com/video/12085232?key=01a7aeb117a059dcc6f0e18c0eb80f1a

    1. If a user joins a group x with Role X then the user will be assigned role X and further, If he/she joins another group y with Role Y then the previous role X will be removed and the new role Y will be assigned to the user.
    3. No this plugin does not assign associated group role to existing members, it will assign role only on group join.

    Please check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Help with syncing groups and roles #47141

    Hello,

    Sorry for the inconvenience. The plugin adds a setting under the group’s manage screen under the settings page. Check the following screenshot:

    https://tinyurl.com/28qcrejs

    Once you set the associated role for the group. It will be auto-assigned to the joining user on group joining. It will remove the old user role and set the group-associated role as a new role and Leaving the group plugin doesn’t do anything.

    Please let me know if you need further assistance.

    Regards
    Ravi