Skip to content

Support read-only (administrator editable) fields #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wfsaxton opened this issue Oct 19, 2017 · 3 comments
Open

Support read-only (administrator editable) fields #16

wfsaxton opened this issue Oct 19, 2017 · 3 comments

Comments

@wfsaxton
Copy link

I have a use case for only allowing an administrator to manage a custom field. Would be great if this were a field-creation option.

@NicolasSiver
Copy link
Owner

It means you will need to set/update field for every user on a forum.
Are you sure it should be done via Custom Profile Fields? I think, more details about your use-case will be great to read.

@wfsaxton
Copy link
Author

Yes, its a field called "karma" which an administrator can set and which a user will be able to use later for certain site actions (again, TBD). I guess its similar to reputation points, but I don't want the reputation point system managing it...it needs to be managed completely differently. Users will be able to purchase karma (which an administrator would add to his account manually).

So, I don't actually need multiple custom fields at this point, but your plugin was the best one i saw for handling my issue (creating an additional user attribute) without writing one myself!

I went ahead and forked/hacked your version so that only an administrator could perform the edit/save function for that field. I just thought I could create an issue for this in case there was some greater need for it!

@wfsaxton
Copy link
Author

I know a "karma" plugin is probably a better choice for something like this but, for now, using this plugin gets us an MVP of this functionality heh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants