soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

Shortcode Not Processing (Mailpoet) #1785

Closed jeffhuen closed 3 years ago

jeffhuen commented 3 years ago

Describe the bug The shortcode provided by Mailpoet's plugin does not process while within the Oxygen Builder. The shortcode, however, will fire if not using Oxygen Builder.

Have you tried all the steps at https://oxygenbuilder.com/documentation/troubleshooting/troubleshooting-guide/? Yes

I have setup one page with the shortcode within Oxygen, and another page with the shortcode no using Oxygen.

Are you able to replicate the issue on a Sandbox install at https://oxygenbuilder.com/try? Yes - you can go straight to the Sandbox's Mailpoet settings page here to try: https://oxygen-qaj9bfmkn3mcl.oxygen-demo.qsandbox.me/wp-admin/admin.php?page=mailpoet-settings#/basics

To Reproduce Steps to reproduce the behavior:

  1. Go to https://oxygen-qaj9bfmkn3mcl.oxygen-demo.qsandbox.me/wp-admin/admin.php?page=mailpoet-settings#/basics

  2. Click on a) Unsubscribe Settings -> Confirmation Page -> "Preview" (this is linked to the page using Oxygen) b) Unsubscribe Settings -> Success Page -> "Preview" (this is linked to the page without Oxygen)

  3. See error a) On the page using Oxygen - you will see it just renders the shortcode as text [mailpoet_page][/mailpoet_page] b) On this page without Oxygen - the shortcode processes and displays the following "Accidentally unsubscribed? Manage your subscription"

[Screenshorts attached] no-oxygen mailpoet-settings with-oxygen

Expected behavior The shortcode should process, not display as the shortcode's text

What actually happens Oxygen just renders the shortcode as text

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

KittenCodes commented 3 years ago

@jeffhuen I added the Mail Poet shortcode to the WordPress editor and then inserted it into Oxygen using dynamic data in a text element. You can now see the Unsubscribe text on the front-end of the site.

I wasn't able to get it to work in any other way.

yossigolan commented 3 years ago

@KittenCodes Thanks for sharing - This workaround works great.

And to the developers - That is still a bug.

cubistico commented 8 months ago

Why has this bug been closed? It seems it's still a bug.

Unfortunately, I don't quite understand how to apply the work-around in this comment. Can someone please give step-by-step instructions?

MaximeStarssed commented 7 months ago

According to Mailpoet support (March 18, 2024), the bug is still there. They even invited me to follow this thread about the bug.

cubistico commented 7 months ago

@MaximeStarssed Can you please ask your support contact why they ask you to subscribe to an issue that they have closed and obviously do not plan to fix?

MaximeStarssed commented 7 months ago

@cubistico It was Oxygen Builder support that closed the thread, not Mailpoet support. And Maipoet support invited me to sign up, as I asked to be informed when the problem was solved.

cubistico commented 7 months ago

Oh I see. My bad. So it’s confirmed to be an Oxygen bug? How come all shortcodes work except this one? That‘s what confuses me.

arsh999cg commented 7 months ago

@cubistico It was Oxygen Builder support that closed the thread, not Mailpoet support. And Maipoet support invited me to sign up, as I asked to be informed when the problem was solved.

Have you tried to put the shortcode in just a text element, not an shortcode element, I've done that also for Forminator form and some other plugins that are not doing well with shortcode element.

jeffhuen commented 7 months ago

Try running the shortcode using php like

echo do_shortcode('[your_shortcode]');

On Tue, Mar 19, 2024 at 7:58 AM Mohammad Arshad @.***> wrote:

@cubistico https://github.com/cubistico It was Oxygen Builder support that closed the thread, not Mailpoet support. And Maipoet support invited me to sign up, as I asked to be informed when the problem was solved.

Have you tried to put the shortcode in just a text element, not an shortcode element, I've done that also for Forminator form and some other plugins that are not doing well with shortcode element.

— Reply to this email directly, view it on GitHub https://github.com/soflyy/oxygen-bugs-and-features/issues/1785#issuecomment-2007412297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYI4RD3WERFNRMYAYVOVWLYZBHC3AVCNFSM4VAQKMRKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBQG42DCMRSHE3Q . You are receiving this because you were mentioned.Message ID: @.***>

--

_

This email and any attachments may be confidential, privileged or otherwise exempt from disclosure under applicable law. No confidentiality or privilege is waived or lost by any transmission errors. This communication is intended solely for the intended recipient, and if you are not the intended recipient, please notify the sender immediately, delete it from your system and do not copy, distribute, disclose or otherwise act upon any part of this email communication or its attachments. _