BuddyDev

Search

BuddyPress Xprofile Custom Field Types: Tags field

Tagged: 

  • Participant
    Level: Initiated
    Posts: 15
    scoob on #44432

    Hi Brajesh, any updates on this? Kind regards

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #44454

    Hi,
    Thank you for your patience and I am sorry for the delayed reply.

    Please upgrade to 1.2.2 and add the following code

    
    // add extra country to the country field dropdown.
    add_filter( 'bpxcftr_countries_list', function ( $countries ) {
    
    	$countries['XK'] = __( 'Kosovo', 'bp-xprofile-custom-field-types' );
    	// sort alphabetically by keys.
    	ksort( $countries );
    
    	return $countries;
    } );
    

    That will add the country.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #44471

    Hi scoob ,
    I am very sorry, my previous reply was not intended for this topic.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    scoob on #44745

    Hi Brajesh, do you have an update regarding my initial “Custom Field Types: Tags field” problem? Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #44748

    Hi Scoob,
    The disabling of the ‘x’ is available and I will push it sometime today and put the code here for you to disable it.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    scoob on #45279

    Hi Brajesh, I noticed an update on the plugin, but did not found any hints regarding disabling the “x” and the other issues I posted with my initial post. Any news? Thanks! Kind regards

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #45304

    Hi,
    I am sorry for the delayed reply.

    We missed to update in 1.2.3 . Yesterday, we released another update to include it.

    Please upgrade to latest version from wp.org and put this code in your bp-custom.php

    
    
    add_filter( 'bpxcftr_enable_tag_removal_on_view_profile', '__return_false' );
    
    

    That will do it.

    Please let me know if it works for you or not?

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    scoob on #45575

    Hi Brajesh, “bpxcftr_enable_tag_removal_on_view_profile ” works like a charm! Thank you.

  • Participant
    Level: Initiated
    Posts: 15
    scoob on #45576

    There is one more thing with the styling, mentioned in my initial post:
    “2. Display issue: “Edit Profile” mode -> entering tags
    2.1 When entering tags, the first 3 letters typed by the user are hidden by the magnifier icon. Can this be changed?
    2.2 The input form where tags are entered is not responsive. If the window is rezeised, the form width stays fixed.”

    I’m using Buddyboss theme and wehen enabling Select2 (Enable select2 javascript code) for a tag field or multi select field, I do have some display issues. Maybe this is a theme specific CSS issue. It looks like this when typing the first letters, e.g. “Engli” then the “En” is hidden by the magnifying glass icon.

  • Participant
    Level: Initiated
    Posts: 15
    scoob on #45579

    The image link to my previous comment is here:
    https://ibb.co/JHgPC3S

You must be logged in to reply to this topic.

This topic is: not resolved