Skip to Content Skip to Menu

How to hide "SEND PRIVATE MESSAGES" in in profile in plugin_cbmenu

  • Mike999
  • Mike999
  • OFFLINE
  • Posts: 39
  • Thanks: 1
  • Karma: 0
9 years 5 months ago #264407 by Mike999
How to hide "SEND PRIVATE MESSAGES" in in profile in plugin_cbmenu
Yes, how to?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #264425 by krileon
It's hardcoded in. Only way to remove it is to disable PMS. An alternative is usually to use CSS, but looks like its CSS class is broken and being translated when it shouldn't. The below is the translated class that you could try.

Code:
.cbMenuSend { display: none !important; }


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Mike999
  • Mike999
  • OFFLINE
  • Posts: 39
  • Thanks: 1
  • Karma: 0
9 years 5 months ago - 9 years 5 months ago #264436 by Mike999
ok thanx.

I find a solution!

In the cb.menu file i deleted "$this->addMenu( $sendMessage );"
Then it vanish from rhe menu in profil.. :lol:
Last edit: 9 years 5 months ago by Mike999.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #264439 by krileon
Well that's a core edit, which we don't support. When you update CB your change will be lost. At any rate I've fixed the CSS class bug for next release so it'll be fixed back to cbMenu_UE_PM_USER.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum