[SOLVED] CB Profile Book - Stop Users from Disabling/Deleting Profilebook Posts

9 years 7 months ago - 9 years 7 months ago #248741 by rift
I would like to make it so all Profilebook posts autopublish and cannot be removed by the book owner.

This probably means hiding 2 out of the 3 user parameters (cb_pb_enable, cb_pb_autopublish) from the edit profile page and removing the delete option for users.

What would be the easiest code changes I would need to make to do this?

Thanks in Advance :)

Please Log in to join the conversation.

9 years 7 months ago #248787 by krileon
You should be able to disable those fields in CB > Field Management. Otherwise you can just move them to a tab that's disabled. You can't disable the delete/unpublish features though without modifying CB ProfileBook and removing their code. You can hide the links with CSS, but that's just hiding them visually as they'd still function.


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.

9 years 7 months ago #248838 by rift

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.186 seconds

Facebook Twitter LinkedIn