CB Custom field question

4 months 1 week ago - 4 months 1 week ago #336373 by liaskas
CB Custom field question was created by liaskas
Hello...

We have a custom text field in our users profiles.
User fills info in that field if he wants, but when he does, the value has to be moderated.
Is there a way to make this field moderated before it is shown to public?

Thank you.

Please Log in to join the conversation.

4 months 6 days ago #336387 by krileon
Replied by krileon on topic CB Custom field question
There's no moderation for fields other than image. That's something we'll be supporting in CB 3.x is to try and provide individual field moderation for every field type.

It's possible to make a bit of a workaround for this, but it's a bit of configuration work. You effectively will need 2 fields. 1 is your text field and 1 is your checkbox field. Make the checkbox field only available to moderators using CB Conditional (disable value resetting if using CB Conditional) or CB Privacy for its edit view and configure it to not display on profile. Next in your text field in its layout parameters you'd use the below to condition its display based off the checkbox fields value.
[cb:if cb_checkbox="1"][value][/cb:if]

This is the manual process at least. So for example the text won't display unless the checkbox field is checked, which only moderators can do.

Some automation can then be added like resetting the checkbox to unchecked if the text field changes value using CB Auto Actions. Can also send an email using CB Auto Actions to notify moderators. I can provide examples of these if you want.

You can also create a userlist that shows all users with a value in that text field and their checkbox isn't checked so you've a nice pending approval page.


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.

4 months 6 days ago #336396 by liaskas
Replied by liaskas on topic CB Custom field question
Thank you Krileon...
this workaround will do the job. Will test and be back if any issue.

Best wishes to the whole team for the new year...
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.390 seconds

Facebook Twitter LinkedIn