We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

SL Freshview Subscribe v1.4.0 : Now fully compatible with Solspace's User module

Development and Programming

Geoff Towle's avatar
Geoff Towle
330 posts
16 years ago
Geoff Towle's avatar Geoff Towle

Stephen-

Turns out to be user (my) error. I thought I was capturing first and last name using the CM signup form, but it’s actually just a “name” field - and everyone so far has coincidentally entered their first and last names.

And I follow you on the client API ID. Seems that CM should come up with a way to provide more “privacy” in that regard. I’ll send a feature request.

Thank you for your reply.

Geoff

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi Geoff,

Glad you got it sorted. My understanding of CM is that it’s essentially a white-label service that designers can offer their clients. As such I’m not sure whether “privacy” is an issue, or a client API ID makes any sense. Still I’m sure you’ll find out what the CM guys think about it pretty soon 😉

Cheers, Stephen

       
Geoff Towle's avatar
Geoff Towle
330 posts
16 years ago
Geoff Towle's avatar Geoff Towle

Stephen-

Someone has already brought it to their attention, and they’re listening! 😊

http://www.campaignmonitor.com/forums/viewtopic.php?pid=8303#p8303

Thanks.

Geoff

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi Geoff,

Thanks for the update. Let me know once the feature has been implemented, and I’ll look into incorporating it into the extension.

Cheers, Stephen

       
fogcity's avatar
fogcity
260 posts
16 years ago
fogcity's avatar fogcity

Hello Geoff, and thanks for writing what is potentially an incredible time-saving extension for EE!

I’ve installed the latest (1.2.2) extension (on my ee v1.6.7), set up and confirmed a new acct with campaignmonitor, created a (single opt-in) mailing list, generated an API key and then entered it into my freshview settings. The extension is able to find my client, mailing list, and custom field info. So far so good.

However, when I subscribe to a mailing list via EE, the new member is not added to my campaignmonitor mailing list.

I do get a confirmation email from EE; after I click the confirmation link, I can return to EE’s CP and confirm the new subscriber info is there. But when I go to campaignmonitor and log into my account there, the mailing list remains empty.

Do I need to set up a credit card for my CM acct in order for this to work? Haven’t tried sending emails yet, just trying to get subscription to work…

       
Geoff Towle's avatar
Geoff Towle
330 posts
16 years ago
Geoff Towle's avatar Geoff Towle

fogcity-

Just a quick note to let you know that I didn’t write this extension. Steven Lewis did, and I’m sure he’ll get to your question.

Geoff

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi fogcity,

Do I need to set up a credit card for my CM acct in order for this to work? Haven’t tried sending emails yet, just trying to get subscription to work…

I don’t believe so.

Some questions for you: 1. Can you add subscribers to your CM mailing list manually (i.e. via the CM control panel)? 2. Do you have any “trigger fields” set up in the SL Freshview Subscribe extension? 3. Do you have any other extensions running that might cause a conflict; anything else related to member registrations? 4. If you answered “Yes”, “No”, and “No”, can you provide me (via IM) with login details, so I can try to track down the problem?

Cheers, Stephen

       
vinci's avatar
vinci
85 posts
16 years ago
vinci's avatar vinci

What a great extension! thanks to the developer and all who have been helping along the way.

I have two issues I have noticed: The first is that, for some reason, when assigning CM fields to custom member fields I have one field which refuses to save. Its a text field and in both CM and EE. The field name is ‘city’ and the the CM name is ‘city’. No idea why this is happening. I might have to change it manually in the database.

Secondly I have created an extension to implement a multiselect as a member profile field. I was wondering how I could hack the freshview extension to send a post array to CM?

I think it would need a change here, in the subscriberAddWithCustomFields function

$_fields = array( 'SubscriberCustomField' => array() );
        foreach ( $fields as $k => $v )
        {
            if ( is_array( $v ) )
            {
                foreach ( $v as $nv )
                    $_fields['SubscriberCustomField'][] = array( 'Key' => $k, 'Value' => $nv );
            }
            else
                $_fields['SubscriberCustomField'][] = array( 'Key' => $k, 'Value' => $v );
        }
       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi vinci,

