BuddyDev

Search

Replies

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Issues after update #29932
    This reply has been marked as private.
  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Issues after update #29930
    This reply has been marked as private.
  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Issues after update #29926
    This reply has been marked as private.
  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Overriding templates #29904

    Hi Brajesh, thank you for the clarification on this, you say I can completely hide them from the template, is that with css, you mean?

    It has proven to be not an easy task to delete all tabs and navs, can you provide me with an over all class if such exist, so far I have hiding the tabs and navs, using these classes, but sub navs’s stil display on mobile.

    div#item-nav {
    display: none;
    }

    #subnav {
    display: none;
    }

    .button-nav {
    display: none;
    }

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112

    Hej Brajesh, I see, thanks for clarifying.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Insert callback location #29822

    Hi Brajesh, what you are suggesting makes good sense, thank you.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Insert callback location #29794

    Hmm, ran into an issue, the dropdown is gone, but there must be a syntax error some were, or I positioned the remove action wrong, because it breaks the messages module?

    
    <div class="messages-options-nav">
    			<?php // remove the action 
    remove_action( 'bp_messages_bulk_management_dropdown', 'action_bp_messages_bulk_management_dropdown', 10, 0 );
    ?>
    		</div><!-- .messages-options-nav -->
    
    		<?php wp_nonce_field( 'messages_bulk_nonce', 'messages_bulk_nonce' ); ?>
    	</form>
    
    	<?php
    
    • This reply was modified 4 years, 6 months ago by calu.
  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Insert callback location #29793

    Hi Brajesh, thank you very much for the clarification and help on the subject, it’s working great.

    I want to overwrite other objects in the templates eg. the thread star, what is the easiest way to look up the corresponding template to an object, are these listed somewhere, or do I just have to look them up?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Insert callback location #29788

    Hi Brajesh, no issues, I was not sure which file I should overwrite.

    Just to clarify, then you never or can not?, overwrite

    buddypress, bp-messages, eg. bp-messages-star.php,

    but always via template, bp-templates eg. bp-legacy, buddypress, members, single, messages.php – or single, messages, message.php or messages-loop.php?

    When you overwrite a file to your child theme, like messages.php, it does not get overwritten, but that means also, that it does not get updated neither?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Insert callback location #29782

    Hi Brajesh, sorry for not being clear enough, my goal is to remove certain elements like the message select drop down and message star options. I can hide it with css, but would prefer to remove it instead.

    https://imgur.com/rYIJXaz