• Resolved lauramay7

    (@lauramay7)


    Hey team,

    Historically, when we had multiple profile forms on one page (i.e. a ‘member’/’user’ page), only one profile form showed. This is still working using the blocks.
    HOWEVER, as of sometime in the last couple of months, where you have multiple profile forms on one page, only one form shows, but the profile blocks that are not shown retain a ‘space’ on the page. I’m going to try and show this in example:

    EDIT VIEW OF PAGE
    Profile form 1 (for users of type ‘1’)
    Profile form 2 (type ‘2’)
    Profile form 3 (etc)
    Profile form 4 (etc)

    VIEW PROFILE PAGE FOR USER OF TYPE 1
    Profile form

    VIEW PROFILE PAGE FOR USER OF TYPE 4
    [blank box]
    [blank box]
    [blank box]
    Profile form

    The extra space occurs between the heading of the page – the user’s name – and where the rest of the profile form appears (profile pic, edit cog, everything else).

    Any ideas? We switched from shortcodes to the UM profile blocks because of some issue I can’t recall, but now there is this new issue.

    Thank you!

    Laura

    The page I need help with: [log in to see the link]

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

    (@champsupertramp)

    Hi @lauramay7

    Which UM Profile blocks you’re referring to? Could you please provide a screenshot? UM only has blocks’ access control settings – please see the screenshot:
    https://drive.google.com/file/d/1flDbWHqPJcvlxp2xWOw8dvhjY2d8DMPX/view?usp=sharing

    I’ve tried adding two Shortcode blocks for two profile forms. Profile A and Profile B. Profile A is assigned to show for Subscriber and Profile B is for Editor. I don’t see any extra spaces rendered when I did inspect the browser.

    Displayed for Subscriber and Editor:
    https://drive.google.com/file/d/1ijCUa-bPFHSSuHCcRMUNEfFufFEydBN5/view?usp=sharing

    Displayed for Subscriber only:
    https://drive.google.com/file/d/1k2CWqkwEdfaHO6OxHGBt3E3P9AqLm6z0/view?usp=sharing

    Regards,

    Thread Starter lauramay7

    (@lauramay7)

    Dear Champ,

    Sure! I am all about screen shots. Here is a link to four: https://drive.google.com/drive/folders/1mY7RbYoX_BrSy3EIOk7Hg6ssgJv5_ueA?usp=sharing

    Firstly, see ‘edit member page’. You’ll see that there’s a list of profile forms, with the first one being ‘full profile – IMI Certified’; the second is ‘YMI’; at the bottom of the page is the ‘administrator’ profile form.

    Secondly, take a look at ‘Certified – Al’ and ‘YMI – Susan’. You’ll note that there’s a bit of a spacing difference, reflecting the order of the respective forms on the page. You’ll see the biggest difference though between Al’s profile and ‘Admin – Laura’. I’m not quite sure how else to describe it; there’s just random space. The same phenomenon applies to all types of profiles on the website, so that the further down on the ‘member’ page a profile form is, the more random space is inserted in that profile in the view end. Do note I’ve just updated to today’s release 2.1.17, and there is no change.

    Thank you!!

    Laura

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @lauramay7

    Just letting you know that we are still investigating the issue. For now, could you please try adding the following CSS code and see if those extra spaces still appear?

    p.wp-block-um-block-um-forms {
        display: none;
    }

    Regards,

    Thread Starter lauramay7

    (@lauramay7)

    So I have a dumb question–could this relate to PHP in any way? We use Siteground as host, and were using their ‘ultrafast’ php until this morning. I’ve now disabled that, and profiles are appearing correctly. (I disabled it because the site had gone offline twice over the past few days, and it seemed that was the issue – we have been using ultrafast php for quite some time, so I’m wondering if there’s some kind of conflict between that and UM).

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @lauramay7

    Sorry for the late response. I’m not sure if it’s a PHP issue but I was able to reproduce the issue with those extra spaces after each profile form on the User page. The CSS code works on our end to remove those spaces.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hey there!

    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 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue with multiple profile forms on one page – spacing’ is closed to new replies.