BuddyDev

Search

[Resolved] General BP behavior when opening custom links

  • Participant
    Level: Yogi
    Posts: 1112
    calu on #19839

    Hi there, and a Happy New Year to you

    I have a question to the general behavior of the way BP open links like Messages and Settings, Members Search or other custom links.

    This content always opens from the top with the users profile first, and the content underneath.

    Before I was in favor of this way of keeping the BP menu tabs always on top, but now I find it annoying, especially on mobile where you have to scroll down to find the content you are looking for.

    Is there any logic to why BP does this, always open a page with the members profile, and is there a workaround to this?

    Also when sending private messages, BP jumps to the members own profile, instead of the message list or active message, or at least stay on the contacted members profile. It is not thought out well from a UX point of view

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #19843

    Hi Carsten,
    Happy New Year.

    I agree with you on the visibility of header. It can be controlled via the themes though.

    You can change that by copying buddypress/bp-templates/bp-nouveau/buddypress/members/single/home.php to yourtheme/buddypress/members/single/home.php

    The code block that you may want to put under condition is

    
    	<div id="item-header" role="complementary" data-bp-item-id="<?php echo esc_attr( bp_displayed_user_id() ); ?>" data-bp-item-component="members" class="users-header single-headers">
    
    		<?php bp_nouveau_member_header_template_part(); ?>
    
    	</div><!-- #item-header -->
    
    

    To be honest, I believe BuddyPress has great functionalities but the UI is a let down. I am not sure about the BuddyPress default templates but We are certainly hoping that we will be able to change that experience with BuddyPress in near future with our themes.

    Regards
    Brajesh

  • Participant
    Level: Yogi
    Posts: 1112
    calu on #19846

    I agree, BP is a great achievment, I have never experienced any errors related to BP, but it is clear that there havn’t been any one with designer skills in the group, I look forward to see your upcoming themes.

    This code block already exists in single.php, please explain what you mean by ‘put under condition’?

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #19851

    By Condition I mean restricting the header visibility to only certain profile tabs. If you want to limit it, you can do so by putting the above code (it is in the nouveau file) under some condition.

    Regards
    Brajesh

  • Participant
    Level: Yogi
    Posts: 1112
    calu on #19852

    I see, thanks

The topic ‘ [Resolved] General BP behavior when opening custom links’ is closed to new replies.

This topic is: resolved