BuddyDev

Restrict Users from modifying profile field data on BuddyPress based site

Do you want to restrict users from changing a profile field data after they have updated it once. If yes, BuddyPress Non Editable Profile Field plugin is here to help you.

The goal of this plugin is to:-

  • Allow admins to mark a profile field as non editable.
  • Do not allow users to change the profile field value if the field is marked non editable.

How it works:-

Once a field is marked, It allows user to save the data for one time. Once the profile field data is saved, the user can not modify or change that. Admin user can still change the profile fields data though.

Where it can be useful:-

A few cases that comes to my mind at the moment are:-

  • Gender field:- You can use it to restrict users from changing their gender
  • Date of Birth Field:- You may restrict users from changing their date of birth after they update it
  • Member type:- May be you don't want to allow users to change their member type( Are you using the new member type api? It is awesome!)
  • … I am sure you will find other scenario to use this plugin 🙂

Screenshots:-

non-editable

Download & Installation:-

 https://buddydev.com/plugins/bp-non-editable-profile-fields/

Let me know your thoughts & suggestions in the comment below 🙂

 

21 Responses to Restrict Users from modifying profile field data on BuddyPress based site

  • This plugin would be really helpful if you could set a duration or expiration on a restricted field such as making a field only editable once every XX days/months. This way you could restrict users from changing important information such as username, email, payment info, etc frequently but still allow them to make a change every so often to correct mistakes or make updates.

    • Hi Steve,
      Thank you for the comment.
      This plugin was created to serve specific need to allow users update a field only once and never again. The whole purpose of this plugin was to work for fields like Date of birth, Gender etc that a user should not be able to modify after updating.

      Hoping that you can still modify it to suit your need but making it work with a duration is a very specific task, and that does not server the generality of this plugin.

      • Okay that makes since, thanks for the reply!

  • Bax #

    Hello There,

    Thanks for making wonderful plugins. Blessing you for future upgrades and work.

    Your plugin works great for me. But I need BP Member Type to link with WordPress User-Roles. I need user role to be same as Linked Member Type. So when User Select Particular role while Registration It may Automatically Selected to Member Type Linked to it.

    At this point of Time. When new user registers to my website. he/she has to select Two times ; 1st is User role . 2nd is Member Type. whereas they both are same.

    as I need both functionality. I can't make changes to Member type after registration manually as I am expecting many users coming up in future times.

    Plus it doesn't work for bulk action on Dashboard. Somehow may be it need to be updated for current version of WordPress.

    If that is possible some how. Please let me know.

    Thanks..

    • Hi Bax,
      Thank you for the comment and reporting the issue.

      We are working on a role field and will allow mapping from role to member type. hoping to put an update next week for the bulk update too.

      Thank you
      Brajesh

  • Hi! Great plugin! I have some Buddypress fields that are updated 'remotely' (via Gravity forms) and that the user shouldn't even be able to edit once. Can you suggest how I would modify the plugin to remove "allow 1 user edit" feature and use it to fully restrict users from editing certain xProfile fields? (Or, is there a better way to do that than modifying this plugin?)

    Thanks!!!

    • Hi David,
      Thank you for the comment.
      If the data is set for the profile field by any means, this plugin will not allow user to edit them. Please make sure to mark the fields as non editable and this should do the trick.

      Hope that helps.

  • Hi,

    is there a pot file for this plugin?

    Thank you.

    • Hi Karen,
      Please upgrade to 1.0.1. I have added support for localization. You will find the pot file in the languages directory of the plugin.
      Hope that helps.
      Regards
      Brajesh

      • Hi Bajesh,
        thank you. I've just updated to 1.0.1 and opened the pot file, but there are only 4 entries. I checked with Poedit and Loco Translate.
        Regards
        Karen

        • Hi Bajesh,
          any news?
          Regards,
          Karen

        • Hi Karen,
          This plugin does not have many strings. Are you facing any issue? Please let me know what issue are you facing?

          Thank you
          Brajesh

  • Hi Brajesh,
    thank you for your reply. I just realised that the profile fields I created with your plugin would not appear as strings. Duh!

    However, I need to translate the profile fields and can't figure out how this can be done. I've activated 'custom fields' in Polylang for translation hoping that this would do the trick, but still no joy.

    Can you point me in the right direction, please?

    Regards,
    Karen

  • This is almost exactly what I want, except that I want admin to be able to edit the field, but not the user. It seems that when this is installed the field disappears for admin users looking at the user fields. Would this be a possible addition in the future for this plugin?

    • Thank you Sarah.
      I am posting an update in 1-2 days to enable for admin all the time.

  • I bought it.
    The administrator can view profiles at the front end, but the user's front end profile display is hidden. Users want to edit their profile once on the front end so that they can not be edited the second time. How to set it?

    • Hi,
      Thank you for purchasing. Please post in our forums with the BuddyPress Version, Your Theme name and version and if you are using any other xprofile field related plugin.

      We will assist you quickly there.

      Regards
      Brajesh

  • buddypress 3.0.0
    BuddyBoss Wall1.3.3
    BuddyPress Activity ShortCode1.1.3
    BuddyPress Auto Activate Autologin Redirect To Profile On Signup
    停止 | Translate
    BuddyPress Auto Activate Autologin Redirect To Profile On Signup,1.4.6
    BuddyPress Create Group Types 1.1.0
    BuddyPress Extended Friendship Request1.1.1
    Buddypress Media4.4.8
    BuddyPress Notify Post Author on Blog Comment 1.0.5
    Buddypress Shortcodes 1.2
    BP Non Editable Profile Fields1.0.1

    theme sweetdate

    please

  • (BP)SuitePlugins – Advanced XProfile Fields for BuddyPress1.0.3
    BuddyPress First Letter Avatar2.2.8
    BP Profile Search4.8.3

    and BP Non Editable Profile Fields 1.0.1

  • Hi Brajesh,

    this is a nice plugin, but i have a problem.
    The plugin is designed, that the user is able to fill out the field the 1st time.

    In my case, the user should NEVER be able, to set the fields for "lastname" and "birthday", only the admin.
    In some cases, the field should not be filled.
    So it's not the solution, that the admin prefills the fields, because an empty birthday field leads to the situation, that the user is able to fill this field by himself.

    Is there a possibilty, to completely hide the edit-function for the user?
    I would also buy support for this plugin, if you would change/add this.

    Best regards
    Carsten

    • Hi Carsten,
      Thank you for the comment.
      From your needs, It seems to me that a custom visibility is better way to handle it. You can create a custom visibility that only allows admins to edit but lets the field be displayed on the user profile. If you do not need the field to be displayed, the admin only visibility can already do it.

      Regards
      Brajesh