• I am running Ultimate member 1.3.59

    I added a few fields to the default profile form. I am able to edit profile for a member logged as admin but when I try it as a member role user it refreshes but doesn’t save the updates. I checked the “wp_usermeta” table in the DB and confirmed the editions are not being recorded when the user is a member role.

    Thanks for your help

    https://www.ads-software.com/plugins/ultimate-member/

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter aghahn

    (@aghahn)

    I guess what I should do now is to add the fields one by one and test until I detect which one is creating the problem, correct? Do you suggest any other path to follow?

    Thread Starter aghahn

    (@aghahn)

    I think I isolated the problem.
    My profile form has a number of fields with Privacy set as “Everyone”.
    Everything works fine with this fields. But when I add the next field which I set Privacy as “Only visible to profile owners and admins” then the problem appears and I am not able to Save changes when editing a profile.
    Please I need urgent help to fix this.

    Thanks

    Thread Starter aghahn

    (@aghahn)

    This is driving me crazy. How should I set a field that I want visible for owner and admin but only editable by admin?

    How do “Privacy”, “Visibility”, and “Can user edit this field” settings play all together?

    Visibility = whether the field is shown only in profile view or edit view.

    Privacy = who may view the field on the front-end user profile (specific roles, etc.).

    Can user edit this field = can the user edit the contents of the field, vs. admin only.

    For your example, it sounds like you want the following:

    Visibility = View everywhere
    Privacy = Everyone
    Can user edit this field = No

    Sorry, let me correct my last post:

    Privacy = only visible to profile owner and admins

    Thread Starter aghahn

    (@aghahn)

    Ok. Now if I set it as you said and set that field as required then the form never save. It just refreshes the screen but doesn’t save anything

    Please confirm the following:

    1. You’re logged in as an admin.

    2. You have one or more fields for your user profile, which you set up as I suggested earlier.

    3. You cannot save changes when editing the user profile form.

    If all of that is correct, I would ask:

    1. Are you using any type of caching plugin or service? If so, disable it.

    2. Have you created settings for one or more fields that contradict those in other UM forms? For example, a field is listed as editable in one form but not another?

    Thread Starter aghahn

    (@aghahn)

    I did have a backup of the form I was using that had the same fields with different settings. I deleted that backup and now it seems to work correctly. Thanks.
    However, I have another issues. I have a field “gender”. I am testing two different users. For one of them it works fine when editing the profile (not the gender field…any other). But for the other user, when I click on Edit profile it shows “Male” for the gender field (which is correct). I go edit any other field and click Save. When I do that an error message shows up saying gender field is required and shows no value when as I said it was set to “Male” when I started. So I choose “male” and try to save again and this time it saves correctly. But every time I enter to edit this particular user it happens all over again

    Are you using the UM predefined Gender field, or did you make one of your own?

    Thread Starter aghahn

    (@aghahn)

    UM predefined Gender field

    It’s hard to diagnose without digging into your settings, but I would suggest going through your user roles and forms one by one and making sure that any settings for the gender field are compatible (i.e., not contradictory in any way). My guess is that there’s something causing a collision in your database from the settings.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Member role not able to edit its own profile’ is closed to new replies.