Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @asif-sk

    Just letting you know that I’ve created an issue on our GitHub repo to investigate the issue. https://github.com/ultimatemember/ultimatemember/issues/725

    Regards,

    Thread Starter asif-sk

    (@asif-sk)

    Right now, view profile page only shows those labels/fields which are already filled or have a default value.

    But i want to show all fields label on the profile page, without checking if they are filled or not.

    Whenchecking the source code, the field data on profile page is displaying using this code:
    $data = $this->view_field_output( $data );
    $output .= $this->view_field( $key, $data );
    /includes/core/class-fields.php

    So what should I change in code to display all fields labels?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @asif-sk

    This is a temporary fix while waiting for a permanent fix.

    1.Please open the file /ultimate-member/includes/core/class-fields.php
    2. See Line 863.
    3. Add this in the condition: $this->viewing ==true.
    See the screenshot: https://drive.google.com/file/d/1XxETP0Zw7XasbJzztVo7Z2khDIFUU6lc/view?usp=sharing

    Regards,

    • This reply was modified 5 years, 4 months ago by Champ Camba.
    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @asif-sk

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂

    Regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Show empty fields on profile page’ is closed to new replies.