Does an add on exist to deal with flooding.

borbole

Well-known member
I want to be able to limit how many conversations are started per hour.
I have such a mod for sale. It limits the conversations per hour and it is on a group per group basis. So you can set the limit differently for each group. Please let me know if you are interested in purchasing it.
 

truonglv

Formerly Nobita.Kun
I think it simple extends XenForo_ControllerPublic_Conversation::actionInsert();
Find line from 590 to 593:
PHP:
if (!$conversationDw->hasErrors())
        {
            $this->assertNotFlooding('conversation');
        }
Replace by:
Code:
if (!$conversationDw->hasErrors())
        {
            $this->assertNotFlooding('conversation', 3600);
        }
 

jonsidneyb

Well-known member
I have such a mod for sale. It limits the conversations per hour and it is on a group per group basis. So you can set the limit differently for each group. Please let me know if you are interested in purchasing it.
Can you send me a message about this?
 

Matthew Hawley

Well-known member
I think it simple extends XenForo_ControllerPublic_Conversation::actionInsert();
Find line from 590 to 593:
PHP:
if (!$conversationDw->hasErrors())
        {
            $this->assertNotFlooding('conversation');
        }
Replace by:
Code:
if (!$conversationDw->hasErrors())
        {
            $this->assertNotFlooding('conversation', 3600);
        }
Wouldn't it be
Code:
('conversation', '3600')
 
Top