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

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    For anyone else looking for a solution, we released this as part of BuddyPress Member Types Pro a year ago.

    You can set default avatar/cover based on member type without touching any code.

    https://buddydev.com/plugins/buddypress-member-types-pro/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] BuddyBlog issues #30740

    Your problem is you have tinymce disabled by something(most probably another plugin) and that is causing it.

    Here is what it should look when the wp wditor is enabled.
    https://i.imgur.com/Qv6dLrA.png

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] BuddyBlog issues #30736

    Link to the site please.

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Thank you for providing me the access.

    The issue is, there is a slash missing in the css

    Please change this

    
    #buddypress .bp-settings-container .bp-navs #account-admin-visibility-mode:before {
        content: 'E90D';
    }
    

    to

    
    
    #buddypress .bp-settings-container .bp-navs #account-admin-visibility-mode:before {
        content: '\E90D';
    }
    
    

    Please make sure the content is

    
    '\E90D'
    

    and not

    
    
    'E90D'
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Mikel,

    If the shortcode works with Wc4BP, I do not see any reason for it to not work with Profile tabs pro.

    Please provide me temporary details via mail(You already have my email), and I can quickly check the reason. If for some reason it doe snot work(Say it needs page context), I can find a way to solve.

    Since the affiliate plugin is a premium plugin, I can not test it on my own. That’s why I requested for the credentials.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Member Types Pro – Displaying based on type #30730

    Hi Granmeh,
    Thank you for the patience.

    You may use following code in bp-custom.php to achieve that

    https://gist.github.com/sbrajesh/f7350e1687505bd10f94e6233a70ead2

    It assumes the users have member type ‘male’, ‘female’. Please feel free to update as needed.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Nested Buddypress profile fields #30729

    Hi Nik,
    You can do it without new field type but I will recommend new field type. With new field type, you will have control over option key and labels(can have different value and labels in the dropdown), With an existing field like select box, we do not get that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Mikel,

    That is exactly what Profile tabs pro is supposed to do. Your tabs are configured incorrectly.

    Please grant me access to your site admin for 10 minutes and I can create a tab to help you with it.

    What you are currently doing is creating an external link, you should not. You need to add a normal tab and use the shortcode.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: How can I Get Buddypress Favorite Count #30727

    Hi Adeala,
    You can get the total favourite count using this function

    
    $count = bp_activity_total_favorites_for_user( $user_id );
    

    where you need to provide the $user_id for the context.

    For example, to get total favourite count for logged in user, we can use

    
    
    $count = bp_activity_total_favorites_for_user( get_current_user_id() );
    
    

    If you are on a user profile and want to fetch the total count of the displayed user, you can do it like this

    
    $count = bp_activity_total_favorites_for_user( bp_displayed_user_id() );
    
    

    Hope that helps.

    Regards
    Brajesh