simple page using a
PHP Code:
$username = addslashes($_REQUEST['u']);
// might wanna add a line in here to reconvert stuff like %20 to plain text
if (!$username)
{
print_standard_error("USER NOT FOUND");
exit();
}
$getID = $DB_site->query_first("SELECT userid, username
FROM " . TABLE_PREFIX . "user
WHERE username = $username
");
$url = $vboptions['bburl'] . "/member.php?u=" . $getID['userid'];
print_standard_redirect("Whisking you to profile");
would work if you didn't wanna use a mod-rewrite for it
untested, as it was just me playing with code