Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_loggedin_user_domain logging me out??


  • Seo45
    Participant

    @seo45

    When using the function: bp_loggedin_user_domain(), it sends them to the profile page just fine. BUT, if you’re in any of the profile pages and use it, it logs the user out. How do I avoid this? I have it in the header just like most, so you may be in one of the links in your profile and need to go back to your home profile, or you may just click it to refresh the page or something.

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

  • shanebp
    Moderator

    @shanebp

    Cannot duplicate this issue.
    And unless you are using a conditional to check if a person is viewing their own profile, you should be using bp_displayed_user_link() instead.


    Seo45
    Participant

    @seo45

    Thank you so much!! I have a separate header for my buddypress pages, so when I put that in there, it doesn’t log me out. I still have to have the other one for non-buddypress pages, but that’s fine with me 😀


    Seo45
    Participant

    @seo45

    It actually seems to have not worked. :(. When I’m on a group page, it just refreshes the page for some reason.

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