BuddyDev

Search

[Resolved] Button locations in BP Block users Settings have no effect?

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #38470

    Hi there, the Block user button are displayed in all Button locations, even if they are unmarked.

    Friends List
    Members Directory
    Group Members List
    Profile Header

    I have added these snippets to my functions.php which hides the Block button in those locations, but I wonder why the BP Block Users setting does not work?

    If I need to continue to use the snippets to hide the Block buttons, I need the add_filter code for the Friends List also, thank you.

    Regards
    Carsten

    `
    //BuddyDev Block Members

    add_filter( ‘bublock_show_button_in_profile_header’, ‘__return_false’ );

    add_filter( ‘bublock_show_button_in_members_directory’, ‘__return_false’ );

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #38471

    Hi there, I found out that if I marked all the locations, saved an unmarked them again, the settings are working without the code snippets.

    Regards
    Carsten

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #38486

    Hello Carsten,

    Thank you for the acknowledgment. I am glad that the problem is resolved by you.

    Regards
    Ravi

The topic ‘ [Resolved] Button locations in BP Block users Settings have no effect?’ is closed to new replies.

This topic is: resolved