Forum Replies Created
-
AuthorPosts
-
AchilleParticipant@coriaas
- 27 Topics
- 70 Posts
Hi Manathan,
Thank you. Indeed I submitted my concerns on their forum and I received the answer below which I hope will help someone.It has to be implemented in the template. You can adda default “message” subject. This is something which is outside the scope of buddypress.
So we did implement something like this in our theme :
There is a message box option which appears in the members page :
https://prnt.sc/uugfa4
and sending a message from here sends a default subject in the buddypress Messages section in the profile :
https://prnt.sc/uugfv0——————————————————-
We can edit line 952 in wp-content -> plugins -> Buddypress -> bp-messages -> bp-messages-template/** * Get the default value for the Subject field. * * Will get a value out of $_POST['subject'] if available (ie after a * failed submission). * * @return string */ function bp_get_messages_subject_value() { // Sanitized in bp-messages-filters.php. $subject = ! empty( $_POST['subject'] ) ? $_POST['subject'] : 'Hello!'; /** * Filters the default value for the subject field. * * @since 1.0.0 * * @param string $subject The default value for the subject field. */ return apply_filters( 'bp_get_messages_subject_value', $subject ); } /**
October 7, 2020 at 09:36 #24045AchilleParticipant@coriaas- 27 Topics
- 70 Posts
Hello Manathan,
Bellow the solution I get from Moderator Buddypress.
——————————————————You can omit the public message form with this code:
add_filter( ‘bp_activity_do_mentions’, ‘__return_false’ );You need to ask Paid Membership Pro how to check if the current user has made the required purchase.
October 4, 2020 at 16:35 #23890AchilleParticipant@coriaas- 27 Topics
- 70 Posts
Hello Manathan,
I hope you’re doing great too.
Thank you for your quick feedback on my concerns.I had installed the paid version of Yobro Chat
but I uninstalled it because it didn’t meet my expectations.
And I noticed that the website kept the URLS formatting when I had installed this pluggin.I am very confused.
But I will continue to follow your instructions to see what the result and get back to you.King Regards!
October 3, 2020 at 10:04 #23860AchilleParticipant@coriaas- 27 Topics
- 70 Posts
Hello Manathan,
I hope you’re doing great too.
Thank you for your quick feedback on my concerns it is really heartwarming.
Okay so I’ll send this message to Paid membership pro and expect a quick feedback from them.Thank you and have a great day.
King Regards!
October 3, 2020 at 09:58 #23859AchilleParticipant@coriaas- 27 Topics
- 70 Posts
Hello Manathan,
Happy to read you.
I have check since tree day to find piece of php code to fix this problem but nothing work fine.
https://buddypress.org/support/topic/hide-admins-from-bp-widget/
Each php code I have used desable sidebar or locked browser, or enable debug mode.Okay anyway, I will send ticket on Buddypress.
King Regards!
September 10, 2020 at 13:51 #17346 -
AuthorPosts