Results 1 to 7 of 7

Thread: Flood check issue when previous entries are posted with future dates

  1. #1
    Join Date
    Mar 2004
    Location
    MA
    Posts
    146

    Default Flood check issue when previous entries are posted with future dates

    One of my members has gotten a strange error when she tried posting a second post within the 30 second parameter.

    This forum requires that you wait 30 seconds between posts. Please try again in 4365956 seconds.
    I thought perhaps the site had a hiccup but even today (this was posted yesterday) she is still seeing the notice except the seconds have gone down. This is being displayed in a secondary instance of dynamics. Where or how are the remaining seconds being calculated?

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Is the date on her last post perhaps set far in the future?
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  3. #3
    Join Date
    Mar 2004
    Location
    MA
    Posts
    146

    Default

    The entry is dated 08-18-2012 @ 11:00 AM, which is accurate for how I am using the script. The script reads the date for the entry being submitted instead of the actual date and time of the entry submission?

  4. #4
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    The script only checks for posts made by that member, so it would have to be a case of her changing the date of one of her own posts.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  5. #5
    Join Date
    Mar 2004
    Location
    MA
    Posts
    146

    Default

    Lets say she went in and corrected the date after having hit submit once, it still doesn't make sense for her to have to wait almost 50 days to post another entry. Is there a work around to make this go away for her? She still can't add entries.

  6. #6
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Try looking in your forum/includes/vba_dyna_functions_saveentry.php file for this line:
    PHP Code:
    if ($vbulletin->options['floodchecktime'] AND !$vbulletin->GPC['preview'] AND (TIMENOW $lentry['dateline']) <= $vbulletin->options['floodchecktime']) 
    Replace with this:
    PHP Code:
    if ($vbulletin->options['floodchecktime'] AND !$vbulletin->GPC['preview'] AND $lentry['dateline'] <= TIMENOW AND (TIMENOW $lentry['dateline']) <= $vbulletin->options['floodchecktime']) 
    And that should take care of the issue.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  7. #7
    Join Date
    Mar 2004
    Location
    MA
    Posts
    146

    Default

    That is gold man! Thanks. (It works, as you expected it would.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hide ( or mark ) entries posted as draft into moderation queue
    By tintin74 in forum Feedback & Suggestions
    Replies: 0
    Last Post: 11-26-2010, 02:49 AM
  2. Issue with subscribing to entries or categories
    By reotto in forum Bugs From 1.1.0
    Replies: 5
    Last Post: 03-25-2009, 12:29 PM
  3. Bold calendar dates
    By attroll in forum "How Do I..." Questions
    Replies: 5
    Last Post: 02-11-2009, 01:01 PM
  4. Bug: Flood Control
    By ManagerJosh in forum Bugs From 1.0 RC2
    Replies: 1
    Last Post: 11-13-2007, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •