BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45473

    Hello Brajesh,

    I understand the thought behind that approach. The one disadvantage I see is documentation that advises the user regarding the use of specific tabs, when eventually, the Admin may decide to remove all tabs but one, yet the documentation still refers to the tab label that the user can no longer see.

    It’s an outlier given the extremely low probability of occurring. No change recommended other than a note/text making the Admin aware that if only one subtab exists, then its label will not render since it’s not necessary.

    Cheers,
    Quint

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45471

    Hello Brajesh,

    Thanks for quickly circling back. This almost worked. The subtab that you added was not visible when I navigated to the Test Group. See attachment.

    Only when I added a second subtab did they both became visible. See attachment.

    https://www.dropbox.com/s/upt3blbdr48mxbt/Screen%20Shot%202022-06-22%20at%202.50.02%20AM.png?dl=0

    https://www.dropbox.com/s/g3ur7yzybb90438/Screen%20Shot%202022-06-22%20at%202.53.03%20AM.png?dl=0

    Quint

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45466
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45360

    Hello Brajesh,

    Thanks for the explanation. Then, that won’t work for us from a “messaging” standpoint. However, from a curation of “friends,” or whatever categorization they invent, then it fits the bill. And since I have control over notifications, my previous concern has been addressed.

    Thanks for writing it,
    Quint

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45348

    Hello Brajesh,

    One more observation: on the Members Directory, the Add to Circle button should only be visible/available to the logged in user when that target Member has Connected. If not, that interaction is a bit like stalking. Just an opinion.

    Quint

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45334

    Hey Brajesh,

    You’re right, my apologies.

    Thanks,
    Quint

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45319

    Hello Brajesh,

    I don’t see where that capability lies. Andrea, in Italy, is the plugin developer and is the one who performed the troubleshooting which lead to the code and recommendation provided earlier.

    Where on here is it? I must be missing something or looking at the wrong spot.

    https://www.dropbox.com/s/iq3lf5tkkhbxhgw/Screen%20Shot%202022-06-12%20at%205.13.45%20AM.png?dl=0

    Cheers,
    Quint

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45292

    Hello Brajesh,

    On a lark, I just tried using the Xprofile Fields – Decimal Field again. I specified a precision of 4 and step size of .0001. It worked!

    Why? I think that the first time I tried it, I did not specify the precision, only the step size. So far, it fails if those are mismatched.

    If you like, this topic can be “resolved.”

    Quint

    P.S. It may be helpful to add this info/direction for that field in the plugin’s FAQ.

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45264

    Hello Brajesh,

    Thank you very much!

    Initially, that worked for the most part. The BP Profile Search developer then made a change:

    * I changed 'set' to 'text' in "BuddyPress Xprofile Custom Field Types", file class-bp-profile-search-helper.php, line 77;

    Not that you need the following but she also wrote a snippet to convert that field’s list of checkboxes rendered in the search form to a multiselect dropdown:

    
    add_action ('bps_field_before_search_form', 'change_display');
    add_action ('bp_ps_field_before_search_form', 'change_display');
    function change_display ($f)
    {
    	if ($f->code == 'field_16' && $f->display == 'checkbox')	// field_16 is your Country field
    	{
    		$f->display = 'multiselectbox';
    	}
    }
    

    Thanks again,
    Quint

  • Participant
    Level: Initiated
    Posts: 17
    Quint A. Rahaman, Jr. on #45249

    Hello Brajesh,

    Whatever you provide would be great. The validation step in BuddyBoss when editing the Profile, is after clicking the Save Changes button. If it fails, the error is noted at the top of the page and the field value is discarded.

    So, in this case since you recommended a text input field to capture the Lat/Long, the validation would check that it is not alphanumeric but numeric (containing only numbers and a decimal point) instead. I’m using Lat/Long as an example.

    Another example would be “performance rating” which would capture a floating point value to 4 decimal places which would then be used in a faceted search using a range facet, searching for members with a rating between x and y.