Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ajac63 on June 10, 2020, 06:42:13 PM

Title: Issues trying to remove posts made by deleted members
Post by: ajac63 on June 10, 2020, 06:42:13 PM
I find that posts are still showing for members who have had their accounts deleted even though I've selected the option for removing them.  As a result, I'm having to delete them manually which makes a nonsense of having this option at all. 

Incidentally, I'm still getting an email message saying SMF can't connect to the database, don't know if this is a factor or not...
Title: Re: Issues trying to remove posts made by deleted members
Post by: Illori on June 10, 2020, 08:39:15 PM
how are you deleting the accounts? the only way to get the posts/topics and account deleted at one time is from the profile of the account.
Title: Re: Issues trying to remove posts made by deleted members
Post by: ajac63 on June 11, 2020, 06:01:06 AM
OK, if you click on the members name then click on 'Actions' then click on 'Delete this account', you are presented with options for deleting posts; None, All posts, Topics and posts.  What I'm saying is, that posts/topics are not deleted upon closing the account.  I have to delete them manually afterwards.

And by the way, how do I get rid of forum spammers and trolls?
Title: Re: Issues trying to remove posts made by deleted members
Post by: Arantor on June 11, 2020, 06:12:07 AM
So what option did you select?

As for dealing with spammers, keep them out at the door. Spam - my forum is flooded with spam, what can I do  (https://wiki.simplemachines.org/smf/Spam_-_my_forum_is_flooded_with_spam%2C_what_can_I_do)
Title: Re: Issues trying to remove posts made by deleted members
Post by: ajac63 on June 11, 2020, 03:45:25 PM
I tried both 'All posts' and 'Topics and posts' but posts were still showing after deleting the account.  Thanks for the link :)
Title: Re: Issues trying to remove posts made by deleted members
Post by: ajac63 on June 14, 2020, 01:34:49 AM
OK, I've tried the steps mentioned in the link you gave, in fact I already did most of this from the start, but doesn't make much difference.  The only thing I haven't tried yet is forum anti spam mods.
Title: Re: Issues trying to remove posts made by deleted members
Post by: Kindred on June 14, 2020, 02:20:15 AM
Questions.

30 GOOD questions, ask 2 at registration.  No spammer bots in 3+ years now, other than the occasional live person spammer.
Change the  questions every year or so
Title: Re: Issues trying to remove posts made by deleted members
Post by: ajac63 on June 14, 2020, 09:53:53 AM
OK, thanks, but just to make sure that I've done this the right way, where exactly do I specify the number of questions to be asked at registration?
Title: Re: Issues trying to remove posts made by deleted members
Post by: shadav on June 14, 2020, 11:31:07 AM
in your admin under configuration go to security and moderation
then go to anti-spam
about halfway down you'll see: Number of verification questions user must answer
put whatever number you'd like here, then below it you'll find the place to add/edit questions/answers, you can put as many as you want here and it'll rotate through them for the number that you said to use
Title: Re: Issues trying to remove posts made by deleted members
Post by: ajac63 on June 14, 2020, 01:22:41 PM
Quote from: shadav on June 14, 2020, 11:31:07 AM
in your admin under configuration go to security and moderation
then go to anti-spam
about halfway down you'll see: Number of verification questions user must answer
put whatever number you'd like here, then below it you'll find the place to add/edit questions/answers, you can put as many as you want here and it'll rotate through them for the number that you said to use
OK, thanks for that, I've already done this but just wanted to make sure.
Title: Re: Issues trying to remove posts made by deleted members
Post by: ajac63 on June 16, 2020, 06:53:18 PM
Mini update - I've made the captcha more difficult (lots of lines, dots...) and increased the number of questions to 3 and spam posts have reduced in last 24 hours or so, so that's good. Thanks everyone for your help:)
Title: Re: Issues trying to remove posts made by deleted members
Post by: Kindred on June 16, 2020, 07:19:34 PM
captcha is basically useless at this point.
Title: Re: Issues trying to remove posts made by deleted members
Post by: Sir Osis of Liver on June 16, 2020, 07:58:51 PM
You can add a visual element to verification questions, like we did here (https://ebook-mecca.com).  Makes it easier to think up 20-30 questions, and more difficult for bots.  Have done this on several forums and it's been 100% effective.
Title: Re: Issues trying to remove posts made by deleted members
Post by: landyvlad on June 17, 2020, 01:44:32 AM
That's really cool - how'd you do that ?
Title: Re: Issues trying to remove posts made by deleted members
Post by: Shambles on June 17, 2020, 05:40:33 AM
^ follow the thread below from the point of the link:

https://www.simplemachines.org/community/index.php?topic=568958.msg4025959#msg4025959
Title: Re: Issues trying to remove posts made by deleted members
Post by: Sir Osis of Liver on June 17, 2020, 12:18:26 PM
Register.template.php



// If we have either of these, close the list like a proper gent.
if (!empty($context['profile_fields']) || !empty($context['custom_fields']))
{
echo '
</dl>
</fieldset>
<span class="botslice"><span></span></span>
</div>';
}

/// Image verification

echo '
<div class="title_bar">
<h4 class="titlebg">', $txt['verification'], '</h4>
</div>

<div class="windowbg2" style="height: 260px;">
<span class="topslice"><span></span></span>

<div style="text-align: center; margin: 10px 0 0 0;">

<script>
function change() {
var img1 = "',$settings['images_url'],'/verifmlc.png",
img2 = "',$settings['images_url'],'/verifmlcg.png";
var imgElement = document.getElementById(\'flip\');
imgElement.src = (imgElement.src === img1)? img2 : img1;
}
</script>

<img src="',$settings['images_url'],'/verifmlc.png" id="flip" onclick ="change();"/>
<br /><span style="font-size: 13px;">Color blind? Click/tap on image.</span>
</div>
</div>';



Varies a bit with theme, that's in Ant's Mutant Curve