2007-03-11, 08:54 AM
(This post was last modified: 2007-03-11, 08:56 AM by Ryan Gordon.)
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:
Replace with
In newreply.php find:
Replace with:
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']);
}