User Profile - locking a custom field to admins only
- intouchweb
- Topic Author
- Offline
- Elite Member
Less
More
2 years 11 months ago #147585
by intouchweb
User Profile - locking a custom field to admins only was created by intouchweb
Wondering if there is an option to lock a custom field on a Users Profile, ie visible but not editable by the logged in user?
For example if an admin assigns an official number to a member, adding the data in the backend to the member's profile, then the member will see the field in their User Profile but will not be able to edit it.
Like the old paper forms that said "Admin Use Only" in certain fields.
Is this currently possible?
If not - is it something others would want as well, a potential wishlist item?
For example if an admin assigns an official number to a member, adding the data in the backend to the member's profile, then the member will see the field in their User Profile but will not be able to edit it.
Like the old paper forms that said "Admin Use Only" in certain fields.
Is this currently possible?
If not - is it something others would want as well, a potential wishlist item?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 11 months ago #147588
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic User Profile - locking a custom field to admins only
I could not be sure but you can try to create a custom field with following settings:
- Show On Subscription Form: No
- Show On Profile: Yes
- Can Edit On Profile: No
That should do what you need
Regards,
Tuan
- Show On Subscription Form: No
- Show On Profile: Yes
- Can Edit On Profile: No
That should do what you need
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- intouchweb
- Topic Author
- Offline
- Elite Member
2 years 10 months ago #148121
by intouchweb
Replied by intouchweb on topic User Profile - locking a custom field to admins only
Thank you that seems to work, however even though the field is read only the display appears just like a normal input field, editable by the user (but the changes do not save), causing potential cofusion. How can I grey this field out, or make it look obvious that it is for admins only (like the Transaction ID for example)?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 10 months ago #148129
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic User Profile - locking a custom field to admins only
Could you show me a screenshot? It should display value of the field only, not like an input
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- intouchweb
- Topic Author
- Offline
- Elite Member
2 years 10 months ago #148135
by intouchweb
Replied by intouchweb on topic User Profile - locking a custom field to admins only
Screen shot as requested, the relevant read-only field is "Member Number (Admin Only)"
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 10 months ago #148137
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic User Profile - locking a custom field to admins only
For this, better submit a support ticket sending me super admin account, a subscriber account which can be used to access to that page and link to that page. I will check it directly on your site
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.