YAFLogo

MMAfunster
  • MMAfunster
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
Hi there

I've been using YAF for a few months (after a conversion from Snitz). One thing I am wondering about is when I remove a member (such as a spammer that has joined then posted about 10 times) - when I delete them their posts remain. Is there an easy way to ensure all their posts disappear when I delete the member?

Many thanks
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
8 years ago
Originally Posted by: MMAfunster 

Hi there

I've been using YAF for a few months (after a conversion from Snitz). One thing I am wondering about is when I remove a member (such as a spammer that has joined then posted about 10 times) - when I delete them their posts remain. Is there an easy way to ensure all their posts disappear when I delete the member?

Many thanks



When you edit an user via the Admin Interface you have an extra tab (User Kill & Ban) especially for that, where you can delete the user (optionally ban user via email/ip/user name) and automatically delete all posts by the user.
Zero2Cool
8 years ago
Originally Posted by: tha_watcha 

When you edit an user via the Admin Interface you have an extra tab (User Kill & Ban) especially for that, where you can delete the user (optionally ban user via email/ip/user name) and automatically delete all posts by the user.



That doesn't actually delete the records from the database though, does it?

I ask because, and I should document this sometime because there are times when YAF says delete and it actually is deleted, but most of the time delete means the flags were changed or isDeleted is marked as true. I usually end up going through my database and find orphan records and manually delete them. It's always a little worrisome than I'm gonna break it though haha.
MMAfunster
  • MMAfunster
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
OK, thank you.
CanyJon
  • CanyJon
  • 50.6% (Neutral)
  • YAF Forumling
8 years ago
And is there a way to delete only some of the posts. Say, there're some good answers that add to discussion and I'd like to keep them in order not to lose the consistency of the thread. But in general, I want to delete other useless posts by that member. Hope I made myself clear..
Check the .net development company  from New York
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
8 years ago
Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

When you edit an user via the Admin Interface you have an extra tab (User Kill & Ban) especially for that, where you can delete the user (optionally ban user via email/ip/user name) and automatically delete all posts by the user.



That doesn't actually delete the records from the database though, does it?

I ask because, and I should document this sometime because there are times when YAF says delete and it actually is deleted, but most of the time delete means the flags were changed or isDeleted is marked as true. I usually end up going through my database and find orphan records and manually delete them. It's always a little worrisome than I'm gonna break it though haha.



Yes it does! i eliminated most situations where orphan messages are left in the db.

Originally Posted by: CanyJon 

And is there a way to delete only some of the posts. Say, there're some good answers that add to discussion and I'd like to keep them in order not to lose the consistency of the thread. But in general, I want to delete other useless posts by that member. Hope I made myself clear..



Sure simply manually delete the offending posts.
Zero2Cool
8 years ago
Originally Posted by: tha_watcha 

Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

When you edit an user via the Admin Interface you have an extra tab (User Kill & Ban) especially for that, where you can delete the user (optionally ban user via email/ip/user name) and automatically delete all posts by the user.



That doesn't actually delete the records from the database though, does it?

I ask because, and I should document this sometime because there are times when YAF says delete and it actually is deleted, but most of the time delete means the flags were changed or isDeleted is marked as true. I usually end up going through my database and find orphan records and manually delete them. It's always a little worrisome than I'm gonna break it though haha.



Yes it does! i eliminated most situations where orphan messages are left in the db.



I can confirm this, lol. I had two spam accounts, both caught by the new spam features btw and when I deleted them users via admin, their topic and message's also were deleted and not simply flagged as deleted. I like it! Wish I had noticed this earlier when spam was heavy and I was deleting them post by post haha
hqsoftwarelab
5 years ago
Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

When you edit an user via the Admin Interface you have an extra tab (User Kill & Ban) especially for that, where you can delete the user (optionally ban user via email/ip/user name) and automatically delete all posts by the user.



That doesn't actually delete the records from the database though, does it?

I ask because, and I should document this sometime because there are times when YAF says delete and it actually is deleted, but most of the time delete means the flags were changed or isDeleted is marked as true. I usually end up going through my database and find orphan records and manually delete them. It's always a little worrisome than I'm gonna break it though haha.



Yes it does! i eliminated most situations where orphan messages are left in the db.



https://hqsoftwarelab.com/  I like it! Wish I had noticed this earlier when spam was heavy and I was deleting them post by post haha



Also confirm it. Cant imagine how we are live at these old times))
WalterS
  • WalterS
  • 50.6% (Neutral)
  • YAF Forumling
5 years ago
Originally Posted by: hqsoftwarelab 

Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

When you edit an user via the Admin Interface you have an extra tab (User Kill & Ban) especially for that, where you can delete the user (optionally ban user via email/ip/user name) and automatically delete all posts by the user.



That doesn't actually delete the records from the database though, does it?

I ask because, and I should document this sometime because there are times when YAF says delete and it actually is deleted, but most of the time delete means the flags were changed or isDeleted is marked as true. I usually end up going through my database and find orphan records and manually delete them. It's always a little worrisome than I'm gonna break it though haha.



Yes it does! i eliminated most situations where orphan messages are left in the db.



https://www.qulix.com/industries/  I like it! Wish I had noticed this earlier when spam was heavy and I was deleting them post by post haha



Also confirm it. Cant imagine how we are live at these old times))


LOL You are so right, bro!
Users browsing this topic
    YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button