Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] member page link error with email as username


  • alexdex
    Participant

    @alexdex

    Hi, i try to solve a problem, i have some user that use username as email, so close to avatar i dispaly @test.com">alex@test.com and no alex (like the avatar)
    So, if i click the avatar i see correctly the member page, if i click the red name member i see error 404

    permalink are corect, all work good but with email as username do not work!!!!

    How can i solve this problem? Thanks a lot

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

  • alexdex
    Participant

    @alexdex

    Hi, i put this:

    define ( ‘BP_ENABLE_ROOT_PROFILES’, true );

    add_filter( ‘bp_core_enable_root_profiles’, ‘__return_true’ );

    I try in bp-custom. php and also in my function theme but not work

    Every time i click in the activity page on the username (like email) do not work, 404 error

    For example, if a username member is @gmail.com">alex7@gmail.com and i click do not work, if is only alex7 it work perfect

    The path is:

    members/alex7@gmail.com/ DO NOT WORK

    members/alex7/ WORK

    Can you help me?

    Thanks a lot


    alexdex
    Participant

    @alexdex

    Hi, i try to do also:

    define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );

    Before in my function theme, after i insert also in bp-custom.php but still persist the error

    Somebody can help me?

    Thanks

    This might just not be supported, especially if the username compatibility mode didn’t help.

    For one of these users, look in the database. i.e. for Alex7, what’s the user_login and user_nicename field values?


    alexdex
    Participant

    @alexdex

    Hi, i verify

    Inside mysql

    User_login is @gmail.com">alex7@gmail.com

    User_nicename: alex7

    OK, useful. This works for me, so I think I misunderstood your ticket. Can you clarify:

    So, if i click the avatar i see correctly the member page, if i click the red name member i see error 404

    Is your site public so I can see this?

    (p.s. do not use username compatibility mode – just remove that line I said).


    danbp
    Moderator

    @danbp

    I’m unable to reproduce this issue on a single install.
    – registered using @test.com">alex@test.com as username and alex as name (BP’s name field)
    – on his profile, aside the header avatar i see @alextest-com

    Any member links works as expected.

    Tested also on MS. Trying to register @test.com">alex@test.com brings the following error msg:
    Usernames can only contain lowercase letters (a-z) and numbers.

    Is correct too and expected for usernames on a MS install. (see #17904)

    Do you use custom code, login or social plugin related to login ?
    What is your theme ?
    Have you tested with a Twenty theme and all plugins deactivated ?


    alexdex
    Participant

    @alexdex

    Hi, thanks a lot, was the number the problem, i remove it from MySQL and it work.
    I use another plugin for login, so this is not a buddypress problem. Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] member page link error with email as username’ is closed to new replies.
Skip to toolbar