Skip to:
Content
Pages
Categories
Search
Top
Bottom

Autocomplete usernames when cosing private message


  • rnmartinez
    Participant

    @rnmartinez

    Sorry if this apoears twice 🙂 connectivity issues

    Lets say I want to compose a PM to user Jenn. Once I type in Je, is there a way to see suggestions for users with names that start with Je, or is there a way to add a directory/address book? Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

  • David Cavins
    Keymaster

    @dcavins

    That’s the default behavior. If you’re not getting a list of matches, open your browser console to see what’s going wrong with the AJAX request that fetches the list of matches.

    Note that if you type the @ symbol, you won’t find matches, so just start typing the username or display name.


    shanebp
    Moderator

    @shanebp

    Assuming there are no errors on your site….
    afaik, the auto-complete only handles friends by default. So if you aren’t friends with ‘Jenn’, you won’t see a suggestion.

    To turn on auto-complete for all users, put this in bp-custom.php :
    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );


    rnmartinez
    Participant

    @rnmartinez

    Thanks so much! I believe these were both helpful hints.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar