Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Is it possible to Remove an Item from CB Menu

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago #236764 by krileon
Replied by krileon on topic Is it possible to Remove an Item from CB Menu

Could an autoaction maybe help out there, and let the auto action only fire when it's not your own profile?

Yes, you could check the user id against the viewing users id.

Could you develop it with more détails please.

Use a code action on the profile display trigger with "Method" set to CSS. Now add the CSS supplied above to "Code". Next add the below conditional.

[user_id] Not Equal To [cb:userfield field="use_id" user="#me" /]


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
10 years 11 months ago #236766 by fribse2011
Replied by fribse2011 on topic Is it possible to Remove an Item from CB Menu
GRIN, beat you to it :-D

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • Vero-ecm
  • Vero-ecm
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #236769 by Vero-ecm
Replied by Vero-ecm on topic Is it possible to Remove an Item from CB Menu
I will try
But it's seem a litle bit complex for me.
Where I can't find the CSS file (from my Template or CB Template?) could you give me the path...?

Thanks

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
10 years 11 months ago - 10 years 11 months ago #236770 by fribse2011
Replied by fribse2011 on topic Is it possible to Remove an Item from CB Menu
It should look like this:



As you can see there is no CSS file, it's made with inline CSS.
Oh, and AutoActions are cool, and can be very complex, but it's still the greatest invetion for CB since the wheel

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Attachments:
Last edit: 10 years 11 months ago by fribse2011.
The following user(s) said Thank You: krileon

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

  • Vero-ecm
  • Vero-ecm
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #236778 by Vero-ecm
Replied by Vero-ecm on topic Is it possible to Remove an Item from CB Menu
Hi,

Must I use a special plugin for that?
Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago #236782 by krileon
Replied by krileon on topic Is it possible to Remove an Item from CB Menu
Yes, you need CB Auto Actions, which you can download from the Professional downloads section. Once installed and enabled navigate to CB > Plugin Management > CB Auto Actions > Actions to begin creating actions.


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