1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then 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

Discussion in 'Showcase Closed Suggestions' started by it_, Aug 12, 2013.

  1. it_

    it_ New Member Showcase

    Prevent creating Showcase items by applying a minimal waiting time between two item creations.
     
  2. Bob

    Bob Developer Staff Member

    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.
     
  3. it_

    it_ New Member Showcase

    Sorry haven't been on for a while:

    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!
     
  4. Bob

    Bob Developer Staff Member

    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: Mar 10, 2014
    it_ likes this.
  5. it_

    it_ New Member Showcase

    Nice! Also because lately users tend to post comments twice because of some mistakes.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.