Skip to:
Content
Pages
Categories
Search
Top
Bottom

BUG. When a user is deleted this doesn’t reflect in the friends count or follow count

  • Profile photo of rossagrant
    rossagrant
    Participant

    @rossagrant

    Just noticed if I friend with a user or follow them and then delete them from the site that my friends count and follow count stays the same, rather than it taking off the deleted user.

    Any ideas if this happens for everyone else?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Profile photo of rossagrant
    rossagrant
    Participant

    @rossagrant

    Could someone confirm this for me and I’ll get it on TRAC.
    Cheers. ;)

    Profile photo of Brandon Allen
    Brandon Allen
    Participant

    @cnorris23

    This has been reported (https://trac.buddypress.org/ticket/2411) and fixed (https://trac.buddypress.org/changeset/3044). However, the fix won’t be available until 1.2.5 is released, unless you are comfortable editing code. Hope this helps.

    Profile photo of rossagrant
    rossagrant
    Participant

    @rossagrant

    Ahh right, thanks for that! That covers friends, how about followers? That is affected in the same way.

    Profile photo of rossagrant
    rossagrant
    Participant

    @rossagrant

    @apeatling Hey Andy, thought you may want a heads up on the follow plugin issue.

    If you delete a member from the admin panel, no ones following totals change to reflect that the user is gone. There is a TRAC for this issue happening with the friends counts (see above) but nothing on following.

    Cheers pal!

    Profile photo of abcde666
    abcde666
    Participant

    @erich73

    this is already in TRAC:

    https://trac.buddypress.org/ticket/2341

    Profile photo of rossagrant
    rossagrant
    Participant

    @rossagrant

    Sorry maybe I’m getting confused by I thought that TRAC only fixed the incorrect ‘Friends’ counts. The same thing happens when you have the ‘BP Follow’ plugin installed. The following counts don’t update either when a user’s account is deleted. I’m not sure if the actual follow plugin would need a code change as well. I expect it will as you can follow anyone – not just your friends.

    Profile photo of Brandon Allen
    Brandon Allen
    Participant

    @cnorris23

    You are correct. The two Trac tickets only fixed friend counts. The BP Followers plugin is a separate issue, and would require code change to that plugin. I would try posting in the plugin forum (https://buddypress.org/community/groups/buddypress-followers/forum/) to get that issue resolved, or to at least bring it to Andy’s attention.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘BUG. When a user is deleted this doesn’t reflect in the friends count or follow count’ is closed to new replies.
Skip to toolbar