🇺🇸United States @xenophyle

Account created on 2 December 2009, almost 15 years ago
#

Merge Requests

Recent comments

🇺🇸United States xenophyle

Yes, this doesn't work. The labels set do not appear in the form.

🇺🇸United States xenophyle

This change is included in the new release 3.0.0.

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

Great tip! I just updated 2.x-dev with a change I think should fix this. Do you want to see if it helps?

🇺🇸United States xenophyle

Using these steps, I was not able to reproduce the problem; I was still seeing the full set of options for email address.

-Install Mailchimp 2.2.2 on a standard Drupal install of 10.3
-Enable Mailchimp and Mailchimp Audiences
-Authenticate with OAuth
-Create a subscription field on users
-Set email address merge field to the user email property
-Update to Mailchimp 2.2.4 and clear caches

Is there any additional information you might be able to supply? Are you using any patches?

🇺🇸United States xenophyle

Are you able to experiment with 2.2.4 to see if that fixes it?

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

What if you go to the "Manage form display" page and change the widget of the subscription field to "subscription form"?

🇺🇸United States xenophyle

I updated the MR to check that $instance->getValue()['interest_groups'] is an array since $groups_default will be passed to a function that expects an array.

Do you want to verify that this works on your installation?

🇺🇸United States xenophyle

But what about other entity types or custom routes? These are surely rare but I don't want to break existing installations if someone needs to resave the form, and their destination page is no longer allowed by the field.

🇺🇸United States xenophyle

@matthiaso

Here is the expected behavior
- 'Require subscribers to Double Opt-in' is selected for a form on the Drupal site
- A site visitor subscribes using this form
- The subscription status at Mailchimp is set to 'pending'
- Mailchimp (not the Drupal site) sends a confirmation email to the subscriber
- The subscriber confirms
- The subscription status at Mailchimp is set to 'subscribed'

When I was testing this I found that the confirmation email went to the spam folder.

🇺🇸United States xenophyle

Are you also using 2.2.2? If so, can you try the latest version?

🇺🇸United States xenophyle

@zann1e Are you still having this problem, and are you still on 8.x?

🇺🇸United States xenophyle

Finally got to this! Thanks for the MR.
When I tried the steps to test it actually did send me a confirmation email (went to spam) but it is best to just keep a subscribed email as subscribed.

🇺🇸United States xenophyle

This looks like it would only work when the destination page is a node, specifically a basic page. This would probably cover most use cases but would cause a problem for the odd site whose destination was another type of entity or custom route.

🇺🇸United States xenophyle

I could not reproduce this. It looks like part of the steps to reproduce would be to install and set up simplenews some way?

🇺🇸United States xenophyle

Based on a web search of this phrase, this is an issue on the Mailchimp end of things and isn't related to the module.

🇺🇸United States xenophyle

Are you seeing it on any other "Add field" pages, for example, on the node "Add field" page?

🇺🇸United States xenophyle

If you save the settings the message should go away when you view the form again.

🇺🇸United States xenophyle

Merged MR 88 because it applied to the dev branch.

🇺🇸United States xenophyle

xenophyle changed the visibility of the branch 3143873-add-email-autocomplete-attribute to active.

🇺🇸United States xenophyle

Thanks for your contribution, but we have asked Intuit to provide the graphic so we can be sure it meets their preferences.

🇺🇸United States xenophyle

Do you have a folder vendor/thinkshout/mailchimp-api-php? This should be downloaded when you run composer require drupal/mailchimp:^2.2 or composer install any point after that.

Have you verified that the latest version of the mailchimp module has been downloaded to your installation?

When and where are you seeing the notice about package mailchimp/mailchimp? That should not be needed at all.

🇺🇸United States xenophyle

Marking as fixed. Please reopen if this is not accurate.

🇺🇸United States xenophyle

This looks good, I think. Is it correct to say this will not cause any hiccups on an existing installation that currently uses the cache, the code will simply see the collection is empty and fill it?

🇺🇸United States xenophyle

Yes, we can definitely reduce the severity.
As far as reducing the frequency, are you using any kind of captcha?

🇺🇸United States xenophyle

This looks like an error you would get when autoloading is not getting triggered. If clearing the cache does not fix this, you might consider using composer, which handles autoloading, as suggested on the Ludwig project page.

🇺🇸United States xenophyle

Do you think you could add a setting to make this non-logging optional?

🇺🇸United States xenophyle

@Matt B The scope has crept to include other merge data besides email, which has drawn this out into a major project. There is an MR in progress that needs testing and review.

🇺🇸United States xenophyle

Looks like WebhookHashTest needs updating since the hash now gets set upon installation.

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

Ok, makes sense.

Some things to test
- Does this work on a signup form implemented as a page rather than a block?
- Does it work with signup forms that submit with AJAX?
- I'm guessing you tested this but I'm not familiar with the UUID Interface -- are the UUIDs the same for each instance, e.g., if you place a block in the footer on multiple pages will the UUID stay the same across pages, and across installations, for example both on a dev and live site?

There are some changes that look like they may not be central to this fix, like removing the constructor for the subscribe block and using setMessenger. If they are not required for this ticket they should be put in a separate issue to keep this fix easier to understand.

Thanks!

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

Tests no longer failing for 2.x

🇺🇸United States xenophyle

Hi dj1999,

In MailchimpSignupPageForm::buildForm()

      '#attributes' => [
        'id' => 'mailchimp-signup-submit-' . $this->getFormId(),
      ],

for the submit ID might be a simpler solution. Can you check if this serves your purposes?

🇺🇸United States xenophyle

@MegaChriz Might as well make translatable strings a new issue.

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

Duplicate of 🐛 Signup form labels are hidden Postponed: needs info

🇺🇸United States xenophyle

I don't think this formatting is coming from the module. Might any of your active themes apply this formatting to input labels?

🇺🇸United States xenophyle

I've been working on this and hope to have a fix soon.

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

I'm thinking this won't work when the email address is on a referenced entity. So you have a content type with the mailchimp subscription field and maybe a reference to a user. The subscription field uses the user's email field. If the user entity gets updated, this module won't notice and be able to unsubscribe the old email.

Or does anyone have that working?

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

🇺🇸United States xenophyle

Do you think we should go forward with this even if it might exclude some non-entity-reference fields that should not be excluded? Are we feeling biased toward action?

🇺🇸United States xenophyle

xenophyle made their first commit to this issue’s fork.

Production build 0.71.5 2024