Immortal
02-05-2006, 11:51 PM
I am trying to get this working, but to no avail. I am still getting the invalid thread when trying to merge. I have it in inlinemod_start.
$vbulletin->input->clean_array_gpc('p', array('mergethreadurl' => TYPE_TEXT));
if(preg_match("(t-)([A-Za-z0-9\-]+)-([0-9]+).html$", $_POST['mergethreadurl'], $tmatches))
{
$_POST['mergethreadurl'] = & 'showthread.php?t=' . $tmatches[3];
}
$vbulletin->input->clean_array_gpc('p', array('mergethreadurl' => TYPE_TEXT));
if(preg_match("(t-)([A-Za-z0-9\-]+)-([0-9]+).html$", $_POST['mergethreadurl'], $tmatches))
{
$_POST['mergethreadurl'] = & 'showthread.php?t=' . $tmatches[3];
}