Skip to:
Content
Pages
Categories
Search
Top
Bottom

When you delete a member manually do all of their forum posts get deleted?


  • rossagrant
    Participant

    @rossagrant

    On my install, I just deleted someone and now there forum posts all have a random avatar next to them. If they have to stay, the avatar should say, ‘user Deleted’ or something to stop it confusing people.

    Can they not all be deleted somehow?

    If I mark them as a spammer first then delete wil they get deleted? But would that affect them ever signing up again?

Viewing 8 replies - 1 through 8 (of 8 total)
  • What do you mean by deleted manually?

    If you mark the account as a spammer, they can’t log in with that ID/email again. What’s the goal in deleting them?


    rossagrant
    Participant

    @rossagrant

    I mean, if I deleted a member of my site myself, through the backend, would all of the members content get deleted too, including activity stream items and their forum posts.

    I deleted a test account that’s all and all of the test forum posts stayed behind, attributed by a random avatar.

    I would expect the behaviour to be that all remnants of that user be deleted with their account but that doesn’t appear to happen.

    This would be useful for spammers or users who pose an annoyance to the rest of the community.

    Any thoughts?


    pcwriter
    Participant

    @pcwriter

    @rossagrant

    BP is a plugin that creates its own metadata and db tables to store that data. So, deleting a user via the WP backend simply removes the user from being associated with your site. But it does not delete BP metadata associated with that same user in the BP part of things.

    For all user metadata to be deleted from BP tables, you must delete the user via the “Delete [username]” link in the “Admin Options” menu that appears in the adminbar when visiting the user’s profile. I just deleted a test user from my sandbox and watched as all activity items disappeared.

    Not accurate. Anything that happens on delete in BP should hook into both situations. If it doesn’t, it’s a bug.


    pcwriter
    Participant

    @pcwriter

    @djpaul
    Thanks for reminding me of my favorite prayer: “Oh Lord, help me to keep my big mouth shut until I know what I am talking about.”

    @rossagrant
    Sorry if I led you astray :-(


    rossagrant
    Participant

    @rossagrant

    @DJPaul @pcwriter thanks for the input guys.

    Deleting a member through the WP dashboard most certainly DOESN’T delete any of their BP entries.

    Their username is deleted from the member’s list and their avatar etc goes, but from what I see all of their forum posts remain, without a username and a random avatar associated with the posts.

    Is this a bug then Paul? Anything I need to do to file it?


    rossagrant
    Participant

    @rossagrant

    Deleting users from the BP admin bar does however clean the site of activity and forum posts. I guess this behaviour needs to be linked in with the WP dashboard too.

    Are you on BP 1.2.8? I think we may have fixed this in trunk, it rings a bell. Best to report it on https://buddypress.trac.wordpress.org/ please so we can check it out. Let us know version numbers of WP/BP that you are using at the moment.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘When you delete a member manually do all of their forum posts get deleted?’ is closed to new replies.
Skip to toolbar