Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Wall Flood

Comments

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Is there a solution for flood ?

    Only if you find the cause.. find the leak and plug the hole. Set proper permissions. Use the proper registration method that minimizes flood. Restrict users who you do not trust. Use a spam control plugin. We do not not know what you are doing. What you are using as registration. We don't know anything about your set up. Nice video. It shows that someone is posting over and over. Who are they ? Do they have permissions? What plugins are you using ?

    You need to give more info on your set up if you want to solve your spammer issues...

  • Options
    K17K17 Français / French Paris, France ✭✭✭
    edited November 2016

    Ban users who flood ?

  • Options
    edited November 2016

    I am using version 2.2.

    ı use plugin: Stop Forum Spam, Akismet ,

    I just want to take permanent measures. Is there no special plugin for this?

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    It's a valid question. If you look at example.com/vanilla/settings/floodcontrol you see the available settings, but activity is not in there.

    You would have to write a plugin by yourself that does the spam check. You should use the following as a start:

        public function spamModel_checkSpam_handler($sender, $args) {
            if ($args['RecordType'] == 'Activity') {
                // Do Activity spam check here.
            }
            if ($args['RecordType'] == 'ActivityComment') {
                // Handle ActivityComment spam check.
            }
        }
    

    Set $args['IsSpam'] == true if you think a post is spam. Look at VanillaModel::checkForSpam and ConversationsModel::checkForSpam to see possible implementations.

    The config settings used for Discussions/Comments/Messages are the following:

    Vanilla.Discussion.SpamCount
    Vanilla.Discussion.SpamTime
    Vanilla.Discussion.SpamLock
    Vanilla.Comment.SpamCount
    Vanilla.Comment.SpamTime
    Vanilla.Comment.SpamLock
    Conversations.Conversation.SpamCount
    Conversations.Conversation.SpamTime
    Conversations.Conversation.SpamLock
    Conversations.ConversationMessage.SpamCount
    Conversations.ConversationMessage.SpamTime
    Conversations.ConversationMessage.SpamLock
    

    I would suggest using analogue to the settings above

    Dashboard.ActivityComment.SpamCount
    Dashboard.ActivityComment.SpamTime
    Dashboard.ActivityComment.SpamLock
    Dashboard.Activity.SpamCount
    Dashboard.Activity.SpamTime
    Dashboard.Activity.SpamLock
    
  • Options
    R_JR_J Ex-Fanboy Munich Admin

    See what is happening when you are thinking out loud: https://github.com/vanilla/vanilla/issues/4795

  • Options
    LincLinc Detroit Admin

    I swear I pay attention... sometimes.

Sign In or Register to comment.