MyBB Community Forums

Full Version: [F] reply position lost after Post Flood Check
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This happens when "Post Flood Checking" is turned on and I try to reply sooner than 60 seconds. MyBB gives a message saying to wait 14 seconds or whatever at the top of the reply window. When I reply using that window the threading information appears to be lost -- i.e. the reply is to the thread rather than to the reply. Looks like a MyBB bug to me.
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.
can we please have the fix thanks
Your fix will come when the next version is released.
Tikitiki Wrote:Your fix will come when the next version is released.


when is that months away

if so then I have a huge live forum that needs this fixed
Not months away - when we fix a significant amount of bugs, yes.

This is our release schedule/methodology which is shared by many other products.
Do you seriously need this fix or are you just saying that to get it? I can't possibly believe that this would mess up your forum in any major way.

Anyway, (Since it's nearly 2 AM now) I'll just give you the fix so I don't have to argue with you

In your template find:
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$pid}" /> 

Replace with

<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />

In newreply.php find:

// Get the pid and tid from the input. 
$pid = $mybb->input['pid'];
$tid = $mybb->input['tid'];

Replace with:

// Get the pid and tid and replyto from the input.
$pid = $replyto = $mybb->input['pid'];
$tid = $mybb->input['tid'];
if(isset($mybb->input['replyto']))
{
     $replyto = intval($mybb->input['replyto']);
}