Auto Action to NOT display cb edit profile menu

8 years 1 day ago #281032 by edmundcheong
Is there a way to use the Auto Action to NOT display or hide cb edit profile menu?

Can I use the code auto action to hide the menu item?

Please Log in to join the conversation.

8 years 1 day ago #281054 by krileon
You can use CSS to hide it. Each menu item and its parent has a unique CSS class or ID. Right click and inspect element on it to find them. You can add the CSS to your Joomla template CSS file or I suppose through a Code action with Method set to CSS if you want it done from CB Auto 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 to join the conversation.

8 years 23 hours ago #281074 by edmundcheong
Replied by edmundcheong on topic Auto Action to NOT display cb edit profile menu
Is there any other way to disabled the edit profile menu (moderator edit), if for example a field such as cb_e_enable=No?

Please Log in to join the conversation.

8 years 11 hours ago - 8 years 11 hours ago #281088 by krileon
Yes, a Code action on the onAfterUserProfileDisplay trigger with Method set to CSS. Then use CSS to hide it. You'd condition for your field under Conditionals. This just hides the menu item and in no way stops its endpoint from functioning though.


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.
The following user(s) said Thank You: edmundcheong

Please Log in to join the conversation.

8 years 10 hours ago - 8 years 9 hours ago #281092 by edmundcheong
Replied by edmundcheong on topic Auto Action to NOT display cb edit profile menu
I have tried inspecting elements and cant seem to find the edit menu.. by any chance you could show me how to write a css to block the menu..

Is there a way to completely off the edit menu? I have shutdown moderator edit for other profile, and created auto action to create a new edit menu but somehow when you do that, it revokes every right edit other user profile..

Please Log in to join the conversation.

8 years 9 hours ago #281105 by krileon

I have tried inspecting elements and cant seem to find the edit menu.. by any chance you could show me how to write a css to block the menu..

The below will hide it.

.cbMenu_UE_MENU_EDIT {
	display: none !important;
}

Is there a way to completely off the edit menu? I have shutdown moderator edit for other profile, and created auto action to create a new edit menu but somehow when you do that, it revokes every right edit other user profile..

To edit ones own profile, no. To edit another user while logged in as a moderator, yes by turning off moderator profile editing within CB > Configuration > Moderation. Eventually we'll have backend management of CB Menu menu items for significantly more usability, but that won't be for awhile.


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.
The following user(s) said Thank You: edmundcheong

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.307 seconds

Facebook Twitter LinkedIn