Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25370
    Brajesh Singh on in reply to: Random Friends of Friend Suggesty Pro #36660

    Hi Dave,
    Do you have a staging site? If yes, Can you please grant us temporary admin access to check why the list is not fetching correct results.

    That will help us assist you better.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370

    Hi,
    That code is for displayed user’s member type.

    you may use the following instead

    
    
    /**
     * Inject classes to body based on logged user's member types.
     *
     * @param array $classes array of css classes.
     *
     * @return array
     */
    function buddydev_add_membertype_to_body_class( $classes = array() ) {
    
    	if ( ! is_user_logged_in() ) {
    		return $classes;
    	}
    
    	$member_types = bp_get_member_type( get_current_user_id(), false );
    
    	if ( ! $member_types ) {
    		return $classes;
    	}
    
    	foreach ( $member_types as $member_type ) {
    		$classes[] = 'logged-member-type-' . $member_type; // member-type-student etc.
    	}
    
    	return $classes;
    }
    
    add_filter( 'bp_get_the_body_class', 'buddydev_add_membertype_to_body_class' );
    
    

    This adds logged user’s member types.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370
    Brajesh Singh on in reply to: [Resolved] About Buddyblog #36657

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25370

    Hi Tiffany,
    Please allow me to go through the plugin again and see if I am mistaken somewhere. Will be writing back within next 24 hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370
    Brajesh Singh on in reply to: Add Icon in new Profile Tab #36643

    Hi John,
    Welcome to BuddyDev forums.

    BuddyPress template packs does not support icon nav currently. You will need to use css to suppor it.
    You may check our implementation of the same using the free community Builder theme.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370
    Brajesh Singh on in reply to: [Resolved] About Buddyblog #36642

    Hi Ahmed,
    Thank you for your interest in the BuddyBlog plugin.

    If a post was created via Gutenberg editor, It won’t look good in the classic editor(tinymce) used by BuddyBlog. If the post was created in classic editor, It will be fine.

    I am not aware of the other field types supported by the WP recipe Maker. The BuddyBlog pro comes with a few field types and we are adding more in future. I should be feasible to replicate the form using BuddyBlog Pro.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370

    Hi David,
    Thank you for sharing the details and the resolution.

    I am glad it is fixed now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370

    Hi Brandon,
    Thank you for the reply.

    Please do remember that the Numbers are not actual positions. If 3 tabs have numbers 5, 2, and 100 assigned. The tab with number 2 will appear as first and number 100 as the last.

    All the Group tabs have a pre existing numbers assigned(By BuddyPress/BuddyBoss and other plguins). In order to re-order tabs, you will need to know that order.

    Here is the list for BuddyBoss

    
    Members - 10
    Feed - 11
    Subgroups - 20
    Invites - 70
    Messages - 70
    Forums- 80
    Photos 80
    Albums 85
    Documents - 85
    Manage - 1000
    

    Please use the number accordingly to move the tab.

    Please let me know which plugin are you using for the events and I will assist you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370

    Hi,
    I am sorry, we haven’t been able to check it. Will do it this Saturday and let you knwo within next 24 hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25370
    Brajesh Singh on in reply to: Artist Pages #36634

    Hi Steven,
    Welcome to BuddyDev forums.

    Do you want to add the buton inside a custom tab’s content or somwhere elese?

    Do you want to do it for the current logged in user? If yes, You can use the following dynamic url.

    
    http://example.com/members/me/
    

    It will take the currently logged user to their profile page.

    You will need to replace the “http://example.com/members/” with your site’s members directory url.

    Regards
    Brajesh