Skip to:
Content
Pages
Categories
Search
Top
Bottom

Register username with uppercase?

  • Hi,

    I have gotten many feedbacks on that people want to have theyre username in uppercase when registering. How do i remove this check on the registration? I am using usernames only on my site and firstname and lastname only on profiles.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Any tips guys? Dont need any advanced fix. I can comment out that security check if i only knew where to look. I really need this fixed :( This is the first system ever that requires usernames in lowercase.


    Philo Hagen
    Participant

    @philohagen

    I have a user trying to register saying: “Uh! I keep getting a message that no upper case letters are allowed…and none of my letters are upper case… ?????” She can’t get in.


    r-a-y
    Keymaster

    @r-a-y

    It’s because the registration function [bp_core_validate_user_signup()] only looks for lowercase usernames.

    A ticket has been filed for this already:
    https://trac.buddypress.org/ticket/2207


    Leroy12
    Participant

    @leroy12

    Could anyone explain why BuddyPress forces username to be in lowercase / numbers only? When creating WordPress users, we can add uppercase, hyphens… So why does BuddyPress have this limitation, and how can it be removed?
    Thks


    techguy
    Participant

    @crashutah

    @Leroy12
    JJJ commented on the trac ticket. You might check it out. I know that WordPress use to allow and even check for the uppercase. Although, I just tried and it’s no longer worrying about case it seems. Maybe you could look into it more and update the trac ticket as well.


    hkcharlie
    Participant

    @hkcharlie

    So with reference to the last entry on this link https://trac.buddypress.org/ticket/2207

    Has anyone managed to use uppercase usernames?


    pabloroboto
    Member

    @pabloroboto

    tigerseo — thanks for the link .. worked.

    Does anyone know what you do with Sergey’s php file?


    stwc
    Participant

    @stwc

    Drop it in your plugins dir, network activate it from the dashboard. Doesn’t work for me because I’m also using BP Xtra Signup. That can be rectified (and I hope without blowing up the database) by editing line of 298 (current version as of Jan 2011) of bpxs-core.php in BP Xtra signup from

    `preg_match( “/[a-z0-9]+/”, $user_name, $maybe );`
    to
    `preg_match( “/[A-Za-z0-9]+/”, $user_name, $maybe );`

    Thank you for your plugin, it works for me, but i canĀ“t change (crop) avatar – no thumbnail to show after upload.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Register username with uppercase?’ is closed to new replies.
Skip to toolbar