//caputure the search form values for backreferencing
$vbulletin->input->clean_array_gpc('r', array( 'exclude' => TYPE_NOHTML, 'include' => TYPE_NOHTML )); if ($vbulletin->GPC['include']) { $list = explode(',', $vbulletin->GPC['include']); if (is_array($list)) { $list = array_map('intval', $list); $criteria->add_forumid_filter($list, false); } } if ($vbulletin->GPC['exclude']) { $list = explode(',', $vbulletin->GPC['exclude']); if (is_array($list)) { $list = array_map('intval', $list); $criteria->add_excludeforumid_filter($list); } }