Skip to:

Ridiculously long usernames being generated

  • Profile photo of Tux Kapono
    Tux Kapono


    Here’s an example of usernames that are being generated:


    What’s going on here? I can’t find any documentation on this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Profile photo of Tux Kapono
    Tux Kapono


    This is the URL I get when clicking on a user via /activity/:
    This results in a 404.

    This is the URL I get from the same user when clicking on their name via /members/:
    This results in the correct page.

    This is what shows up under username in the Dashboard: d41d8cd98f00b204e9800998ecf8427e4ffcb0045875362219

    We do have it set up so that the email is the username, and no one has to enter a username when registering, only an email address.

    Any help would be greatly appreciated!

    Profile photo of Roger Coathup
    Roger Coathup


    I take it you used a developer to develop the code to auto generate the usernames from the email address… what does the developer say about this problem?

    On the face of it, it looks like they are applying some hashing algorithm to the email address to generate the username.

    Love it or like it, you should be aware that usernames in addition to email addresses are a fairly fundamental feature of WordPress — attempting to bypass the need for both can lead to issues, e.g. using a raw email address for username, would lead to strange urls for the member profile pages in BuddyPress.

    Profile photo of Tux Kapono
    Tux Kapono


    Thank Roger,

    It took a month to get a response from the developer, thus me trying to figure it out in the meantime. Their answer:

    “Yes, this is in fact because i’m generating a random username for users
    (since we don’t want them to use it anyway.) But you can modify the code,
    which is somewhere in the gantry framework – buddypress plugin folder, and
    generate it from the display name or whatever. I just wanted to make sure
    there were no invalid characters in it.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ridiculously long usernames being generated’ is closed to new replies.
Skip to toolbar