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: 25490
    Brajesh Singh on in reply to: BuddyBlog and ACF #36571

    Hi sierra,
    We haven’t been able to test with ACF but I am assuming the issue is due to our code adding context parameter to the uploader.

    It happened since you have put the ACF form under the buddyblog’s tab.

    Please put this code temporarily in your theme’s functions.php

    
    
    add_action( 'bp_enqueue_scripts', function () {
    	wp_dequeue_script( 'bblogpro' );
    }, 20 );
    
    

    Does it fix the issue?

    If yes, can you please tell me the tab slug and sub tab slug. That way, I can provide you the code which will not affect other instances.

    Regards
    Brajesh

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

    Hi Emanuele,
    Thank you for the patience. It seems @ravisharma was not available and could not assist you today. Either He or I will be providing you the code within next 24 hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi Tosin,
    Thank you for using the plugins.

    We do have a shortcode

    
    [bpmts_report_button]
    

    which you can use for the same. The removing of button is a bit complex currently. Please allwo us to put a setting in the plugin instead in next 4-5 working days for it.

    here is an exmaple use of the shortcode for showing the button in a WordPress post.

    
    [bpmts_report_button label ="Report" link_class = 'some-link-class' wrapper_class = 'some-wrapper-class']
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490
    Brajesh Singh on in reply to: [Resolved] Styling of user groups in general #36566

    Hi Carsten,
    The markup you are using is using html table to layout the field and data.
    By table less, I meant using div etc to create rows/columns.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490
    Brajesh Singh on in reply to: Buddypress Poke Adjustments #36564

    Hi Tosin,
    Thank you for the suggestion.

    At the moment, the poke plugin is on hold.

    We will be rewriting the whole plugin from today’s perspective in next couple of months. Please do keep sharing the ideas.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490

    Hi David,
    We haven’t tested it with a directory plugin.
    Do you have any preference? Please let us know. If the plugin is available to us, we will be glad to add the support within 7- 10 working days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490
    Brajesh Singh on in reply to: Multiple Plugins not functioning properly #36562

    Hi Daniel,
    The current functionality is controlled by BuddyBoss. They allow it for all.

    I am requesting Ravi to assist you with the code for the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25490
    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: 25490

    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: 25490

    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