The first is that, for some reason, when assigning CM fields to custom member fields I have one field which refuses to save. Its a text field and in both CM and EE. The field name is ‘city’ and the the CM name is ‘city’. No idea why this is happening. I might have to change it manually in the database.

When you say it “refuses to save”, do you mean it won’t save the custom member field, or it won’t post the data to CampaignMonitor? If it’s the former, have you tried disabling the extension, to see if there’s still a problem?

Secondly I have created an extension to implement a multiselect as a member profile field. I was wondering how I could hack the freshview extension to send a post array to CM?

There seems to be some confusion about this on the CM forums, so I could be wrong, but from what I understand you don’t need to (indeed you can’t) send an array to the API method. Instead, you send a comma-delimited string of your chosen options.

The values in that string would need to be the values CM applies to each of the options in the multi-select list (you can get these from the CM-generated sign-up form).

In terms of hacking the extension, that’s probably not the best option. You’re better off writing a separate extension that hooks into member_member_register (for a non-email confirmation site) or member_register_validate_member (for an email-confirmation site), and has a higher priority than this extension.

You can then do whatever pre-processing is required, perhaps by saving your multiple options to a never-displayed custom member field as a comma-delimited string (that “hidden” member field being the one which is linked to your CM custom field).

I have no idea how you’ve got things working at the moment, so there may be a simpler way to accomplish this, but off the top of my head the above seems like a reasonable solution.

Hope that helps.

Cheers, Stephen

       
adro's avatar
adro
110 posts
16 years ago
adro's avatar adro

Hi there, amazing extension…Hoping someone can help me out…I’m using a standalone registration form and I want to be able to have the “Subscribe to our monthly newsletter?” drop-down (or checkbox is possible) appear on the standalone registration form…How do I do that?

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi adro,

I’m using a standalone registration form and I want to be able to have the “Subscribe to our monthly newsletter?” drop-down (or checkbox is possible) appear on the standalone registration form

I’m not sure what you mean by “a standalone registration form”, but I’ll plough on regardless…

Assuming you’ve set up your custom profile field to act as a subscription “trigger” (see the docs for details of how to setup the extension), and you’re adding custom profile fields to your form manually, you’ll need the profile field ID (see attached image).

Assuming the field ID is “1”, and you’re expecting a value of “yes” in the custom profile field, your form code would look something like this:

<label>
<input type="checkbox" id="m_field_id_1" name="m_field_id_1" value="yes">
Subscribe to our monthly newsletter?
</label>

Hope that helps, Stephen

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hello all,

Version 1.4.0 is out. Here are the changes:

  • Implemented support for User module on sites that don’t require member activation.
  • Added bash script to create symlinks.
  • Fixed a minor JavaScript bug, when displaying the available values for a custom member field of type “Drop-down”
  • Fixed a silly error introduced in the previous version, that was affecting simultaneous subscriptions to multiple mailing lists (apologies for this one).

Cheers, Stephen

       
juro's avatar
juro
118 posts
16 years ago
juro's avatar juro

Hi, thank you VERY MUCH for this extension. The biggest limitation for us using EE’s standard newsletter functionality was the limited number of personal information we could store in the form, so we used Freeform to capture all the data, export the CSV and import it into CM (which is a pain …).

Judging from your last post it is now possible to get guests (as opposed to members) to subscribe to newsletters - where/how do I create the form? Do I use the standard member register form?

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Hi juro,

Judging from your last post it is now possible to get guests (as opposed to members) to subscribe to newsletters - where/how do I create the form? Do I use the standard member register form?

This extension has one very specific function; it enables you to automatically, or conditionally, add a new member of your EE site to one or more CampaignMonitor mailing lists.

From the sound of it, the standard CampaignMonitor signup form will fulfill your requirements just fine.

Cheers, Stephen

       
Bluestrike2's avatar
Bluestrike2
39 posts
about 16 years ago
Bluestrike2's avatar Bluestrike2

Hi,

I’m having a bit of difficulty getting subscribers to show up in CM. User, latest version, is powering member, well, everything on the site in question. I haven’t tried it with new registrations as of yet, but my question to you is, does it add all those who match the trigger field retroactively? Or is it only going forward?

       
First 5 6 7 8 9 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.