Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] reply position lost after Post Flood Check
#7
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']);
}


Messages In This Thread
RE: [F] reply position lost after Post Flood Check - by Ryan Gordon - 2007-03-11, 08:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)