Private Message suggestions
-
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.
-
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/Hi,
Have you tried that code?
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.
Ok, got it.
Please replace this
" . CUSTOM_USER_META_TABLE . "
with your user meta table name most probablywp_usermeta
Hopefully, it will help you.
Thanks
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.
Enable wp-debug in wp-config.php file and check what’s the error.
Thanks
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?
Pasting your login details on such public forum is never suggested.
I wouldn’t post them public. I just noticed there’s not private message. Anywhere i can find you?
On my profile, please check
Email sent.
Replied
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
You’re awesome man!
Thanks 🙂
- You must be logged in to reply to this topic.