Skip to:
Content
Pages
Categories
Search
Top
Bottom

[nouveau] Hide non friends from Private Messages autocomplete.


  • bbdapereira
    Participant

    @bbdapereira

    Hi!

    I’m using buddypress 3.1 (nouveau template pack) on wordpress 4.9.8 with Twenty Seventeen theme for now and I’m trying to hide non friends from autocomplete in destination field on private messages compose screen.

    With the legacy template pack the field is labelled “Send To (Username or Friend’s Name)” and only list friends unless I put “define( ‘BP_MESSAGES_AUTOCOMPLETE_ALL’, true );”, that behaviour is awesome but when I switch to nouveau template pack (the theme I’m thinking in use uses nouveau template pack only) the field became “Send @Username” and list everyone no matter what I do, in fact in my multisite network it lists every person from both blogs!

    I already try the codes in here but none filters the autocomplete list. With those codes the message fails with is something but I really need to hide non friends.

    Anyone can help?
    Thanks

  • You must be logged in to reply to this topic.
Skip to toolbar