Skip to:
Content
Pages
Categories
Search
Top
Bottom

PM username autocomplete without friend module

  • @keytastic

    Participant

    I have disabled the friend module on my site because it’s a small community and it would be silly for everyone to friend everyone, seeing as they’re all friends. What I’m wondering, however is if you can allow it to autocomplete the username when composing a private message. As far as I can tell, it will only autocomplete if you are friends with that person.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @henrywright

    Moderator

    Try setting BP_MESSAGES_AUTOCOMPLETE_ALL to false. For example, add this to either your theme’s functions.php or your bp-custom.php file:

    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', false );

    Please note I haven’t tested.

    @shanebp

    Moderator

    Add this to your bp-custom.php file:

    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );

    @keytastic

    Participant

    Marvelous! Thank you! For the record I used the “true” value.

    @henrywright

    Moderator

    Oops, sorry. Yes it should be defined as true. Good spot @shanebp

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PM username autocomplete without friend module’ is closed to new replies.
Skip to toolbar