Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I make custom profile urls?


  • gregger1982
    Member

    @gregger1982

    Is it possible to create a rewrite rule so the member’s url is based off the first and last name fields instead of the username?

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

  • Roger Coathup
    Participant

    @rogercoathup

    You may find it easier to amend the registration process / form — combining First Name + Last Name when the user registers and using that for the username.


    r-a-y
    Keymaster

    @r-a-y

    Agreed with Roger.

    You would have to do two things:
    * modify the registration template (/registration/register.php) to remove the username field.
    * modify the registration validation routine to use the first and last name as the username. If you’re already familiar with WordPress development, the appropriate function to look at is bp_core_validate_user_signup().


    gregger1982
    Member

    @gregger1982

    Awesome, thank you!!!!! I owe you guys a beer!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I make custom profile urls?’ is closed to new replies.
Skip to toolbar