Skip to:
Content
Pages
Categories
Search
Top
Bottom

How Can I Like To Upload Avatar or Edit Profile In Menu

  • Avatar of BrainiacWebDesigns
    Doug
    Participant

    @brainiacwebdesigns

    I have a “Profile” button on my menu and would like dropdown boxes under it to pop up allowing someone to edit their profile or upload an avatar straight from there. The problem is that the url is something like

    http://realvets.com/veterans/dugfunny/profile/change-avatar/

    with dugfunny being my username.

    so how do i swap out the username for whatever code is needed to plug in the username of the user who is currently logged in and clicking the link?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    try:
    <a href="<?php echo bp_loggedin_user_domain() ?>profile/change-avatar">Avatar</a>

    Avatar of BrainiacWebDesigns
    Doug
    Participant

    @brainiacwebdesigns

    so in just html form, like in the example above, it would look liiiiiiike….

    The goal is to put it on my menu. Not sure how to do that with what you gave me.

    Thanks a ton for your help sir!

    Avatar of BrainiacWebDesigns
    Doug
    Participant

    @brainiacwebdesigns

    http://www.realvets.com/profile/change-avatar

    ?

    If that was what you were thinking, it doesn’t seem to work.

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

You must be logged in to reply to this topic.