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: 25368
    Brajesh Singh on in reply to: [Resolved] Styling of user groups in general #36561

    Hi Carsten,
    Thank you for the question. The use of table restricts layout.

    If you go with a table-less layout, you might have a lot more control(but that will need you to do the custom css again).

    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25368

    Hi Carsten,
    Thank you for the question.
    Here is the code with awrapper div.

    
    /**
     * Buddypress Show Xprofile Field Data in The Profile Header.
     */
    
    function yzc_add_xprofile_field_data_in_profile_header( $name )
    
    {
    
    	$field_data = xprofile_get_field_data( 'Age', bp_displayed_user_id() );
    	if ( ! empty( $field_data ) ) {
    	    echo "<div class='profile-job-info'>";
    		
    	    echo '<br/><strong>Alder:</strong> ' . $field_data;
    
    		$field_data = xprofile_get_field_data( 'From', bp_displayed_user_id() );
    		if ( ! empty( $field_data ) ) {
    			echo '  <br/> <strong>Fra:</strong> ' . $field_data;
    
    			$field_data = xprofile_get_field_data( 'Job', bp_displayed_user_id() );
    			if ( ! empty( $field_data ) ) {
    				echo '<br/><strong>Job:</strong> ' . $field_data;
    
    			}
    		}
    
    		echo '</div>';
    	}
    }
    
    add_action( 'bp_before_member_header_meta', 'yzc_add_xprofile_field_data_in_profile_header' );
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25368

    Hi,
    Please create a file as suggested by Ravi above.
    Your current location for bp-custom is incorrect. The file bp-custom.php should go into the wp-content/plugins directory.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25368
    Brajesh Singh on in reply to: [Resolved] Can you help me with this code. #36558

    Hi Tosin,
    Thank you for the code and the suggestion.

    Please allow us to look at this weekend and assist you by early next week. We need some time to test it. Our current schedule is packed for this week limiting our ability to assist you with it quickly.

    Regards
    Brajesh

    PS:- Is this code from some plugin?

  • Keymaster
    (BuddyDev Team)
    Posts: 25368
    Brajesh Singh on in reply to: Buddyblog pro Entry form styling #36557

    Hi,
    Thank you for sharing.

    I do see the issue with lists and the markup a bit. Please allow me to post some css in 24 hours.’

    Also, I will suggest you to mark the create,edit,drafts,pending tab only available to profile owners. They should not be accessible to others.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25368
    Brajesh Singh on in reply to: [Resolved] Problem to Setting Auto Friendship #36548

    Hi Emanuele,
    I am very sorry for the delayed reply. Have asked @ravisharma to follow up and assist you with it quickly.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25368
    Brajesh Singh on in reply to: BuddyBlog and ACF #36534

    Thank you.
    Please allow us to look into the day today and get back to you. WE will reach out to you if need any assistance with replicating it.

    Regards
    Brajesh

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

    Hi Dave,
    Thank you.

    Please allow us to put an update in next 2-3 days to randomize the result on each page load.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25368

    Hi,
    BuddyPress offers a specia url( http://[example.com/membersdirectory-path%5D/me/&#8221; as the shortcut to access logged user’s profile url.

    The part in the bracket should be replaced by your own site’s members directory.

    Please see this reply for an explanation.
    https://buddydev.com/support/forums/topic/could-you-tell-me-the-tablink-url/#post-36471

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25368
    Brajesh Singh on in reply to: members-type-navs filter not working #36528

    Hi Meike,
    Thank you for the reply.

    Can you please link me to the site and grant me the admin credentials to check it? If I can check it, I can quickly find the reason and assist you.

    Thank you
    Brajesh