Well thank you but that does not work. I tried many options.
Basically what I want to do is when someone does a search to find all posts by a user, I altered the searchnoresults phrase with a link to redirect them somewhere else. So one thing I tried to simplify it was
PHP Code:
if (empty($forumids))
{
$phrase = "%d";
$parsed = sprintf($phrase, $vbulletin->GPC['userid']);
eval(standard_error(fetch_error('searchnoresults', $displayCommon), '', false));
}
and in search no results I did ?u=%d
I also tried {%d} and
{1}