I created a little javascript which only allows numbers and letters in the username field. If they type in something else, or even a space, a popup comes up and tells them they need to redo it and it wipes out the text they put in the field.
I'm no pro. I did an "onkeyup" to trigger the javascript so I had to disable username checking which also works on key up.
I also put maxlength="16" in there to restrict the username to 16 characters.
Attached is a .zip file of my cb.core.php file which has everything working.
You can see it in action on the registration page of
www.thegolfspace.com
or
www.themacspace.com
Attachment cb-5f11c86338d621bbb0790e6223e69c7f.zip not found