Call me anal, but I can not stand usernames with spaces. Obviously, they're not a problem for GeekLog, but I often find my sites users can NOT remember their usernames when they use spaces. So, after much searching through the forums, I decided to put this little hack up. This one line of code tests the $username in the file users.php to make sure it doesn't have any spaces or any other nasty characters.
In users.php find this line of code on line 467:
PHP Formatted Code
if (empty ($username)) {
Replace with:
PHP Formatted Code
if (empty ($username) || preg_match('~[<>&"\'=\\\]|[[:space:]]~', $username)) {
NOTE: Remember to always back up files before attempting these hacks.