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: 25392
    Brajesh Singh on in reply to: [Resolved] Xprofile Field – Country Select #45169

    Hi Quint,
    Thank you for the questions.

    1. We do not provide compatibility with Youzify. We lack the ability to assist you with that one.

    2. We will provide support for BP profile Search plugin. At the moment, the Country field is not registered as searchable by us. We will update the xprofile to register it as searchable. Please allow me to get back to you by Monday/Tuesday.

    Thank you
    Brajesh

    • This reply was modified 3 years, 10 months ago by Brajesh Singh.
  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi,
    We have it resolved in our development branch on github. The problem is we have the complete change of uploader experience/addition of uploading to activity and that’s the reason we haven’t been able to push it on wp.org

    I am still not sure if I should be pushing the new MediaPress on wp.org(which might break some of the theme compatibility not known to us) or shoild I maintain a dirfferent branch for the current version until the final release of new.

    Can you please download the plugin from our repo and give it a try
    https://github.com/buddydev/mediapress

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: [Resolved] Generic Activity URL Needed #45167

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi Tosin,
    Sorry, I could not help you earlier.

    1. Do you want to limit the scope of this update to certain form? If yes, Please share the form id.
    2. By category, are you referring to post category or is it a custom taxonomy? If it is a custom taxonomy, Please let me know about the name and label.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: [Resolved] Redirect After Registration #45151

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: installation breaks the groups #45150

    HI Greg,
    Thank you for purchasing from us.

    It seems you have created one or more tab with faulty configuration(using this plugin). Can you please check if you have created some tabs or not?

    If yes, Please check the configuration. Are the accessible? Are they set as default?

    We will issue the refund as and when you request it, there is no issue with that.

    If you can check the tabs configuration and let me know, I can assit you get it working.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: [Resolved] Generic Activity URL Needed #45148

    Hi,
    Welcome to BuddyDev.
    You can use the following url

    
    https://themislabeledspecimen.com/members/me/
    
    

    The ‘me’ will be automatically replaced by the current member.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi,
    Thank you for creating this topic and sharing the details.

    I will have the update within next 24 hours with a solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25392
    Brajesh Singh on in reply to: [Resolved] Delay when posting on BP #45145
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25392

    Hi Quint,
    Thank you for the reply and confirming.

    2. I have slightly updated the code( Also included your code for inch2feet, so please remove the old one).

    
    
    function inches2feet($inches){
    
    	//Get the feet by dividing the inches by 12.
    	$feet = intval($inches/12);
    	//Then, get the remainder of that division.
    	$inches = $inches % 12;
    	//If there is no remainder, then it's an even figure
    	if($inches == 0){
    		return $feet . ' foot';
    	}
    	//Otherwise, return it in ft and inches.
    	return sprintf('%d ft %d inches', $feet, $inches);
    }
    
    /**
     * Converts inches to metric unit(zz meters, xx cms ).
     *
     * @param float $inches inch.
     *
     * @return string
     */
    function inches2metric( $inches ) {
    
    	$cms = $inches * 2.54;
    
    	$len_meters = floor( $cms / 100 );
    	$len_cms    = $cms % 100;
    
    	$out = array();
    
    	if ( $len_meters ) {
    		$out [] = sprintf( '%d meters', $len_meters );
    	}
    	if ( $len_cms ) {
    		$out [] = sprintf( '%d cm', $len_cms );
    	}
    
    	return join( ', ', $out );
    
    }
    
    add_filter( 'bp_get_the_profile_field_value', function ( $field_value, $field_type = '', $field_id = '' ) {
    	if ( ! $field_id || ! $field_value ) {
    		return $field_value;
    	}
    
    	$height_fields = array( 8, 9 );// update your field ids.
    	if ( ! in_array( $field_id, $height_fields ) ) {
    		return $field_value;
    	}
    
    	$field_value = floatval( $field_value );
    
    	$imperial_length = inches2feet( floatval( $field_value ) );
    	$metric_length   = inches2metric( $field_value );
    
    	return "{$imperial_length}({$metric_length})";
    
    }, 9, 3 );
    
    

    It will display in the format ” xx ft, yy inch( mm meters, zz cms)”.
    Please feel free to adapt it.

    3. Thank you. I do believe that.

    Sure, I am looking forward to it.

    Regards
    Brajesh