graichura
Forum Replies Created
-
Hi @nicw
I actually tried using CSS before actually submitting the initial support request. Unfortunately, if we use CSS to remove that drop-down list and only have the checkbox available for selection, what happens is that the user does not actually get subscribed. Behind the scenes in MailPoet, the list shows the user as unconfirmed status.
Therefore, even if the checkbox shows as selected, it falsely leads a user to believe they are subscribed, and then for admin, they are shown as not verified.
One option for the shortcode if your team can make changes to it could be to remove the drop-down list and replace it with a radio button next top each list to include following options:
Opt-in
Opt-out
Then if the shortcode is includes logic so that any user who is ‘unconfirmed’ behind the scenes, then it shows as Opt-Out by default.Alternatively, if your team can create a simple shortcode to show the current subscriber status only, with nothing else, I can use the alternative approach with suretriggers as previously mentioned.
Be great to hear what can be done.
Thanks
Hi @geraltrivia,
As the site is based on subscription, in order for a user to subscribe to the website, they need to first sign-up as a purchase via the surecart checkout process. The checkout has pre-defined products that I have setup for subscription access that are integrated with suremembers, which enables content access rights accordingly by each access level.
During the checkout purchase process there is no option for the user to opt-in for newsletter as it is too early and would disrupt the checkout process.
When the user makes the purchase to a subscription (free or otherwise), they are redirected to a Customer Dashboard area that is enabled by checkout provider. This is the page where they provide a block for user to update their details such as first name, last name and email. There is no newsletter opt-in module provided in this dashboard.
Therefore, I have added the shortcode from MailPoet for this page, which is in-effect their personal page where they also can update other preferences and see content related to their subscription level.The problem at the moment is that the shortcode added, along with instructions as per screenshot shared with you to update newsletter preferences, defaults to showing a drop-down status of Subscribed.
The only way the shortcode block works from mailpoet, is if the user follows the instructions I personally added, selects the newsletter checkbox, then selects subscribe, then selects update.
Since it does not work, I tested another way that could allow them to subscribe, which is to instead remove your shortcode and instead introduce a radio button to subscribe or unsusbcribe according to their preferences, only instead, we use sureTRIGGERS to either subscribe them or unsubscribe them from the newsletter and it will work.
BUT the problem with the hack mentioned above to use sureTRIGGERS, is that I do not have a way to show the user that right now when the user first lands on the Customer Dashboard page, that they are unsubscribed from the newsletter.
SO, I was asking if there is any way you can provide a new shortcode that I can use on this page that simply only shows their current subscriber status and nothing else.
THEN I can add the radio button with sureTRIGGERS to get them subscribed, since they will see straight away they are not yet subscribed.
Hope this makes sense.
Use this one:
https://quickforget.com/s/f48d3dbaa5fb55ef5a195937e49c63d8403b6debd8c1d978
Hi @geraltrivia
Link to screenshot of how it currently looks in the dashboard. You will see I have added instructions, since if a user does not follow the instructions, the shortcode will not work the way it’s meant to. The thing is that it shouldn’t need to have instructions.
https://drive.google.com/file/d/1EPGjB6d1uM_26pMSt11qN5R52TL32ke5/view?usp=sharing
Please request access from the link and I will enable it from there. I have blacked-out the email address that is pre-populated in the short-code.
Thanks,
GopeshHi,
The dashboard is there for people who have already signed-up as a customer to the website. In the process of subscribing they need to add their email address.
Once they are in the dashboard as a customer, the shortcode is there to allow them to choose to update their subscription preferences to the newsletter in the dashboard. We do not use the MailPoet setting to automatically opt-in the user to the newsletter in the customer sign-up process. Therefore it’s vital to ensure that the opt-in to the newsletter for customers is explicit and therefore this shortcode should allow them to subscribe or unsubscribe to the newsletter accordingly according to their preferences.
Plugins: SureMEMBERS and sureCART.
Thanks for your response and I look forward to hearing back… I did actually see that post previously but it seems it only works for newsletters and I don’t think it includes subscriber status either.
Best,
GRHi Ramona, as it’s been a few days since I submitted the above, please let me know if your team can help with this issue?
Hi Ramona,
I figured out there was a setting from another plug that was blocking the page from updating. After adjusting it, the form works with a save message.
The shortcode does not seem to work properly. Currently the Status* drop down list that allows the user to select ‘Subscribe’ or ‘Unsubscribe’ does not show the actual subscriber status of users who are unsubscribed. It simply defaults to ‘Subscribed’.
Therefore when the newsletter list checkbox is shown under this Status drop-down field, if a user who is not yet subscribed to the newsletter visits the customer dashboard page with this mailpoet shortcode enabled, it leads them to believe that they are already subscribed to the email newsletter letter list.
This is also the case even if within the mailpoet settings, we have enabled for the user to receive double opt-in email, and also the ‘enable user to sign-up on new wordpress user registration.The way that I thought I could solve this, was to use the code snippet to hide the Status and therefore the user will only see the newsletter list, with the checkbox next to it. However, in this scenario, when the user selects the checkbox only for the newsletter, they get appended behind the scenes in the actual mailpoet list as ‘unconfirmed’.
So at the moment, the shortcode provided for general mailpoet users who have access to your free tool are not really able to make much use of it in a customer dashboard page.
This poses a problem, since if I create a separate newsletter page for the user to sign-up to, they have to add their email address again with a new form and then be redirected to a different thank you page, etc, which ruins the user experience.
It also means that when an existing member signs-up in this way, it adds to the mailpoet user count restriction in the free tool.I thought I had a possible solution to resolve part of this issue by using the sureTRIGGERS plugin, which mailpoet have recently integrated with. However, the reason this cannot be used at the moment is that I do not know how to show members in the customer dashboard page their current actual newsletter subscriber status.
Is there a separate shortcode you can provide just that displays current newsletter subscriber status? If I can dynamically pull the current subscriber status (based on the user’s email address), then I can create an opt-in, opt-out form and connect it to sureTRIGGERS to solve the problem.
Best,
GRHi MailPoet Team,
Coming back to this request, which I thought I’d resolved last night… On further testing, the [mailpoet_manage_subscription] shortcode that I have implemented on the new customer dashboard page only seems to work for me as a site admin, when I am testing the functionality from a desktop computer.When I change preference from subscribe to unsubscribe and vice versa, I get a success message appearing the same block and it works as it should do, without redirecting to another page or anything. It also updates the user status in the mail poet users lists too.
However, on testing with people who sign-up to the site (non-admin) and then try to adjust their newsletter subscriber preferences via this shortcode block, they are redirected to a 404 page. This has been tested on apple phone, ipad and laptops, all with the same issue 404 redirect.As part of this shortcode block, I have also implemented the following code snippet to remove a couple of fields from being display as follows:
<?php add_filter( 'mailpoet_manage_subscription_page_form_fields', 'mp_remove_manage_fields', 10); function mp_remove_manage_fields( $form ) { unset($form[0]); // First Name unset($form[1]); // Last Name return $form; }
Can you help resolve the issue?
Thanks,
GRThis is now resolved – thanks
Hi Kasia,
I spoke to my web host and found a way to sync back the code from the staging site update to production site and it now all seems to work ??
Thanks to you and the rest of the team for helping to resolve this – It’s greatly appreciated!
All the best,
GopeshHi Adam,
I updated the code in the staging site and it worked there.
When I copied the same code into the actual site smoothmind.com, and also after flushing the cache, clearing cookies, etc, I continue to get the same error as per screenshots:https://drive.google.com/file/d/1pxtPvRBFpCnwB6gkYOeeMmGKmdj-cpuo/view?usp=sharing
https://drive.google.com/file/d/1uLawd03KuCjxcTCDDgTiXCZIb6hMluQ4/view?usp=sharing
Is there something different I need to do, in order to get your code working on the main site, rather than staging?
Thanks,
GopeshHi Nithin,
Your help to escalate this back to your dev team is greatly appreciated. Also, sureMEMBERS have offered their support to help remediate this clash between the plugins. So, if your dev team can provide a solution to fix, or advise alternatively what they need from sureMEMBERS to facilitate a resolution, sureMEMBERS should be able to respond accordingly.
All the best,
Gopesh