WordPress.org

Ready to get started?Download WordPress

Forums

Buddypress Xprofile Custom Fields Type
[resolved] Restrict Editing of Fields (6 posts)

  1. OCS Foundation CTO
    Member
    Posted 1 year ago #

    Is there a way to create a field that can only be edited by Site Administrators? On our sites we need to validate the military rank of a user and do not want them changing it. Thanks.

    http://wordpress.org/extend/plugins/buddypress-xprofile-custom-fields-type/

  2. donmik
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    There is no way to do this with this plugin and I don't know other plugin to do this. Sorry...

  3. OCS Foundation CTO
    Member
    Posted 1 year ago #

    Can we make that a feature request?

    We want to display the military ranks of our users but we currently validate these through official channels. Therefore, we do not want users updating this on their own.

  4. latinoleader
    Member
    Posted 1 year ago #

    Would it be possible to accomplish this w/a membership/content management type of plugin, such as Members?

  5. donmik
    Member
    Plugin Author

    Posted 1 year ago #

    OCS Foundation CTO, I don't think this plugin is the suitable to achieve this function. It was created to add more field's type, buy maybe you can do it coding a little. You can add an action to bp_custom_profile_edit_fields and hice the field you want.
    I have no time this week to try this, but maybe next week I can help you with this.

    latinoleader, I don't know but I don't believe this plugin let you modify edit permissions over a field you create with a plugin. If you try and it works, let us know!

  6. OCS Foundation CTO
    Member
    Posted 1 year ago #

    Thanks, I see where you are coming from with regard to the purpose of this plugin. I will look into the action you mention for the editability aspect of a profile field.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags