Skip to:
Content
Pages
Categories
Search
Top
Bottom

Replace user_login in Member's Area URL with user_id

Viewing 3 replies - 1 through 3 (of 3 total)
  • @mysmallbizu

    Participant

    Me too! Really need some help with this one..

    @djpaul

    Keymaster

    I’m not sure this is doable without making several hacks to core code, which I do not recommend. Start by looking at bp_core_set_uri_globals() near the comment “If members component, do more work to find the actual component”.

    @artifex223

    Participant

    Thanks for the response Paul! Although, I think we’ve just figured out an alternative solution.

    In my original post, I wrote that the member area URL uses user_login, which in our case is the user’s email. But that isn’t entirely true; the URL uses the user’s nicename.

    So our new workaround will be to simply reconfigure the user’s nicename, which will then be used in the member area URL without any further changes, and without any modifications to core files. In order to avoid exposing database information like user_id, we are actually planning on using a hashed version, but the concept remains the same.

    Do you foresee any complications in this plan of action?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replace user_login in Member's Area URL with user_id’ is closed to new replies.
Skip to toolbar