Skip to:
Content
Pages
Categories
Search
Top
Bottom

Unexpected behaviour with Friends List default sorting


  • yatesa01
    Participant

    @yatesa01

    There seems to be a bug in the expected behaviour of the sorting of friendship lists and friendship request lists. When a user visits their friendship list or request list, even though the drop down sort menu shows that it is set to “alphabetical” the actual sorting is “last active.”

    To switch it to “Alphabetical” the user must first change it to “last active” before changing it back to “alphabetical.” But this is only a temporary fix–after a reload of the page, it goes back to sorting to “last active” regardless of what the drop down menu says it is doing.

    I don’t know if this has been an issue for a while, or if I’m just noticing it. I have BuddyPress 12.2.0 installed on WordPress 6.4.2, along with the BuddyPress Classic plugin activated. I am using BuddyPress Nouveau with the Astra theme.

    Today while trying to solve a different issue, I used the BuddyPress tools, “Repair total members count.” and “Repair member “last activity” data” which then reset everyone last activity status to “Not Recently Active.” I thought everything was fine, but then within an hour or two we started getting reports from our members about them not being able to see their friends list or find friendship requests.

    As I said, it is possible that this has been the case for a while, but since it was a newer install, everyone who was requesting or accepting friendship connections was by definition recently active. Now that their last active status has been reset, though, it has become quite apparent and is causing a great deal of confusion as people try to find their friends or can’t figure out why they aren’t seeing their friendship requests.

Viewing 7 replies - 1 through 7 (of 7 total)

  • Varun Dubey
    Participant

    @vapvarun

    @yatesa01 If this is a fresh installation, you can choose to keep the BuddyPress Classic plugin deactivated. This plugin is designed to provide support for legacy versions of the BP plugin that have not been updated or if you have custom development that uses deprecated codes.


    yatesa01
    Participant

    @yatesa01

    I’m also running bbPress and small number of plugins, not sure if those still require it. I did try turning BP Classic off to see if that was causing the problem, but the sorting issue remained.


    yatesa01
    Participant

    @yatesa01

    This is still an issue and I’ve not found a solution, any help is appreciated. To make matters worse, if a user has more than one page of friends, they cannot view a second page of alphabetically sorted friends from their profile. When they click to page two, the sorting resets to “Last Active,” which means that if any of their friends have not logged in since the membership activity was reset, they cannot be seen if they fall beyond the first page of friends.


    thinlizzie
    Participant

    @thinlizzie

    Hi yates,

    – I still use Buddypress 10.6.1 and can confirm the issue you describe “When they click to page two, the sorting resets to “Last Active,” is indeed present.

    – also the issue with the Repair Tools (Repair member “last activity” data) has also been present for a while. Last year I used it, it unexpectedly reset all my users’ last active time to 9 months earlier (all of them). I had to restore my site from backup.


    juwaretu
    Participant

    @juwaretu

    A combination calculator is a tool used to determine the number of possible combinations when selecting items from a set. It requires input of the total number of items in the set and the number of items to be selected. The calculator computes the number of combinations without replacement, where each item can only be selected once. This simplifies complex calculations, making it useful in fields such as probability, statistics, and combinatorics. To calculate combinations , visit Calculatoruniverse.com and get it done in two easy steps


    yatesa01
    Participant

    @yatesa01

    @thinlizzie I’m glad to know that I’m not the only one experiencing this issue! I was starting to get concerned that I was doing something weird on my site that was causing it. I am concerned, though, that it has been an issue for so long.


    Varun Dubey
    Participant

    @vapvarun

    @yatesa01 @juwaretu I checked the Repair member’s last activity data, and the function seems unusable. The function starts by clearing all existing last_activity records for members from the bp_activity table. It then attempts to insert new last_activity records into the same table, pulling data from the usermeta table. BuddyPress no longer saves the data into the usermeta last activity_data unless $use_legacy_query mode is enabled.
    https://buddypress.trac.wordpress.org/ticket/9096 I have also submitted a ticket to get more insight into it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar