• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Prevent double posting

are you asking for the save button on the create forum to disable for x amount of seconds or are you asking to do a pre check upon clicking the "Create New Item" button They are completely two separate things.
 
Sorry haven't been on for a while:

do a pre check upon clicking the "Create New Item" button

This.
I came across this because my mouse is damaged and sometimes makes very fast double clicks. So it created the item two times.
That's why I considered it to may be useful.
Best regards!
 
I've added $this->assertNotFlooding('post'); to Item create, Comment create, Reply create and review create.

uses the core xenforo 'Minimum Time Between Messages (seconds)' setting (options >> Messages >> Minimum Time Between Messages) AND the user group permission (Can Bypass Flood Check).
 
Last edited:
  • Like
Reactions: it_
Nice! Also because lately users tend to post comments twice because of some mistakes.
 
Back
Top