1 of 6
1
SL Freshview Subscribe v1.2.2 : Now with support for sites that don’t require membership self-activation
Posted: 19 September 2008 06:03 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  293
Joined  03-21-2006

Version 1.2.2 : Released 27th May, 2009
* Minor tweak to make everything play nicely with PHP4.

Version 1.2.1 : Released 12th May, 2009
* Fixed bug related to CampaignMonitor accounts containing a single Client, or a single List.
* Improved error messages.

Version 1.2.0 : Released 22nd April, 2009
* Added support for sites that don’t require member self-activation via email (as set on the Membership Preferences screen). The extension automatically detects the membership preferences, and takes the appropriate action.
* Implemented a “Disable Extension” button in the top-right of the extension settings screen.

Version 1.1.0 : Released 14th April, 2009
* Implemented full support for custom fields on a list-by-list basis.
* Custom Profile Fields now appear as a drop-down list, instead of an uninviting text field.
* Underlying code completely rewritten. All the API querying is now handled by PHP—meaning we can kiss goodbye to the JavaScript-PHP proxy file nonsense—and CampaignMonitor’s PHP “helper” class is used for all the donkey-work.
* Moved minimal remaining CSS and JavaScript out of separate files.
* Far too many little improvements and tweaks to list.
* Oh yes, and finally got around to adding a change log.

—-

Hello all,

SL Freshview Subscribe makes it easy to subscribe new members of your ExpressionEngine-powered website to one or more CampaignMonitor mailing lists. Here are a few of the highlights:

* Automatically add a member to one or more mandatory mailing lists.
* Specify “opt-in triggers” to allow a member to control which lists he is added to.
* Associate custom ExpressionEngine member profile fields with custom CampaignMonitor fields on a list-by-list basis.

Simply enter your CampaignMonitor API key, configure your mailing lists, and the extension does the rest.

You can download the extension from my site, which also includes full installation and usage instructions.

Support is provided via this thread.

Cheers,
Stephen

 Signature 

Stephen Lewis | Award-winning web design, with a 110% money-back guarantee.

Profile
 
 
Posted: 19 September 2008 04:30 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  473
Joined  03-18-2007

This looks great, thanks for putting it together!

 Signature 

Follow me on Twitter: twitter.com/mrw

Profile
 
 
Posted: 20 September 2008 07:39 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  293
Joined  03-21-2006

No problem, I hope you find it useful.

Stephen

 Signature 

Stephen Lewis | Award-winning web design, with a 110% money-back guarantee.

Profile
 
 
Posted: 22 September 2008 01:59 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  740
Joined  10-14-2005

Wow, this is excellent, can’t wait to try it. I certainly have a lot of clients that will benefit from it. smile

 Signature 

Nathan Pitman - Nine Four

Follow me on Twitter - Try my EE plug-ins and extensions

Profile
 
 
Posted: 23 September 2008 09:41 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  72
Joined  05-12-2007

I think a lot of people are going to come to your house to thank you.
There have been so many requests for this plugin!

Thanks Stephen!
Vincent

Profile
 
 
Posted: 25 September 2008 04:31 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-13-2007

dude… awesome.. thanks man!

