Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ridiculously long usernames being generated


  • Tux Kapono
    Participant

    @tux-kapono

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

    d41d8cd98f00b204e9800998ecf8427e4fe20bca14d87898853486
    d41d8cd98f00b204e9800998ecf8427e4feb42126e1e1409664087
    d41d8cd98f00b204e9800998ecf8427e4ff210a07dcd6879039302

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

Viewing 3 replies - 1 through 3 (of 3 total)

  • Tux Kapono
    Participant

    @tux-kapono

    This is the URL I get when clicking on a user via /activity/: http://sourcethestation.com/members/d41d8cd98f00b204e9800998ecf8427e4ffcb0045875362219/
    This results in a 404.

    This is the URL I get from the same user when clicking on their name via /members/:
    http://sourcethestation.com/members/dbel/
    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!


    Roger Coathup
    Participant

    @rogercoathup

    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.


    Tux Kapono
    Participant

    @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