XF 1.4 Remove all posts by a user

KevinMK

Member
I've had an old user come back and ask me to remove all posts by him. He has over 3000, so do this manually would be a problem. Is there a way to do this? If I just remove the user, his posts will be turned to "guest" and he actually wants to nuke the content.
 
I think that's your decision as to whether or not you remove his content. Personally I won't remove user content like this or delete accounts, I do what Andy has suggested.

Anyway if you want to remove all content, you can use the spam cleaner to do it ACP > Options > Spam Management. You will need to set the Spam Cleaner User Criteria all to 0 to make it available for this user. You can then spam clean (delete) all of their content, then finally delete their account. Be warned that once you do this you can't get it back.
 
You can then spam clean (delete) all of their content, then finally delete their account. Be warned that once you do this you can't get it back.
@Martok, When I spam clean, the messages are soft deleted. Is there a way to hard delete posts using spam cleaner?. Admin account has all permissions set to allow.
 
Yes, in the spam cleaner options there are two settings (one for threads, one for messages) which you can set to permanently delete. Again be warned, once it's permanently deleted it's gone forever.
Thanks (y) . I was searching for this in usergroup permissions. Found it in options.
 
The spam cleaner isn't specifically designed for thousands of posts so you may experience a timeout or other issue.

You can try the batch update threads function first to temove any threads they have started, plus their posts in said threads.
Then there may be a lot less content for the spam cleaner to deal with.
 
He wants the actual content removed, not just his user name.

There are several huge problems with removing posts of a member:

1) Posts are often quoted by other members, so the person asking to have his posts removed will still see his quoted posts.
2) Threads started by a member will be completely deleted, so he is asking to remove posts made by other members as well, this is not good.

I suggest doing as I outlined in post #2 of this thread and cease all further communications with this member.
 
I understand that there are problems with removing his content. I've decided to do that. It's not worth debating. I'm trying to figure out the best way to make it happen.

The option to delete all of his posts using the spam management tools doesn't seem to be an option because he has been a member so long and has had far too many posts.

The spam cleaner isn't specifically designed for thousands of posts so you may experience a timeout or other issue.

You can try the batch update threads function first to temove any threads they have started, plus their posts in said threads.
Then there may be a lot less content for the spam cleaner to deal with.

I don't see an option with the batch update threads to remove posts in other threads. Is that how it works by default?
 
He is a friend, not an antagonist or enemy.

In that case you can use the following add-on which makes removing posts very easy.

Delete Posts

Notice it has a Limit option so you can delete posts in batches to avoid problems associated with deleting large numbers of posts.

In addition you will more than likely want to search for any quoted posts to delete them as well, this is done manually.
 
Hi all,

A few spammers slipped through the cracks on my site before I was able to tighten up the anti-spam controls.
I'm now trying to clean things up using the Spam Management system.
I've gone into the ACP and adjusted the 'user criteria' options for Spam Management and set to 0. This enabled the spam button to appear for user profile cards etc.
I'm trying to use this screen, but it seems perhaps the back-end web hosting server (i'm with GoDaddy .... i know!) can't handle it?

upload_2016-1-27_7-34-59.webp

Previously this screen would stay there, and it would never get to the next confirmation screen.
Unfortunately now I'm getting these sporadically:

upload_2016-1-27_7-35-55.webp

Any thoughts?
 
The issue here is that you're deleting a huge amount of content -- over 10,000 messages. The spam cleaner is designed for bulk cleaning, but not really that level of it.

At least some of the content will need to be removed in a different manner. If they created threads, you can delete them using the batch update threads tools in the control panel. Otherwise, you can search for posts they made and use the inline moderation tools to (hard) delete them.
 
Back
Top Bottom