Skip to:
Content
Pages
Categories
Search
Top
Bottom

Private Message suggestions

  • @ajuuls

    Participant

    By default, on the messages compose screen, autocomplete only works for friends. We’ve disable the friend feature and would like some kind of a code/shippet or even plugin – so it suggest between all members. I’ve seen a post that it was possible, buuuut it was such a old post (6 years ago).

    Hopefully can someone save me and come up with a good solution.

Viewing 15 replies - 1 through 15 (of 15 total)
  • @ajuuls

    Participant

    This is the old code i was talking about. Dont know if it helps to see and modify so it works somehow:
    https://buddypress.org/support/topic/autocomplete-all-users-on-the-compose-screen/

    @prashantvatsh

    Participant

    Hi,

    Have you tried that code?

    @ajuuls

    Participant

    Yes, but sadly it didn’t work. But i could do it wrong. Because i dont know where in my functions.php i’ve to place the code.

    @prashantvatsh

    Participant

    Ok, got it.

    Please replace this " . CUSTOM_USER_META_TABLE . " with your user meta table name most probably wp_usermeta

    Hopefully, it will help you.

    Thanks

    @ajuuls

    Participant

    When i paste it into my theme’s functions.php file makes my site and says “Page not working”.. Dont know where to paste it.

    @prashantvatsh

    Participant

    Enable wp-debug in wp-config.php file and check what’s the error.

    Thanks

    @ajuuls

    Participant

    I’m not that good to figure out that. I’m sorry. Can’t you help me by logging in and check it. Also with the redirect problem ?? Would be a lot easier?

    @prashantvatsh

    Participant

    Pasting your login details on such public forum is never suggested.

    @ajuuls

    Participant

    I wouldn’t post them public. I just noticed there’s not private message. Anywhere i can find you?

    @prashantvatsh

    Participant

    On my profile, please check

    @ajuuls

    Participant

    Email sent.

    @prashantvatsh

    Participant

    Replied

    @prashantvatsh

    Participant

    Fixed. Please see: https://screencast-o-matic.com/watch/cFQTqzYnt7

    I did one simple fix, instead of that long code.

    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL',true );

    It’s in bp-custom.php

    Thanks

    @ajuuls

    Participant

    You’re awesome man!

    @prashantvatsh

    Participant

    Thanks 🙂

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