Skip to:
Content
Pages
Categories
Search
Top
Bottom

Direct link to edit profile


  • Redlo
    Participant

    @paramiweb

    Hello, I need to generate a direct link from an image so that the user who has accessed your account can directly go to the edit section of their profile.

    Thanks

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

  • Varun Dubey
    Participant

    @vapvarun

    <?php bp_members_component_link( 'profile', 'edit' ); ?>

    @paramiweb
    you can use above


    Redlo
    Participant

    @paramiweb

    Thanks, but I don’t know how to program. I have done the following

    <h3><a href="<?php bp_members_component_link( 'profile', 'edit' ); ?>">Actualiza tu perfil para ser mas visible</a></h3>

    but it doesn’t work for me. It takes me to the home page.

    Thank you again


    Varun Dubey
    Participant

    @vapvarun

    Seems like you are using outside single profile template
    You can try the following

    <h3><a href="<?php echo bp_core_get_user_domain( bp_loggedin_user_id() ) ?>/profile/edit">Edit Profile</a></h3>

    ref: http://hookr.io/plugins/buddypress/#index=g&search=loggedin_user


    shanebp
    Moderator

    @shanebp

    If you need to hard-code a profile url, you can use me in the url and it will take a logged-in user to their profile.

    For example: http://yoursite.com/members/me/
    Example url to profile edit: http://yoursite.com/members/me/profile/edit/group/1/


    Redlo
    Participant

    @paramiweb

    ¡¡ Perfect !!. Thank you very much 😉


    KatyRachel
    Participant

    @katyrachel

    thank you too!
    I have the same problem


    Morrison Murray
    Participant

    @morrimurray

    Thanks! I also had a problem with redirect options, and also in addition english is not my native so I was even searching for some apps,tips and information in google and found many articles how to fix it and it helped me a lot
    Thanks once again!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar