MyBB Hacks

Full Version: [SOLVED] Checking if username is available don't stop loading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys,

I have an issue in my registration page...
When I write a username and a captcha, will show this:
"Checking if username is available"
And don't stop...

[Image: 1qUBt.png]

I disabled all my plugins and the problem continues...

I know that I can disable AJAX: ACP > Configurations > Server & Optimization Options > Enable XMLHttp request features? > to No

But that is not a solution for me... I really want the XMLHttp request feature enable.

Please help me... since that is not a plugin problem...
What could be?

My website: http://www.vozesnaweb.com

Thank you!

P.S. I created a topic in mybb.com a few weeks ago and didn't received any help Frown
Interestingly enough, for your website, it doesn't work because of your language (which contains invalid HTML entities).  Your screenshots are in English though, and thus wouldn't have the issue.

Maybe you should check the error console.
Wow, you are right!!! I changed language to english and is working!!! Biggrin
Now I need to find where the issue is...

What is the error console? Where can I found that?
Found the problem! It seems that the file /inc/languages/portuguese/xmlhttp.lang.php was the cause of this...

I found this lines:

Code:
$l['username_taken'] = "{1} ja foi registado por outro membro";
$l['username_available'] = "{1} encontra-se livre";
$l['invalid_username'] = "{1} nao e um nome de utilizador de outro membro.";
$l['valid_username'] = "{1} e uma referencia valida.";


And I changed to:

Code:
$l['username_taken'] = "{1} já foi registado por outro membro";
$l['username_available'] = "{1} está livre";
$l['invalid_username'] = "{1} não é um nome de utilizador de outro membro.";
$l['valid_username'] = "{1} é uma referência válida.";


I changed my special characters to appear in html code, because If not, will appear strange characters in my board.

Ok, now everything is working fine Smile
Thank you ZiNgA BuRgA, for pointing me the right direction Biggrin

Reference URL's