Skip to:
Content
Pages
Categories
Search
Top
Bottom

Two different profile page for logged user and not logged not user

  • @nilay89

    Participant

    Hello,

    I want to set two different profile page for below condition.

    if user not logged in and check any member profile as guest show profile_guest page

    if user logged in and checked own profile,show profile page

    if user logged in and checked another member profile show profile_guest page

    Is it possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @nilay89

    Participant

    any idea?

    @nilay89

    Participant

    Solved using below code and set condition

    $current_u= bp_loggedin_user_id();
    $display_u=bp_displayed_user_id();
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two different profile page for logged user and not logged not user’ is closed to new replies.
Skip to toolbar