static function getAutoUsername($firstName, $lastName, $email, $genericPrefixStr, $socialUserId, $usernamePrefixFormat)
{
// Scrub the first/last name for invalid characters that Joomla will deny: # ADD THIS
$stripChars = array('<', '>', '\\', '"', "'", '%', ';', '(', ')', '&'); # ADD THIS
$firstName = str_replace($stripChars, '', $firstName); # ADD THIS
$lastName = str_replace($stripChars, '', $lastName); # ADD THIS
if ($usernamePrefixFormat == AUTONAME_EXT) //fb_ or li_
{Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
