Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

How can we edit Private message?

This topic is resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Achille
    Participant
    • 27 Topics
    • 70 Posts
    @coriaas

    Hello Best Team,

    First of all I would like to thank you for your support. It’s a real pleasure.

    I wanted to know if it’s possible to edit the private messaging so that the client doesn’t have to insert a subject before sending his message to his correspondent?
    The current version of the message subject is mandatory.

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    Hi Achille, 🙂

    Unfortunately, I have no idea. ?‍♂️

    As this issue is related with BuddyPress, it’s best if you try to reach the plugin authors. They will be more informed and better suited to help you.

    To go further, we invite you to post your request on their support forums:
    https://buddypress.org/support/

    We remain available for all support requests related with the use of your theme.

    Best,

    Achille
    Participant
    • 27 Topics
    • 70 Posts
    @coriaas

    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 );
    	}
    
    /**
    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    Thank you for your feedback Achille! 🙂

    I’m sure it will help some of our client. #SharingIsCaring ??

    As we can read, this feature requires custom development work. If you can’t do it yourself, our recommendation is to hire a freelancer to this job for you.

    If you’re on a tight budget, we recommend you to require the services from Envato Studio freelancers (https://studio.envato.com/explore/websites-programming). This web platform gives you access to developers who have already experience with theme customizations, and for very competitive prices.

    Best,

    Achille
    Participant
    • 27 Topics
    • 70 Posts
    @coriaas

    Hello Manathan,
    It’s okay for me, I’ve already fix issue.
    Thank you for your support.

    King Regards! 😉

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    I’m glad to read that you’ve been able to solve this Achille! 🙂

    Cheers,

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘How can we edit Private message?’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site