Skip to Content Skip to Menu

[SOLVED] Profile edit by moderator, read only fields

  • lkessner
  • lkessner
  • OFFLINE
  • Posts: 15
  • Thanks: 1
  • Karma: 0
10 years 2 months ago - 10 years 2 months ago #247874 by lkessner
Hello,

i have some fields in profile that read only, so the normal user can not change. At Backend, as Admin, i can change this fields. Thats ok, but give it a possibility that an Moderator, which have permission to change profiles in frontend, also can change read only fields?

Greets

Lars
Last edit: 10 years 2 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 2 months ago #247884 by krileon
Replied by krileon on topic Profile edit by moderator, read only fields
Only way to do that is to use CB Privacy and set the field to be editable by moderators only. Then disable read only.


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.

  • lkessner
  • lkessner
  • OFFLINE
  • Posts: 15
  • Thanks: 1
  • Karma: 0
10 years 2 months ago #247888 by lkessner
Replied by lkessner on topic Profile edit by moderator, read only fields
Hi,

nice idea, but it doesn't work :-)
i have tested it, the moderator can change the value but the use don't see this field. The user should see, if the saved information are correct.

Lars

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 2 months ago #247892 by krileon
Replied by krileon on topic Profile edit by moderator, read only fields
The user should see the field in profile view, but no they won't see it at all in profile edit. There's no feature available to toggle read only state based off the viewing 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.
The following user(s) said Thank You: lkessner

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

  • lkessner
  • lkessner
  • OFFLINE
  • Posts: 15
  • Thanks: 1
  • Karma: 0
10 years 2 months ago #247894 by lkessner
Replied by lkessner on topic Profile edit by moderator, read only fields
Sorry,

my mistake. That's right and ok for me.
Thanks
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum