• Resolved michal549

    (@michal549)


    Hello,
    I have installed UM 2.3.1 on WordPress 5.9.3 and PHP 7.3.7.
    In the registration form there are some information collected and these fields are set as “view mode only” in the profile form (users provide these information during registration and cannot edit later but can see).
    Another fields (not present in the registration form, containing detailed information) can be edit from user profile afer registration.
    Unfortunatelly, two radio-type fields filled during registration are visible only until users edit their profile. After changing any profile information, although they are invisible in profile “edit mode”, the values disapeared and in the User Info there is (empty) value.
    Have You any suggestions where the mistake or problem is?

    Regards!
    Michal

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter michal549

    (@michal549)

    Yep. I have set the Twenty Twenty-Two theme (v 1.1) as well as no plugins (except UM).
    It makes no difference…

    Moreover, despite I set the option “Who can see About Tab?” as “Only the owner”, the profiles can be see by anyone using a link with the following form: https://website.domain/user/name-surname/

    • This reply was modified 4 years, 1 month ago by michal549.

    @michal549

    I have tried but can’t reproduce your issue.

    Can you make screen copies of the radio field settings from the Registration and Profile Forms and upload to imgur.com and share the link here in the Forum.

    Thread Starter michal549

    (@michal549)

    Please find attached.
    In the registration form: https://freeimage.host/i/VJhP44
    In the profile form: https://freeimage.host/i/VJj7wX
    In the case of these fields, without conditional logic.

    The temporary solution (for me) is to make these radio fields visible also in edit profile mode by set option “View everywhere”. But I want them to be uneditable after registration…

    @michal549

    Are the screen copies the settings when you have this issue or your temporary solution?

    Plugin Support Aswin Giri

    (@aswingiri)

    Hello @michal549

    Regarding the dropdown field being updated, I tested and it looks like a bug. I will create an issue for this.

    Since you just want to display data and not really update it, you can use a text field for now. I tested it with the text field and it does not seem to have any issue.

    Thread Starter michal549

    (@michal549)

    @missveronicatv
    The screenshots show the configuration when the problem appears.

    @aswingiri
    The text field are not possible to selecting of preset values. Temporarily I set for the radios option “View everywhere”.
    Referring to bug report, there is also similar problem with dropdown fields.

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @michal549

    Are you still having issues with the latest version 2.3.2?

    Regards,

    Thread Starter michal549

    (@michal549)

    Hi @ultimatemembersupport,
    unfortunately, not.

    Regards!

    missveronica

    (@missveronicatv)

    @michal549

    PHP 7.3.7

    This PHP version is very old and without PHP support.
    Can you switch to PHP 7.4?

    Thread Starter michal549

    (@michal549)

    @missveronicatv
    I know that PHP 7.3 is end of life. However, the hosting settings are not depend on me…

    missveronica

    (@missveronicatv)

    @michal549

    Install the “Health Check & Troubleshooting” Plugin and get a report about the status and required actions of your Web hosting and Site.

    https://wordpress.org/plugins/health-check/

    Thread Starter michal549

    (@michal549)

    @missveronicatv please find attached:

    Site Health Status

    -You should remove inactive themes [Security]

    -Your PHP version should be updated [Performance]

    -One or more recommended modules are missing [Performance]
    PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.
    The WordPress Hosting Team maintains a list of those modules, both recommended and required, in the team handbook (opens in a new tab).
    Warning The optional module, imagick, is not installed, or has been disabled.`

    • This reply was modified 4 years ago by michal549.
    missveronica

    (@missveronicatv)

    @michal549

    You can try to use this code snippet,
    install into your child-theme’s functions.php file
    or use the “Code Snippets” Plugin.

    https://wordpress.org/plugins/code-snippets/

    add_filter( 'um_user_pre_updating_profile_array', 'um_user_pre_updating_profile_array_fee', 10, 2 );
    
    function um_user_pre_updating_profile_array_fee( $to_update, $user_id ) {
    
        $to_update['fee'] = um_user( 'fee' );
        return $to_update;
    }
    Thread Starter michal549

    (@michal549)

    @missveronicatv Thank You.
    How can this code help? Presently it is production site so i would not make any changes on it… Alternatively, I can prepare 1:1 site copy in a subdirectory.

Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘Disappearing fields values in the user profile’ is closed to new replies.