BuddyDev

Search

[Resolved] Link to a#user-xprofile on profile visit

  • Participant
    Level: Yogi
    Posts: 1117
    calu on #42687

    Hi there, when clicking on a members profile it links to a#user-front.

    Usually I’m directed directly to a#user-xprofile but something has happened.

    When I click on own profile, I’m directed to a#user-xprofile as I should.

    I can’t say what has happened, but how do I link to a#user-xprofile on visits to all profiles?

    Thanks!

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #42693

    Hi Carsten,
    I am sorry, I am not sure what do you mean by above. Please share the context. Where are the member links that you are trying to open?

    Regards
    Brajesh

  • Participant
    Level: Yogi
    Posts: 1117
    calu on #42712

    Hi Brajesh, sorry for not making myself clear,

    I’m referring to the .bp-navs:

    https://imgur.com/6fLM8Hp

    https://imgur.com/vbwhjWk

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on #42717

    Hi Brajesh, the issue is solved. It turned out that this code snippet was deleted.

    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    https://buddydev.com/support/forums/topic/change-members-profile-landing-tab-to-apublic/

    Apparently the “Home” tab or a#user-front without profile information, is the default BP profile landing page, and not “Profile” which contains the x-profile fields information.

    Do you have any thoughts about the logic behind this, why having the Home tab at all?

    Regards

    Carsten

    • This reply was modified 2 years, 11 months ago by calu.
  • Participant
    Level: Yogi
    Posts: 1117
    calu on #42719

    Hi there, I can see this topic, the meaning of the Home tab, has been discussed by others:

    https://buddypress.org/support/topic/how-to-hide-the-home-tab-under-profile-member-navigation-items/

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #42750

    Hi Carsten,
    it’s good to know.

    That page allowed site admins to add custom widgets on user home pages. For most of the site admin’s it is useless. It would make a lot more sense if users were able to pic and add widgets to their own home page.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved