Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to filter private messages for duplicates/spam


  • pixieblitz
    Participant

    @pixieblitz

    Hi! I have a vague idea of what I’d like to do, but I’m not sure how to write the code. If anyone could help me out, I would really appreciate it!

    I want to check the BP private message content before it’s sent to compare it to the previously sent message by that user. If it’s identical, I want to automatically notify the site admin, and possibly mark the user as spam. I know long term this might have false positives, but right now we’re having a serious problem with spam users sending out identical messages requesting to be contacted privately via email.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

  • David Cavins
    Keymaster

    @dcavins

    That’s an interesting idea. What about using the Akismet anti-spam service to check the content of the message?

    I’ve also had bots send spam messages via private messaging, and it’s a pain once it gets started.


    pixieblitz
    Participant

    @pixieblitz

    I thought Askimet was just for comments – can you also configure it for private messages? I do have it set up and running right now, along with Wordfence, a reCaptcha V2 on registration form (and for bbPress), and a BuddyPress Private Message Rate Limiter.

    Right now I’m using these plugins:
    – Askimet
    – Wordfence
    – Advanced noCaptcha & invisible Captcha (On registration form)
    – Anti-Spam by CleanTalk
    – BuddyPress Private Message Rate Limiter

    It helps, but apparently not enough – just had a user sign up last night, receive a spam message, and request to have their account deleted this morning. It’s obviously frustrating, so if Askimet could be doing something extra that I just haven’t configured it for, that would be great…

    But I’m not sure how it could even successfully flag the messages based on content? Some are very bland “Hi Dear, I like you profile and would love to talk, please contact me privately via e-mail at xxxxxxxx ” Which don’t seem that different from legitimate messages, except that they’re being sent out en masse from users with profiles that say they’re in US, but with IP’s in Africa, etc.

    Does anyone know if these same bots would also send out mass friend requests? I remember seeing a mention of restricting private messaging to friends, which might be my next step… But I don’t want to implement an additional hurdle for users if the bots would also just abuse that. 🙁

    Sorry for the long post, but thanks for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar