<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ActiveCampaign Blog &#187; integration</title>
	<atom:link href="http://www.activecampaign.com/blog/tag/integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activecampaign.com/blog</link>
	<description>ActiveCampaign - Development, PHP, Programming &#38; More...</description>
	<lastBuildDate>Mon, 26 Jul 2010 21:15:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Email Marketing vBulletin Integration</title>
		<link>http://www.activecampaign.com/blog/email-marketing-vbulletin-integration/</link>
		<comments>http://www.activecampaign.com/blog/email-marketing-vbulletin-integration/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 21:55:12 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Email Marketing]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[vbulletin]]></category>

		<guid isPermaLink="false">http://www.activecampaign.com/blog/?p=657</guid>
		<description><![CDATA[We&#8217;ve been hard at work integrating our email marketing software with WordPress, Twitter, Facebook, and now vBulletin.
You can now integrate subscriptions to your newsletters during the vBulletin registration process, so as to not force the user to submit multiple forms. The newsletter subscription will be submitted as soon as the user finishes registering for vBulletin [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top:15px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.activecampaign.com%2Fblog%2Femail-marketing-vbulletin-integration%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.activecampaign.com%2Fblog%2Femail-marketing-vbulletin-integration%2F" height="61" width="51" /></a></div><p><img class="alignnone" src="http://www.mykbsite.com/email-marketing/userimages/article_sub_form_api/1.PNG" alt="" width="174" height="78" align="right" />We&#8217;ve been hard at work integrating our email marketing software with <a href="http://www.activecampaign.com/blog/email-marketing-wordpress-integration/">WordPress</a>, <a href="http://www.activecampaign.com/blog/email-marketing-twitter-integration/">Twitter</a>, <a href="http://www.activecampaign.com/blog/integrate-subscription-forms-with-facebook-pages/">Facebook</a>, and now <strong>vBulletin</strong>.</p>
<p>You can now integrate subscriptions to your newsletters during the vBulletin registration process, so as to not force the user to submit multiple forms. The newsletter subscription will be submitted as soon as the user finishes registering for vBulletin access.</p>
<p><img class="alignnone" src="http://www.mykbsite.com/email-marketing/userimages/article_sub_form_api/ddhrcb9z_79cj9953k7_b.png" alt="" width="350" height="137" /></p>
<p>To include this on your own vBulletin registration form, download our <a href="http://www.activecampaign.com/email-marketing/extend-vbulletin.php">vBulletin plugin</a> and import it as a new product in the vBulletin admin section.</p>
<p>Setting this up involves three quick steps:</p>
<ol>
<li>Create new user profile fields for &#8220;Yes/No&#8221; radio options, and (optional) &#8220;Name&#8221; textbox.</li>
<li>Import the XML file to the Manage Products page in vBulletin admin section.</li>
<li>Fill in your ActiveCampaign Email Marketing details on the vBulletin Options/Settings page.</li>
</ol>
<p>vBulletin users can also manage their subscription(s) to your mailing list(s) directly from their forum account.</p>
<p><img class="alignnone" src="http://www.mykbsite.com/email-marketing/userimages/article_sub_form_api/1.jpg" alt="" width="550" height="76" /></p>
<p><img class="alignnone" src="http://www.mykbsite.com/email-marketing/userimages/article_sub_form_api/2.jpg" alt="" width="550" height="391" /></p>
<p>For more information, additional screenshots, and instructions, visit our <strong><a href="http://www.activecampaign.com/email-marketing/extend-vbulletin.php">email marketing vBulletin integration page</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activecampaign.com/blog/email-marketing-vbulletin-integration/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Subscription Form integration using the API</title>
		<link>http://www.activecampaign.com/blog/subscription-form-integration-using-the-api/</link>
		<comments>http://www.activecampaign.com/blog/subscription-form-integration-using-the-api/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 20:33:33 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Product Updates]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[subscription]]></category>

		<guid isPermaLink="false">http://www.activecampaign.com/blog/?p=561</guid>
		<description><![CDATA[Subscription Forms are excellent ways to promote your newsletter on any website, even Facebook and WordPress sites.
It&#8217;s often tiresome to have to manually update every webpage that you have embedded subscription form HTML on, when any changes are made to the form.
A unique idea might be to use our email marketing API to display a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top:15px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.activecampaign.com%2Fblog%2Fsubscription-form-integration-using-the-api%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.activecampaign.com%2Fblog%2Fsubscription-form-integration-using-the-api%2F" height="61" width="51" /></a></div><p>Subscription Forms are excellent ways to promote your newsletter on any website, even <a href="http://www.activecampaign.com/blog/integrate-subscription-forms-with-facebook-pages/">Facebook</a> and <a href="http://www.activecampaign.com/blog/email-marketing-wordpress-integration">WordPress sites</a>.</p>
<p>It&#8217;s often tiresome to have to manually update every webpage that you have embedded subscription form HTML on, when any changes are made to the form.</p>
<p>A unique idea might be to use our <a href="http://www.activecampaign.com/support/tt/index.php?action=kb&amp;article=506">email marketing API</a> to display a subscription form. This tutorial will briefly walk through how to use PHP and our API to display subscription forms. Then, when changes are made to the subscription form, you no longer have to update every instance of the form across the web!</p>
<p><span style="color: #ff0000"><em><strong>Note:</strong> Please be aware that doing this will cause repeated requests to the external domain, which can slow down sites, especially those with high traffic. This example, more or less, introduces how simple it is to use the API.</em></span></p>
<h2>Obtaining your subscription form ID</h2>
<p>First, visit your Subscription Form page in the admin section, and choose which form you want to display on an external website. Click the &#8220;View&#8221; link next to the subscription form name. Then note the unique number at the end of the URL (in this case, <strong>1001</strong>):</p>
<p><img src="http://www.mykbsite.com/email-marketing/userimages/article_sub_form_api/ddhrcb9z_53c8662wdm_b.png" alt="Screenshot of ActiveCampaign email marketing software" width="552" height="395" /></p>
<p>This is the ID of the subscription form. We&#8217;ll use this in our API call.</p>
<h2>PHP</h2>
<p>In PHP, set up your script to make an API call using the <code>form_view</code> action:</p>
<pre class="brush: php; ">

// Base API path
$path = &quot;http://mysite.com/admin/api.php?&quot;;

// Initialize curl request
$request = curl_init($path . &quot;api_user=admin&amp;api_pass=test&amp;api_action=form_view&amp;api_output=serialize&amp;id=1001&amp;generate=1&quot;);

// Set other curl details
curl_setopt($request, CURLOPT_HEADER, 0);
curl_setopt($request, CURLOPT_RETURNTRANSFER, 1);

// Get the response
$response = (string)curl_exec($request);

// Close curl
curl_close($request);

// Set final result array to variable
$result = unserialize($response);
</pre>
<p>This will go out and obtain the information for form ID 1001, and set it to an array which we can reference easily.</p>
<h2>HTML</h2>
<p>Now you just need to write out the HTML for your subscription form:</p>
<pre class="brush: php; ">

echo $result[&quot;html&quot;];
</pre>
<p>That&#8217;s it! The entire HTML structure of the form can be obtained through a simple API call.</p>
<h2>Improvements</h2>
<p>If you have a few forms you want displayed on various spots around the web, it might be wise to write a function for yourself, so you don&#8217;t have to repeat the <span style="font-family: courier new,courier">curl</span> code for each form you display:</p>
<pre class="brush: php; ">

function ac_api_form_view_html($id)
{
	$path = &quot;http://mysite.com/admin/api.php?&quot;;

	$request = curl_init($path . &quot;api_user=admin&amp;api_pass=test&amp;api_action=form_view&amp;api_output=serialize&amp;id=&quot; . $id . &quot;&amp;generate=1&quot;);

	curl_setopt($request, CURLOPT_HEADER, 0);
	curl_setopt($request, CURLOPT_RETURNTRANSFER, 1);
	$response = (string)curl_exec($request);
	curl_close($request);
	$result = unserialize($response);

	if ($result[&quot;response_code&quot;])
	{
		return $result[&quot;html&quot;];
	}
}
</pre>
<p>Here&#8217;s how you&#8217;d call this function:</p>
<pre class="brush: php; ">

$form_html = ac_api_form_view_html(1001);

echo $form_html;
</pre>
<p>Two lines is not bad!</p>
<h2>Going further</h2>
<p>As mentioned at the beginning, using the API in this manner might result in slower site performance, since your script has to re-request the data each time the page is loaded. It might be wise to cache the subscription form HTML locally, then only re-fetch the updated data at a set interval, such as weekly.</p>
<p>Our <a href="http://www.activecampaign.com/email-marketing/extend-wordpress.php">Wordpress plugin</a> performs the same type of caching, if desired.</p>
<p>Let us know if you have any questions or suggestions for the API.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activecampaign.com/blog/subscription-form-integration-using-the-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Marketing WordPress Integration</title>
		<link>http://www.activecampaign.com/blog/email-marketing-wordpress-integration/</link>
		<comments>http://www.activecampaign.com/blog/email-marketing-wordpress-integration/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 20:11:12 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Email Marketing]]></category>
		<category><![CDATA[email marketing software]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[subscription]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.activecampaign.com/blog/?p=575</guid>
		<description><![CDATA[Our email marketing software lets you embed subscription forms on other sites by simply copying and pasting HTML code.
To make things even easier, we&#8217;ve created a WordPress plugin that lets you display any subscription form on your WordPress site, with just a few clicks.

All of this happens without any copying and pasting. Simply supply your [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top:15px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.activecampaign.com%2Fblog%2Femail-marketing-wordpress-integration%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.activecampaign.com%2Fblog%2Femail-marketing-wordpress-integration%2F" height="61" width="51" /></a></div><p>Our <a href="http://www.activecampaign.com/email-marketing/">email marketing software</a> lets you embed subscription forms on other sites by simply copying and pasting HTML code.</p>
<p>To make things even easier, we&#8217;ve created a WordPress plugin that lets you display any subscription form on your WordPress site, with just a few clicks.</p>
<p><img src="http://www.activecampaign.com/email-marketing/media/wp-screenshot-2.png" alt="Screenshot of ActiveCampaign email marketing WordPress plugin" /></p>
<p>All of this happens without any copying and pasting. Simply supply your email marketing software URL, and login information, and choose what form you&#8217;d like displayed.</p>
<p>The form will then appear in the sidebar of your WordPress site:</p>
<p><img src="http://www.activecampaign.com/email-marketing/media/wp-screenshot-4.png" alt="Screenshot of ActiveCampaign email marketing subscription form on WordPress site" /></p>
<p>It&#8217;s that simple!</p>
<p>You can even opt to request the updated form each time the page is loaded, so any changes you make to the form in your email marketing software will always be reflected!</p>
<p><strong><a href="http://www.activecampaign.com/email-marketing/extend-wordpress.php">Learn more about this plugin</a></strong>, and let us know if you have questions or suggestions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activecampaign.com/blog/email-marketing-wordpress-integration/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
