Python Forum
banning accounts upon key words/phrases
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
banning accounts upon key words/phrases
#1
I requested an anti spam plugin and someone responded back with the plugin code. 

it blocks a post from being made and deletes the account. This is based on key words and key phrases within the post and the title. And the option to select post count for the user it works on to avoid false positives. But obvious we would just set it to 1 post and ignore everyone else. 


So my question is....
What are some key words/phrases that are most likely spam posts that are a newly registered user's first post. 

I could undo some deletes for the purge spammer to get a list of recent spam. But was wondering what you guys see that purge spammers more often than i do.

The one thing i can think of is http:// in the thread subject
Recommended Tutorials:
Reply
#2
I'm not enthused about this. Post count doesn't sound good enough at all to prevent false positives, especially when we want to grow this forum. I wouldn't mind putting them in a moderation queue, but deleting accounts without human review sounds like a bad idea to me. Spam isn't too bad here anyway, I feel like.
Reply
#3
Key words won't work 100%. I have tried it on other forums. Would not encourage to trigger automatic purging by an untrustable measurement like that.
Reply
#4
ok. What about just blocking the post and commenting out the banning portion?

"http://" is used quite often in the thread subject with spam. When would would a legitimate user put this in the thread subject on their first post? In this way they just get an error instead saying their post is being triggered as spam...giving them a chance to fix it if it is a false positive.
Recommended Tutorials:
Reply
#5
I just finished building a plugin for a user that lets you scan a post for select words. If it contains a specific word, it gives an error message and the post won't go through. If the person is alright with the project being on Github, I could let you see it.
Reply
#6
People do stupid stuff, so I can see it happening. I think the tradeoff here of less spam vs friction isn't worth it, since I feel like the spam really isn't bad, and friction will prevent this forum from growing. And by "error message" do you mean something telling them explicitly what to change or just that the post failed? I'm ok with having a specific message telling people not to have "https://" in their subject line.
Reply
#7
The error message says your post contains one or more words that are not allowed.
Reply
#8
Quote:And by "error message" do you mean something telling them explicitly what to change or just that the post failed? I'm ok with having a specific message telling people not to have "https://" in their subject line.
Im playing with (testing) the original plugin from the OP. I commented out the banning user call, and it blocks messages with words/phrases given in ACP options. It does not allow the post to go through and sends the user to no permission page. I personally would rather have an error message above the editor, like the no links plugin (im tinkering with it trying to do just that). As is now, it currently sends the user to the no permission page with a list of reasoning's why they are there. And then i added clause to spam content in posts. I did not specify http :// in this message because i thought that would give away to spammers what to fix....but if you want me to i can?
Recommended Tutorials:
Reply
#9
(Oct-24-2016, 03:37 PM)Dragonexpert Wrote: The error message says your post contains one or more words that are not allowed.

Does yours check the subject line and post or just the post?
Recommended Tutorials:
Reply
#10
This is the plugin from OP
Recommended Tutorials:
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020