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.

Need help disabling top-most input field in buddypress private messaging form.

Find Answers and Get Support Forums Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme Popular Features Member Messaging Need help disabling top-most input field in buddypress private messaging form.

This topic is resolved
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Lanre Oluwafemi
    Participant
    • 4 Topics
    • 19 Posts
    @kobolafem

    Hi. I have attached a screenshot of the input field in question. When a user tries to contact another member via private messaging, there’s a particular field which I find redundant and which causes confusion thereby generating errors, it’s the first input field (the one that is meant to hold the receiver’s username, as you can see it in the attached screenshot). It’s the one with the pink highlight in the attached screenshot, in which I wrote the text “need to get rid of this input field”. I would like to know how I can disable this or remove it completely from the private messaging page simply because it isn’t needed since the message receiver’s name has already been attached at the top of the form (as shown in the screenshot). It has confused atleast three of my testers who ended up mistaking it for the ‘subject’ field, making them enter their subject in that particular field while leaving the “subject” field empty, thereby causing an error. I think this clumsiness can be done avoided by simply disabling that field or removing it completely while leaving just the subject and message fields/textform. This only applies to private messaging, and not public. Thanks in anticipation.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @kobolafem,

    This is a BuddyPress generated field so removing it might not be recommended. However, we could hide it and it will probably solve your issue.

    Could you please create a new website user for us? If possible with administrator capabilities so we can make a quick check of your settings and visit the private messaging page.
    You can post the user name and password in your next reply and mark it as private to keep this between us.

    Cheers,

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @kobolafem,

    To change this, could you please add the following code snippet to your website and tell us what you think? Thank you.

    /**
      * Hiding the BP send to input.
      */
    .messages.bp-user .send-to-input,
    .messages.bp-user label[for="send-notice"]  {
        display: none !important;
    }

    To add this code snippet to your site, we recommend that you paste it to the Custom CSS panel of your WordPress Customizer. Just go to your dashboard and navigate to “Appearance > Customize > Additional CSS”.
    Pasting your code snippet there should do the trick for you.

    We hope this will solve your issue. ?

    All the best,

    Lanre Oluwafemi
    Participant
    • 4 Topics
    • 19 Posts
    @kobolafem

    Thanks for the code, but unfortunately it didn’t work as expected. I entered it in the Additional CSS textfield as instructed, and pushed ‘publish’. But it didn’t have the expected effect. The Send-To field is still appearing and not disabled. Don’t know why.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @kobolafem,

    It seems to work fine when we add the snippet to your site. Maybe it’s simply a browser caching issue.

    Could try again to add this code snippet to your site to the Custom CSS panel of your WordPress Customizer please? Once done, you might still be seeing the issue because your browser cache is showing you an older version of the page (browsers do that to load pages faster). So to see that the issue is resolved you will need to empty your browser cache and reload the page. If you want to read more on what browser cache is and how to clear it, here is an article that might help you:
    https://www.lifewire.com/how-to-clear-cache-2617980

    Afterwards, could you confirm us that the issue is solved please?

    Cheers,

    Lanre Oluwafemi
    Participant
    • 4 Topics
    • 19 Posts
    @kobolafem

    Thanks. But mine is showing an error in the code you gave me when I tried it again. The error is visible in the attached screenshots. The tooltip of the error line reads “Expected INDENT at line 5, col 29. IT’s not letting me save it.

    Lanre Oluwafemi
    Participant
    • 4 Topics
    • 19 Posts
    @kobolafem

    I was finally able to get the code published even with the errors I attached in my last message, and I also cleared the Browser Cache like you suggested and the problem still persists. I have attached a screenshot of the field after the cache clearing. I would appreciate it if you can possibly just help me insert the code with the credentials I gave you earlier, to make it easier, because I have no idea what I’m doing wrong. Thanks.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @kobolafem,

    Unfortunately, we’re not able to properly save the code either. And from what we see, it’s simply not loaded, thus not applied.

    If we review your screenshots, when it seems that your browser is escaping the HTML when you’re pasting the snippet, thus transforming the double quotation mark into ". This might be one of the reasons why you were unable to save our custom CSS code.

    We also noticed that Activity Reactions For Buddypress seems buggy on your website and it might another reason why you were unable to save.

    Finally, please also note that your website is encountering too many 500 errors, which are preventing us to help you further. It might be caused by an insufficient memory allocation or a server misconfiguration.. It might also be the reason why you’re not able to run WooCommerce properly.

    Please make sure that your server configuration is meeting the WordPress prerequisites. For more please review the following post: https://wordpress.org/about/requirements/

    For better performance and improved security, we obviously recommend the version 7.2 for PHP. Nevertheless, if this is not possible for you for various reasons, we recommend at least version 5.6.X.

    If these errors keep on occurring anyway, we recommend you to ask for more help from your server hosting support.

    We believe that they’ll be better informed and more able to help you.

    Regards,

Roboraptor 🦖
Themosaurus Topic Closer

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

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

The topic ‘Need help disabling top-most input field in buddypress private messaging form.’ 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