How to remove all posts of one user

Started by lucadanieli, January 11, 2019, 10:00:59 AM

Previous topic - Next topic

lucadanieli

Hello,

I have a spam user. I removed it, but it didn't ask me to remove all its posts. Now I have just the posts and not the user. How can I solve the issue?

Best
Luca

Aleksi "Lex" Kilpinen

If there are lots of those posts around probably easiest if you create a dummy user, reattribute posts to that user, then delete the dummy user and posts at once.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

lucadanieli

Thank you Aleksi.
How can I? In my Administrator -> Members, I do not have an option to create a dummy user.

Aleksi "Lex" Kilpinen

Admin -> Members -> Registration -> Register new member :)

You can create a "dummy" user account from there.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

lucadanieli

Great, done!
Where should I go to reattribute the posts to the user?

Aleksi "Lex" Kilpinen

Admin -> Maintenance -> Forum maintenance -> Members :)
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Owdy

Quote from: Aleksi "Lex" Kilpinen on January 11, 2019, 10:29:21 AM
If there are lots of those posts around probably easiest if you create a dummy user, reattribute posts to that user, then delete the dummy user and posts at once.
Seems that feature is broken. Removed user,, with all posts and topics, posts didnt get removed
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Aleksi "Lex" Kilpinen

Quote from: Owdy on July 23, 2019, 03:04:49 AM
Quote from: Aleksi "Lex" Kilpinen on January 11, 2019, 10:29:21 AM
If there are lots of those posts around probably easiest if you create a dummy user, reattribute posts to that user, then delete the dummy user and posts at once.
Seems that feature is broken. Removed user,, with all posts and topics, posts didnt get removed
How did you remove the user? It should work, but there are multiple ways to delete an account and if I remember correctly not all of them give the option. (Which is illogical, I know)
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Owdy

User profile -> delete user -> delete user with all content
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Aleksi "Lex" Kilpinen

Okay, that's odd - last time I've used it I'm pretty sure it worked. Any errors anywhere for clues?
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Owdy

Quote from: Aleksi "Lex" Kilpinen on July 24, 2019, 02:23:34 AM
Any errors anywhere for clues?
No, it just didnt do anything but removes profile. Content stays.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Aleksi "Lex" Kilpinen

Just tried, and it worked for me - at least for posts. The test account I used didn't have any topics.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Illori

Quote from: Owdy on July 24, 2019, 02:27:14 AM
Quote from: Aleksi "Lex" Kilpinen on July 24, 2019, 02:23:34 AM
Any errors anywhere for clues?
No, it just didnt do anything but removes profile. Content stays.

i dont think deleting posts/topics works that way when the account was re-attributed. i think it has been this way for years.

Aleksi "Lex" Kilpinen

Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Arantor

Because it doesn't reattribute correctly, posts are, but the topic starter isn't set up properly in the topics table.

Aleksi "Lex" Kilpinen

Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Owdy

Quote from: Aleksi "Lex" Kilpinen on July 24, 2019, 03:02:34 AM
Just tried, and it worked for me - at least for posts. The test account I used didn't have any topics.
Dont know what to say, doesnt work for me. CAnt remove spammers all posts at once
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

GigaWatt

Quote from: Owdy on July 26, 2019, 03:22:37 AM
Dont know what to say, doesnt work for me. CAnt remove spammers all posts at once

Number of posts? If it's not that big, you could do it manually, at least as a temporary solution :).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."


Advertisement: