if ($profilefield['profilefieldid'] == xx) { require_once('./includes/functions_bbcodeparse.php'); $profilefield['value'] = parse_bbcode2($profilefield['value'], 0, 1, 1, 1); }