Results 1 to 4 of 4

Thread: Username Bug

  1. #1
    Thread Starter
    Expired Customer webducknj's Avatar
    Join Date
    Sep 2014
    Location
    Israel
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Username Bug

    I submitted these comments in another thread but maybe if there's a new thread started it will get someone's attention?

    in the formatting.php file I set $strict to True to limit characters that can be used in usernames. using characters other than ., -, and @ throws an error message during the registration process. if you use a space though, the system accepts the new username BUT DELETES THE SPACE WHEN IT RECORDS THE ENTRY!

    So if you register using "GSN test user" as your username, it will actually put you into the system as GSNtestuser and when you go to change your password or do something else it won't recognize you if you put in "GSN test user" but you won't know to put in GSNtestuser which is how you have been recorded into the database.

    How do we get the system to generate a fault for a username with a space in it?? Is there a way to make it spit out the same error message for a space by listing the space character in the sanitize_usernames subroutine or whatever that little bit of code is called? so far, all i've done there is to change the false to true after $strict.

    thanks,
    Bart

  2. #2
    Thread Starter
    Expired Customer webducknj's Avatar
    Join Date
    Sep 2014
    Location
    Israel
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer webducknj's Avatar
    Join Date
    Sep 2014
    Location
    Israel
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to get Name field above Username
    By manishkhullar in forum Advanced Custom Fields
    Replies: 6
    Last Post: July 21st, 2013, 02:17 AM
  2. Username as subdomain
    By regmedia in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: September 11th, 2012, 04:13 PM
  3. Same username
    By chifen in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: July 15th, 2011, 09:37 AM
  4. My username is taken... :)
    By EbayClass in forum WordPress General Discussion
    Replies: 1
    Last Post: July 28th, 2010, 04:16 PM