Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Recipients list when ”friend connections” is not checked”

  • Avatar of zackasan
    zackasan
    Participant

    @zackasan

    Hi,

    this is my situation. When I have the check-box “allow friend connection” everything is fine when I send a message. When I start typing the recipient I see buddypress proposes names from my friend list.

    Now, on my installation we’re not using friend connection. It’s kinda of work environment thing. So I was hoping that buddypress would present the list of all possible members when I start to type in the recipients box. But it doesn’t.

    I tried looking at the bp-message-template.php to fix that. But I don’t see where.

    Is this normal situation for Buddypress or do I need to hack it for it to work? In the second case, any opinions

    Thank you,

    Zack

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is the expected behaviour.

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    I haven’t tried it myself, but according to in file comments, you should be able to get autocomplete to use all members (rather than just friends), by defining the constant:

    BP_MESSAGES_AUTOCOMPLETE_ALL

    Have a look at the file ajax.php in the default theme

    Avatar of zackasan
    zackasan
    Participant

    @zackasan

    Yes that did the trick. I added `define(‘BP_MESSAGES_AUTOCOMPLETE_ALL’, true);` to my themes function.php

    Thank you both

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

You must be logged in to reply to this topic.