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:
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 probably
Hopefully, it will help you.
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.
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?
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
- You must be logged in to reply to this topic.