Forum Replies Created
-
Hi again,
Just in case it will be of help to anyone else, I was finally able to remove the message “notification” using this code.
add_action( 'after_setup_theme', function () { remove_action( 'messages_message_sent', 'bp_messages_message_sent_add_notification', 10 ); }, 999 );
I’m not sure why the other one didn’t work for me. (I’m using Boss theme). Support was kind enough to provide me this fix.
Could you give me advice on another thing, is there a way to disable members from sending messages to more that one person at a time?
Thanks @Venutius!
-Joshua
Really? It must be a theme issue then?
Thanks
Hi @Venutius
Just wanted to let you know that placing
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );
in the bp-custom.php file is working for me now! I was correct in what I suspected. The issue was that it was not working with my staging site for some odd reason. When I did the exact same thing on my live site, it started working like you said. Some how it was not reading the file or detecting file changes.
Thanks for you help. Really glad I figured this one out.
Sorry for the late reply.
It isn’t working for me, sadly. I am trying this on a staging site. Could that have something to do with it? When I try to edit my functions.php file via the wordpress editor, it gives me the error: “Scrape nonce check failed. Please try again.” However, it doesn’t give me that error when making edits on my live site.
Is there something I should be doing in addition to the autocomplete definition? I found this topic that is more recent. https://buddypress.org/support/topic/messages-send-to-auto-fill-functionality-not-working/
Could this be something?
– Joshua
Ok, so I can confirm that I am not getting any errors in the JS Console or in WP-DEBUG.
But you are right about BP Nouveau. When I enable this template pack on the Twenty Sixteen theme, the auto-fill name suggestions works perfectly for all users, even with friends connection disabled. But note, it is working even without using AUTOCOMPLETE_ALL in the bp-custom.php file.
What could this mean?
Thank you for all the help and tips @Venutius really appreciate it.
Hmmm that’s so strange.
I’m fairly new to all this, I’m going to have to figure out how to check for these errors that you mentioned first and then I’ll get back to you.
@Venutius I am using BuddyPress Legacy.
Hi @Venutius thank you for your reply.
I put the below code into wp-content/plugins/bp-custom.php. I also enabled the default WP 2016 theme, and tried disabling all my plugins except BP. The autocomplete is still not showing up when friends connection is disabled.
When I have friends connection enabled, the autocomplete works to show a list of Friends only.
I’m not sure why this is not working. Does the AUTOCOMPLETE_ALL still work in BuddyPress 4.2?
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );
Another helpful reference https://buddypress.trac.wordpress.org/ticket/2419
I would love to know the answer to this as well… Anyone have a solution? I would like to completely remove the Subject field if possible.
Hmmm. Unfortunately I’m unsure of how to do this. I did find this one plugin that is supposed to do the job, but it hasn’t been updated in years. I still might have to give it a try it though unless someone else can make another suggestion?