CampaignMonitor Sidebox Support Thread
To download CampagnMonitor Sidebox v1.0, go to
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1239
CampaignMonitor Sidebox lets customers sign up for your CampaignMonitor-enabled newsletter by entering their e-mail address in to a sidebox on your store. CampaignMonitor is developer- and designer-friendly, and costs USD $5.00 per campaign sent, plus USD $0.01 per recipient. To sign up for CampaignMonitor, go to http://campaignmonitor.com.
Installation instructions are in the README that comes with the download. No file overwrites or needed: it should be impossible for this module to break your store, but you should always be careful and back up your store for the addon you install after this one.
You can also download CampaignMonitor Sidebox at http://lukemcreynolds.com/software/z...zen_cart_v1.0/, and view the README file online by clicking here.
Please use this support thread if you have any questions, can't get the addon to work, or need some help.
Re: CampaignMonitor Sidebox Support Thread
Hi Luke,
I have installed the side box ok but each time someone subscribes I get "0 Success" appearing above the box?
It looks like some form of debugging message. I've looked in 'tpl_campaignmonitor_sidebox.php' and this is the closest I can find to tracking it...
//Set the next line, CURLOPT_NOBODY, to 0 to enable debugging.
curl_setopt($ch, CURLOPT_NOBODY, 1);
Is this related? If so shouldn't the '1' disable debugging?
Thanks
d.
Re: CampaignMonitor Sidebox Support Thread
Hi deko,
I'll take a look at it this weekend, and get back to you as soon as I can.
Re: CampaignMonitor Sidebox Support Thread
Hi Deko,
I'm going to re-write the sidebox to use the official CampaignMonitor PHP API. They came out with a new version of it shortly after I published the first version of the CampaignMonitor Sidebox.
I'll post on here once I've done that. I'll be able to do it within the week, hopefully.
Luke
Re: CampaignMonitor Sidebox Support Thread
Sorry Luke, I seem to be creating more work for you :)
I see Rob from FWR Media is reworking his oscommerce version too.
http://forums.oscommerceproject.org/...?showtopic=362
thx
d.
Re: CampaignMonitor Sidebox Support Thread
Oh no, no worries - this is just a personal project of mine. I learn best by doing.
Re: CampaignMonitor Sidebox Support Thread
Alright Deko,
I'm in the process of making a new release, but here's a quick fix for you. It involves just two line changes.
In includes/templates/template_default/sideboxes/tpl_campaignmonitor_sdebox.php, change line 20 from
Code:
//Set the next line, CURLOPT_NOBODY, to 0 to enable debugging.
to
Code:
//Set the next line, CURLOPT_RETURNTRANSFER, to 0 to enable debugging.
And on line 21, change
Code:
curl_setopt($ch, CURLOPT_NOBODY, 1);
to
Code:
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
That should do it. Let me know if you're having any more problems. Future releases will actually use the curlopt codes to display meaningful information, but I haven't done that yet.
Re: CampaignMonitor Sidebox Support Thread
Thanks Luke!
I'll test this in the next couple of days, currently looking into email marketer from interspire for larger lists.
d.
Re: CampaignMonitor Sidebox Support Thread
Thanks for this excellent mod, Luke ! Could you please explain a bit more why customer cannot unsubscribe in this box and must click on the link in an email?
But my main purpose of bumping this thread is to include the keywords "Campaign Monitor" so that I can find it easily later on...
Would be great if you could add the link of this support thread to the module downlode page :)
Thanks again, can't wait to try it out !
:)
Re: CampaignMonitor Sidebox Support Thread
Hi Shirster,
Customers can't unsubscribe using this sidebox because I haven't built it to do that yet! I make a living doing web development, and one of the things I like to do in my spare time is make the software I use slightly better for myself and everyone else. Once I get a little bit of free time, I'll post an updated version - an anniversary version, perhaps, considering the most recent version of this sidebox came out almost a year ago. Subscribe to this thread if you want to know when I finish it. :-)
Oh, and I'll see if I can add a link to this thread in the official ZC download page here: http://www.zen-cart.com/index.php?ma...oducts_id=1239
There should be a link to this thread in the readme as well.
Luke