| 
Welcome, Guest

Where is: "This username/password already in use."
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

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

Where is: "This username/password already in use." 2 years, 2 months ago #125933

  • kevinrice1
  • kevinrice1
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 23
  • Karma: -
Thanks in advance for the help, this is driving me crazy

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!
The topic has been locked.

Re:Where is: "This username/password already in use." 2 years, 2 months ago #125943

  • nant
  • nant
  • ONLINE
  • Administrator
    Administrator
  • Posts: 17323
  • Karma: 717
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.
The topic has been locked.

Re:Where is: "This username/password already in use." 2 years, 2 months ago #125994

  • kevinrice1
  • kevinrice1
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 23
  • Karma: -
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)
The topic has been locked.

Re:Where is: "This username/password already in use." 2 years, 2 months ago #125998

  • kevinrice1
  • kevinrice1
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 23
  • Karma: -
So I found where the code is generated:

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


@ 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!
The topic has been locked.

Re:Where is: "This username/password already in use." 2 years, 2 months ago #126014

  • nant
  • nant
  • ONLINE
  • Administrator
    Administrator
  • Posts: 17323
  • Karma: 717
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?
The topic has been locked.

Re:Where is: "This username/password already in use." 2 years, 2 months ago #126017

  • kevinrice1
  • kevinrice1
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 23
  • Karma: -
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!
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.86 seconds