MyBB Community Forums

Full Version: FIX - register Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

I want to fix an error, New users not able to register on my site, 
Yes i see some spammers who manage to register but actuall members can't
i upgraded to the latest version of mybb but the error is still there
it shows - when u type the username it shows in red like nothing is typed
i was thinking to replace the files of register so it will solve this but i dont know which file is being use for register 
may b when u type it does not save the data and shows like nothing is typed
please help me how to solve and what file to replace 
i dont want to replace all the site just to fix this error
please help
run file verification tool - does it report any changed or missing php / js files ?
File Verification: Found Problems
File Status
jscripts/jquery.js Changed
inc/functions.php Changed
images/colors/Thumbs.db Missing
(2016-03-18, 12:33 PM).m. Wrote: [ -> ]run file verification tool - does it report any changed or missing php / js files ?
^ replace both files from MyBB source files pack. And also update the code in templates
upgrading guidance Wrote:Visit your Admin Control Panel, then go to Templates & Style > Templates > Find Updated Templates.
This will show you a list of all the templates that have changed during the upgrade.

You can either revert these templates to their default - meaning all the changes you've made to it will be removed - or you can see a Diff Report which will show you exactly what's changed. If you have a custom theme installed, it is probably best that you look at the Diff Report and apply the changes you need.
after uploading those files
inc/functions.php
still shows the same thing


File Verification: Found Problems
File Status
inc/functions.php Changed
images/colors/Thumbs.db Missing

i have a test forum and there i m running mybb 1.8.5 and there the register is fine
but both sites i run with 1.8.7 it does not let it... i replaced the files but still the error is same
the register error started when i upgraded to 1.8.6 and still can't find the solution.
have you also updated the templates ?
no
i never did that
i think i did once after 1.6 to 1.8
and it messed my site so after that i never touched those

does any one know how to fix this error
i still wonder how spammers register on the site but i can't register new ids
(not from admin cp from regular way register like all members do).

i found the error in member_register code

when deleting this lines
the error is fixed
now i wonder what those lines do


	remote: {
					url: "xmlhttp.php?action=username_availability",
					type: "post",
					dataType: "json",
					data:
					{
						my_post_key: my_post_key
					},
				},

when it is added, the field shows in red like nothing was typed but when i delete those, it does let user register
can any one tell me what those lines do and if those are the issue creator how do i fix it without deleting them?
maybe something in the settings?
please guide.