Where is: "This username/password already in use."

9 years 3 months ago #125933 by kevinrice1
Thanks in advance for the help, this is driving me crazy :woohoo:

When you try to register with a username that already exists on the site, you get redirected to a page that just has the registration form and an error message "This username/password already in use. Please try another."

I cannot for the life of me find out where that language is so I can change it. I have a feeling that it is hardcoded into one of the cbsubs ioncube encrypted files because it doesn't show up in any of the files that I have searched, including the main cb language file or cb subs english language file.

Any ideas?

CB 1.2.1
CB Subs 1.0.3

Thanks!
9 years 3 months ago #125943 by nant
Maybe try the Joomla language files?

I believe that the Joomla language strings are used for this since the username and password values are stored in the Joomla user table.

No CBSubs encoding has nothing to do with this.
9 years 3 months ago #125994 by kevinrice1
Thanks for getting back to me. I searched in Joomla's language files and found nothing. Any ideas? Could you at least tell me where the code is getting generated for the failed registration due to duplicate usernames?

Thanks! (screenshot attached)
9 years 3 months ago #125998 by kevinrice1
So I found where the code is generated:

[code:1] if ($regErrorMSG) {
echo "<div class='error'>".$regErrorMSG."</div>\n";
}
[/code:1]

@ line 1355 in comprofiler.html.php.

However, I can't for the life of me find out where that $regErrorMSG is defined and where the language string is.

Thanks!
9 years 3 months ago #126014 by nant
My first response was correct.

I see it in the Joomla language file.

en-GB.ini

WARNREG_INUSE=This username/password already in use. Please try another.

Is it not in your language file?
9 years 3 months ago #126017 by kevinrice1
Is that supposed to be in language/en-GB/en-GB.com_user.ini? I don't see it there. I'll check around some more.

Thanks!
Moderators: beatnantkrileon
Time to create page: 2.727 seconds
Facebook Twitter Google LinkedIn