Profile
 
 
Posted: 02 October 2008 07:05 PM   [ Ignore ]   [ # 6 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1792
Joined  01-05-2007

Fantastic!

Now is there a way of opting in/out at the EE registration stage? If not then perhaps it can work in conjunction with Solspace’s User module?

 Signature 

 
Steven Hambleton | Follow me on Twitter!


ExpressionEngine Outsourcing for Web & Graphic Design Agencies

Profile
 
 
Posted: 09 October 2008 10:45 AM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  293
Joined  03-21-2006

Now is there a way of opting in/out at the EE registration stage? If not then perhaps it can work in conjunction with Solspace’s User module?

Apologies for the slow response, for some reason I wasn’t be notified of new comments to this thread.

At present there’s no way of opting in/out of the mailing lists at the registration stage, because the user isn’t added to the mailing list until he confirms his registration with the site by clicking on the link in the “confirm your subscription” email.

Off the top of my head, I suppose you could store the opt in information in a custom member field, and then retrieve it at confirmation time… that would require a bit more faffing during implementation though. I’ll have a think about how this could be implemented without making the extension a pain to use—please feel free to chime in with any suggestions.

I’m not particularly familiar with Solspace’s User module at present, although I have used in on a couple of projects. That’s something else I’ll have to get back to you about…

Best Regards,
Stephen

 Signature 

Stephen Lewis | Award-winning web design, with a 110% money-back guarantee.

Profile
 
 
Posted: 15 October 2008 09:40 AM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  33
Joined  08-12-2007

Looks great! thanks for sharing this, I can’t wait to try it.

Profile
 
 
Posted: 16 October 2008 07:26 AM   [ Ignore ]   [ # 9 ]  
Summer Student
Total Posts:  19
Joined  03-18-2007

Awesome.  Simply awesome.  Thanks Stephen!

Note: It wouldn’t fire on my PHP4 server (can’t check for the SOAP module at the mo), but worked like a dream on my PHP5 box.

Looking forward to seeing if anyone works out the opt-in functionality - user administration is such a pain in the rear end.

Profile
 
 
Posted: 23 October 2008 12:39 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  226
Joined  08-03-2007

Can someone explain how to determine the API URL for Campaign Monitor?

Is the default http://app.campaignmonitor.com/api/api.asmx?wsdl

If not, how do I determine my correct API URL?

Thanks,
Paul

 Signature 

Paul Burton | 16toads Design

Profile
 
 
Posted: 23 October 2008 01:08 PM   [ Ignore ]   [ # 11 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  226
Joined  08-03-2007

Hey Guys,  this is related to a post in the tech support section, but the long and short of it is ... this extension is causing an error and I don’t know if it relates to an incorrect API URL.

When a user clicks on the link in the activation email sent by the system, the link takes the user to a blank page.  No notification appears stating “your account has been activated” - which means no link to the specified landing page.

Click the link in the email a second time and you get the expected “Invalid activation request” error.

A check of the members list verifies that the new account has been activated.

Disable the extension and the “your account has been activated” message reappears.

Any thoughts?

Paul

 Signature 

Paul Burton | 16toads Design

Profile
 
 
Posted: 23 October 2008 04:50 PM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  473
Joined  03-18-2007

Try the URL without the WSDL:

http://app.campaignmonitor.com/api/api.asmx

 Signature 

Follow me on Twitter: twitter.com/mrw

Profile
 
 
Posted: 24 October 2008 12:17 PM   [ Ignore ]   [ # 13 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  226
Joined  08-03-2007

Thanks, that solved the conflict with the “account activation thank you” page.

However, I’ve spent the past hour unsuccessfully trying to fire new registrations to both my Campaign Monitor account and Mailbuild account (individually).

All the account info is correct.  None of the test registrations have populated the selected list in either CM or MB.

BTW - Server is running PHP5 and my host confirmed PHP SoapClient is installed.

 Signature 

Paul Burton | 16toads Design

Profile
 
 
Posted: 24 October 2008 02:34 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  473
Joined  03-18-2007

It may be beneficial to see where the problem is. How good is your php? Can you create a php script (on another server, so you know you’re recreating the setup) that writes to a log file everytime it’s POSTed to with the data? Then change the extension to use that URL, and test it.

If your log file gets written to at least you know your requests are leaving the server—then maybe there’s a syntax error in the POST or some other issue.

 Signature 

Follow me on Twitter: twitter.com/mrw

Profile
 
 
Posted: 24 October 2008 02:42 PM   [ Ignore ]   [ # 15 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  226
Joined  08-03-2007

How good is your php?  No idea.

Can you create a php script?  Nope.  Not a PHP guy.

and, I only have access to one server.

 Signature 

Paul Burton | 16toads Design

Profile
 
 
Posted: 28 October 2008 06:02 PM   [ Ignore ]   [ # 16 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  293
Joined  03-21-2006

Hi Paul,

Sorry for the slow response; as I mentioned above, for some reason I’m not being notified when people post to this thread.

Excuse an obvious first question, but is the CampaignMonitor / MailBuild list that you’re adding members to single opt-in?

Stephen

 Signature 

Stephen Lewis | Award-winning web design, with a 110% money-back guarantee.

Profile
 
 
Posted: 28 October 2008 06:08 PM   [ Ignore ]   [ # 17 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  226
Joined  08-03-2007

Yessir, both have been quintuple checked to verify they are indeed single opt-in.

 Signature 

Paul Burton | 16toads Design

Profile
 
 
Posted: 28 October 2008 07:38 PM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  293
Joined  03-21-2006

Yessir, both have been quintuple checked to verify they are indeed single opt-in.

Ok, I’ve knocked together a quick bit of PHP to try and shed some light on matters. Here’s what you need to do…

Unzip the attached file, and upload it to your web server. Navigate to it in a browser, enter the requested details, and submit the form. The test script will attempt to add a subscriber to your mailing list, in the same manner as the extension does.

If things don’t work as planned, we need to find the source of the problem.

To this end, I’ve also uploaded the test script to my server. Once again, enter the requested details, click submit, and see what happens; if it works fine on my server, but not on your server, we can be pretty sure that it’s a server problem.

If it doesn’t work in either location, it may be something to do with the mailing list itself—try creating a new list, and running through the test scripts again.

If all of the above fails, post the error message you get from the test script, and I’ll try to get to the bottom of things.

Hope that helps.

Cheers,
Stephen

File Attachments
sl_freshview_subscribe_test.php.zip  (File Size: 3KB - Downloads: 156)
 Signature 

Stephen Lewis | Award-winning web design, with a 110% money-back guarantee.

Profile
 
 
   
1 of 6
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 77577 Total Logged-in Users: 39
Total Topics: 101563 Total Anonymous Users: 15
Total Replies: 544414 Total Guests: 233
Total Posts: 645977    
Members ( View Memberlist )