• Resolved sirlouie

    (@sirlouie)


    I manage a website that has used Ultimate Member version 2.8.6 and lower for the last three plus years, with no issues. Recently, Ultimate Member updated its version to 2.8.7, and the rendering of the image on the page left-aligns the image (instead of centering it as before), and the iframe that embeds YouTube is completely missing, even from the rendered source code.

    This imgur post shows the rendering with 2.8.6 on top, and the rendering with 2.8.7 on the bottom:

    https://imgur.com/a/Nm1FR7c

    The relevant code from the webpage is included as the third picture in the imgur post. I could not paste it here as it rendered to HTML.

    As a test, I disabled all plugins but Ultimate Member. Using 2.8.7 fails. Switching to use 2.8.6 works. Switching back to 2.8.7 fails again. Can the 2.8.7 plugin be fixed so that this no longer happens? I’ve fallen back to 2.8.6 for now to hope that you can fix this. I could provide a non-Wordpress login (an Ultimate Member login) if you’d like to test the link.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @sirlouie

    Please try the 2.8.8 version of the UM and let me know about result. We will release it today.

    Regards.

    • This reply was modified 5 months, 3 weeks ago by andrewshu.
    Thread Starter sirlouie

    (@sirlouie)

    Hi @andrewshu, I updated to 2.8.8 and flushed the caches, and re-isolated the plugin by disabling all others. Unfortunately it rendered the same as 2.8.7 and offered no relief. Changing back to 2.8.6 restored the expected functionality. Can this be addressed further?

    • This reply was modified 5 months, 3 weeks ago by sirlouie.
    Plugin Support andrewshu

    (@andrewshu)

    Hello @sirlouie

    Could you try too switch theme to the default wordpress one and check again (just for testing)?

    Regards.

    Thread Starter sirlouie

    (@sirlouie)

    @andrewshu I tried switching to the Twenty Twenty default theme I had installed, and it exhibited the same behavior. I also downloaded the newest Twenty Twenty Four default theme, and it too exhibited the problem. Here are some images from my testing.

    https://imgur.com/a/ciFUrJ4

    For now I have reverted the plugin to 2.8.6 and am blocking minor updates. Can you suggest further troubleshooting?

    Yeah same issue here. reverted back to 2.8.6 and the issue goes away. My iframes would not show at all.

    Plugin Support andrewshu

    (@andrewshu)

    Hello @sirlouie

    Do you paste only URL in the youtube field or embed code (with the iframe tag)?

    Regards.

    Thread Starter sirlouie

    (@sirlouie)

    @andrewshu the code used is in the third picture on this first link I provided:

    View post on imgur.com

    @andrewshu – I’m experiencing the same issues with iframes of videos across an entire site.

    We have the iframe coded into the page, taken from both Vimeo and YouTube.

    When using 2.8.8 no iframe content is rendered on the front-end, even though it’s showing up in wp-admin when editing the page(s).
    Rollback to 2.8.6 and the issue disappears.

    WP v6.6.2
    Custom theme based on Genesis framework (v3.5.0)

    I face the same kind of issue.
    in gutenberg the images are not centered anymore when using um_loggedin.
    it works fine with v 2.8.6
    With 2.8.7, 2.8.8, 2.8.9 the images are left aligned
    WP v6.6.2 theme oceanwp

    Thread Starter sirlouie

    (@sirlouie)

    @eztichris @andrewshu I can confirm that adding and enabling the following PHP Code Snippet using the WPCode Code Snippets plugin eliminates the problem with 2.8.9:

    function my_um_loggedin_inner_content_without_kses( $prepared_content, $content ) {
    return apply_shortcodes( UM()->shortcodes()->convert_locker_tags( wpautop( $content ) ) );
    }
    add_filter( 'um_loggedin_inner_content', 'my_um_loggedin_inner_content_without_kses', 10, 2 );

    Thank you for commenting to provide the solution! It corrects both the image alignment issue and the missing iframe issue.

    • This reply was modified 5 months, 1 week ago by sirlouie.

    I confirm that this code in functions.php solved my alignment problem and some other layouts (table presentation).

    Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.