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.
PHP Code:
$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];
}