Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • @forinn

    Participant

    I want to mark this topic as resolved.

    Just for reference:
    The resolution was to enable WordPress vs. Buddypress synchronisation (in the Settings > Buddypress settings).

    @forinn

    Participant

    You’ve got mail! 🙂 thanks in advance.

    Yes I am using BuddyX PRo (but again, when switching to any standard theme – the issue is the same)
    And BuddyPress (not BuddyBoss)

    @forinn

    Participant

    I use Nouveau by the way

    Unfortunately it did not work, your code.

    Ideally, I would like to keep the dropdown (last active, registrered, alphabetical) the same, just by default that “alphabetical” is selected AND that it sorts on display name.

    I have already tried numerous types, but it won’t let me sort by display name, nor will it allow me to change the default selection.

    Can you provide me with your junk e-mail and access needs? (like, do you also need admin access or ftp/db access?)

    Please note I am already appreciating all your time and effort, I’m not expecting anything and I’m already very happy with the help so far.

    Thanks.

    @forinn

    Participant

    Hi there,

    I had the issue with posting a reply yesterday too. Weird.
    That is why I split my message in 2 and than I could post it.

    I was able to read your share txt and the next replies and also view that images.

    Anyway… I am willing (if you are willing to put the time in it) to give you access to my staging site, but I rather not post the link in public, to avoid traffic from Google and such to that staging website. But there does not seem to be a way to share the link with you in private. Do you have any suggestions?

    To further explain my situation: I did not make any customizations to my buddypress or xprofile plugin that have anything to do with the profile fields. From the clean install, the “Name” field is already there from the start, when installing the buddypress plugin.

    I am not adding users via the admin section, I am letting them signup via the website register form. So following this process, the situation is as described before, where the “Name” will be filled in by the user as part of the registration process. The Name field is mandatory, set by Buddypress, which I can not influence nor rename.

    I did nothing to influence the Name field, other than translating it like I explained before.
    The Name is operating as a seperate field, that does not seem to link to username by default. And that is also not what I want. Because it would lead to the username being shown twice on a profile page, which is ridicilous of course. Since you can not block or hide the Name field, it will be there. Also, the Name field is always on the register form, and the field is mandatory (which you cannot change), so people CAN and probably will fill in something different than their username. Most likely their first name. Which is what happened on my site anyway, people fill in their regular first name. Only a handfull will choose like a second username/nickname for the field value. Anyway, in 99% process of the time, the Name field is populated with a different value than the username as a result of the website registration process (which is not changed, it is by default like that, since installing buddypress).

    I use the BuddyX theme. But the issue is not related to the theme, because using a default WordPress theme (like twenty two or so), will have the same result.

    So, it poses as a problem, if the usernames show up on the userlist, but the sorting will go on the “Name” field, which is not identical to the username. This will lead to a really undesired situation, where the sorting does not seem to work properly on the frontend, because “invisible” the userlist is sorted on the Name field.

    And also, this is new. Before, this was not the case. It did NOT sort on the “Name” field. And I’m oblivious why it does now, what is the intent by changing this.

    So, to address the situation, and to avoid having duplicate usernames on the profile page, I would rather stick with people using the Name field as their first name or something like that.

    I would like to sort on display name. Is there a way to do that? Do you have a suggestion?

    @forinn

    Participant

    Screenshot of test user “debugger” field information in bp_xprofile_data:
    v3
    On the screenshot you can see field name 1 (Name) come in as “Annie”. So, this is not the same field and not the display name. The display name CAN become “Annie”, when i choose to change it after I edit my profile, but not as standard, than it will use my username. This is also the desired situation, I want people to show with their usernames.

    So, after the WordPress update the following has changed:
    – It is now mandatory to use “Name” for mandatory base field, I am not allowed to translate that. I can do it probably with Translate press as you suggested and I will look into that. But it is a new thing, it was not like that before. Thanks for your suggestion!
    – The “Alphabetical” sorting option in the memberlist is now sorting on this “Name” field and not on the “display name”. If a user their username is for example: robinhood and their “name” is “patrick”, it will give a really weird non-alphabetical result in the userlist, as you can still see their usernames, but the sorting is now done on a different field than before. Do you follow?

    Anyway, I would like to have it that it sorts by default on alphabetical and that it will sort on “display name” rather than “Name”.

    Do you think this is a release bug, or is this change intentional?

    Any suggestions? Wait for a fix, or will it have to be manual code in wpcode?

    Thanks for your support again.

    (2/2)

    @forinn

    Participant

    Also from my side, very much appreciated all the help and effort -> sorry for not mentioning that before! I was so hyperfocussed on the issue that I forgot human interaction.

    Anyways, again, thank you.

    To further empathize what I mean with the display name is this:

    Screenshot of a test user I just registered via the normal process on the website signup form:
    v1

    You see username, nicename, display name are automatically set same as the username (which is debbugger)
    I filled the “Name” field on signup with “Annie”, as a random name. and some other random fake user information. As you can see “Annie” is not showing up, only that “debugger” which I choose as my username.

    Screenshot of bp_xprofile_fields, where you can see the “Name” base field (1):
    v2
    As you can see, “Name” is hardcoded in the database. And this is mandatory. I had this translated to “Naam” before, but after the wordpress update, that was no longer allowed. It took me days to figure that out, but I am happy I found out. This thing was the sole reason everything like friendlist, userlist, etc. did not work anymore. Please note I am not allowed to rename or change any setting with regards to this field. I am also not allowed to delete it. I am stuck with it, it seems.

    (1/2)

    @forinn

    Participant

    Also, I am no longer able to customize the order of my members list. I was using default alphabetical, but also that function no longer works.

    @forinn

    Participant

    On second thought… this is within the Buddypress coding, so something that must have changed for WordPress 6.7 is not interacting correclty anymore with Buddypress.

    The “Alphabetical” sorting of the user list is sorting on the “Name” base field of bp_xprofile_data table (field 1). This field I had renamed to “Naam” (which is Dutch for Name). This is hardcoded in the database and not avaibable as translation string. After switching back to “Name”, everything worked again. Before, I was allowed to use switch the name of the field. How do you translate this? I now have used a filter function in my functions.php, but it shouldn’t be necessary.

    Furthermore I discovered the memberlist is sorting on that particular “Name” field, instead of the “display name” I want to use. Any idea’s how to get the userlist to sort on display name instead of “Name” ? Why do we have a mandatory “Name” field anyway?

    @forinn

    Participant

    I managed to locate the issue. After the wordpress update, it was not allowing my translations for the xprofile fields anymore. For some reason it has to be English now, it is no longer allowing it to be Dutch. I’ll flag this with the WordPress development team.

    I’ll close the topic as the issue is likely not because of Buddypress but because of WordPress.

    How can I resolve./close this topic?

    @forinn

    Participant

    Yes – cache is cleared.
    I tried on 2 different servers.
    I have used the basic wordpress theme – which was updated today.

    At this moment the issue is only with alphabetical. All 2 users are “activated”.

    I will send you a dm with link of the website url.

    @forinn

    Participant

    This is my settings: https://ibb.co/6twjgxB

    Nothing special.

    The second user was added via the admin by me. Should work, right? Because we do have that option, why would it not work? I could see the second user on the admin panel but not on the frontend.

    But even after I have logged in on my and my second account, still user list alphabetical does not work. Can you explain what the issue could be with the memberlist? Why does alphabetical not work? It worked before the update.

    @forinn

    Participant

    I installed a blank wordpress on a test environment, clean sheet.
    I installed a clean, blank install of buddypress.
    I use the lastest update of twenty seven theme.

    I have only 1 user, which is me (admin) of the test site, and I show up.
    I added a second user, via the admin, that did not show up.
    I added this user as a friend, this user show up in “my friends” but not in userlist.
    Than I did database repair (fix total members) and fix friendship total.
    Than the second user show up.

    But when trying to sort on “Alphabetical”, I get “no members found”

    All my plugins have been de-activated except for Buddypress.

    I tell you, something is wrong. Please believe me.

    This is the screenshot: https://ibb.co/W6drH8p

    I am not using caching of any kind. It is a clean install. No plugins or other things running. Only my theme and buddypress.

    Please do me a favor, go to your latest buddypress and wordpress version and try to use the userlist/friendlist, I am 1000% sure you are having the same issues.

    @forinn

    Participant

    I already troobleshooted that ofcourse.

    I tried it with the basic twenty seven theme and with no other plugins enabled. I did not make any customizations.

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar