• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Does an add on exist to deal with flooding.

borbole

Well-known member
#3
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
#4
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
#6
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
#8
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')