talkable - Version 0.1.5

Version Notes

Extension provides:
- Post-Checkout Integration
- Standalone Integration
- Customer Dashboard Integration

Download this release

Release Info

Developer Talkable
Extension talkable
Version 0.1.5
Comparing to
See all releases


Code changes from version 0.1.4 to 0.1.5

app/code/community/Talkable/SocialReferrals/etc/config.xml CHANGED
@@ -12,7 +12,7 @@
12
  <config>
13
  <modules>
14
  <Talkable_SocialReferrals>
15
- <version>0.1.4</version>
16
  </Talkable_SocialReferrals>
17
  </modules>
18
 
12
  <config>
13
  <modules>
14
  <Talkable_SocialReferrals>
15
+ <version>0.1.5</version>
16
  </Talkable_SocialReferrals>
17
  </modules>
18
 
app/design/frontend/base/default/template/talkable/socialreferrals/dashboard.phtml CHANGED
@@ -14,14 +14,14 @@
14
  <?php if ($_helper->isDashboardEnabled()): ?>
15
  <!-- Begin Talkable integration code -->
16
 
17
- <?php if (empty($_helper->getSiteId())): ?>
18
  <!-- Talkable Site ID is blank, check your Talkable extension settings -->
19
  <?php else: ?>
20
  <div id="talkable-container"></div>
21
  <script type="text/javascript">
22
  //<![CDATA[
23
- var _curebitq = _curebitq || [];
24
- _curebitq.push(["init", {
25
  site_id: "<?php echo $_helper->getSiteId() ?>",
26
  server: "https://www.talkable.com"
27
  }]);
@@ -29,10 +29,10 @@
29
  <?php $_event_data = array_merge($_helper->getAffiliateData(), $_helper->getDashboardIframeOptions()) ?>
30
  <?php $_event_data["campaign_tags"] = $_helper->getDashboardCampaignTags() ?>
31
 
32
- _curebitq.push(["register_affiliate", <?php echo Mage::helper("core")->jsonEncode($_event_data) ?>]);
33
  //]]>
34
  </script>
35
- <script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/curebit-1.0.min.js"></script>
36
  <?php endif ?>
37
 
38
  <!-- End Talkable integration code -->
14
  <?php if ($_helper->isDashboardEnabled()): ?>
15
  <!-- Begin Talkable integration code -->
16
 
17
+ <?php if ($_helper->getSiteId() == ""): ?>
18
  <!-- Talkable Site ID is blank, check your Talkable extension settings -->
19
  <?php else: ?>
20
  <div id="talkable-container"></div>
21
  <script type="text/javascript">
22
  //<![CDATA[
23
+ var _talkableq = _talkableq || [];
24
+ _talkableq.push(["init", {
25
  site_id: "<?php echo $_helper->getSiteId() ?>",
26
  server: "https://www.talkable.com"
27
  }]);
29
  <?php $_event_data = array_merge($_helper->getAffiliateData(), $_helper->getDashboardIframeOptions()) ?>
30
  <?php $_event_data["campaign_tags"] = $_helper->getDashboardCampaignTags() ?>
31
 
32
+ _talkableq.push(["register_affiliate", <?php echo Mage::helper("core")->jsonEncode($_event_data) ?>]);
33
  //]]>
34
  </script>
35
+ <script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/talkable-1.0.min.js"></script>
36
  <?php endif ?>
37
 
38
  <!-- End Talkable integration code -->
app/design/frontend/base/default/template/talkable/socialreferrals/invite.phtml CHANGED
@@ -14,14 +14,14 @@
14
  <?php if ($_helper->isAffiliateEnabled()): ?>
15
  <!-- Begin Talkable integration code -->
16
 
17
- <?php if (empty($_helper->getSiteId())): ?>
18
  <!-- Talkable Site ID is blank, check your Talkable extension settings -->
19
  <?php else: ?>
20
  <div id="talkable-container"></div>
21
  <script type="text/javascript">
22
  //<![CDATA[
23
- var _curebitq = _curebitq || [];
24
- _curebitq.push(["init", {
25
  site_id: "<?php echo $_helper->getSiteId() ?>",
26
  server: "https://www.talkable.com"
27
  }]);
@@ -29,10 +29,10 @@
29
  <?php $_event_data = array_merge($_helper->getAffiliateData(), $_helper->getAffiliateIframeOptions()) ?>
30
  <?php $_event_data["campaign_tags"] = $_helper->getAffiliateCampaignTags() ?>
31
 
32
- _curebitq.push(["register_affiliate", <?php echo Mage::helper("core")->jsonEncode($_event_data) ?>]);
33
  //]]>
34
  </script>
35
- <script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/curebit-1.0.min.js"></script>
36
  <?php endif ?>
37
 
38
  <!-- End Talkable integration code -->
14
  <?php if ($_helper->isAffiliateEnabled()): ?>
15
  <!-- Begin Talkable integration code -->
16
 
17
+ <?php if ($_helper->getSiteId() == ""): ?>
18
  <!-- Talkable Site ID is blank, check your Talkable extension settings -->
19
  <?php else: ?>
20
  <div id="talkable-container"></div>
21
  <script type="text/javascript">
22
  //<![CDATA[
23
+ var _talkableq = _talkableq || [];
24
+ _talkableq.push(["init", {
25
  site_id: "<?php echo $_helper->getSiteId() ?>",
26
  server: "https://www.talkable.com"
27
  }]);
29
  <?php $_event_data = array_merge($_helper->getAffiliateData(), $_helper->getAffiliateIframeOptions()) ?>
30
  <?php $_event_data["campaign_tags"] = $_helper->getAffiliateCampaignTags() ?>
31
 
32
+ _talkableq.push(["register_affiliate", <?php echo Mage::helper("core")->jsonEncode($_event_data) ?>]);
33
  //]]>
34
  </script>
35
+ <script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/talkable-1.0.min.js"></script>
36
  <?php endif ?>
37
 
38
  <!-- End Talkable integration code -->
app/design/frontend/base/default/template/talkable/socialreferrals/post_purchase.phtml CHANGED
@@ -14,14 +14,14 @@
14
  <?php if ($_helper->isPurchaseEnabled()): ?>
15
  <!-- Begin Talkable integration code -->
16
 
17
- <?php if (empty($_helper->getSiteId())): ?>
18
  <!-- Talkable Site ID is blank, check your Talkable extension settings -->
19
  <?php else: ?>
20
  <?php if ($_order = $this->getCheckoutOrder()): ?>
21
  <script type="text/javascript">
22
  //<![CDATA[
23
- var _curebitq = _curebitq || [];
24
- _curebitq.push(["init", {
25
  site_id: "<?php echo $_helper->getSiteId() ?>",
26
  server: "https://www.talkable.com"
27
  }]);
@@ -31,10 +31,10 @@
31
  <?php $_event_data["traffic_source"] = "Post-checkout" ?>
32
  <?php $_event_data["campaign_tags"] = $_helper->getPurchaseCampaignTags() ?>
33
 
34
- _curebitq.push(["register_purchase", <?php echo Mage::helper("core")->jsonEncode($_event_data) ?>]);
35
  //]]>
36
  </script>
37
- <script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/curebit-1.0.min.js"></script>
38
  <?php else: ?>
39
  <!-- Order could not be found -->
40
  <?php endif ?>
14
  <?php if ($_helper->isPurchaseEnabled()): ?>
15
  <!-- Begin Talkable integration code -->
16
 
17
+ <?php if ($_helper->getSiteId() == ""): ?>
18
  <!-- Talkable Site ID is blank, check your Talkable extension settings -->
19
  <?php else: ?>
20
  <?php if ($_order = $this->getCheckoutOrder()): ?>
21
  <script type="text/javascript">
22
  //<![CDATA[
23
+ var _talkableq = _talkableq || [];
24
+ _talkableq.push(["init", {
25
  site_id: "<?php echo $_helper->getSiteId() ?>",
26
  server: "https://www.talkable.com"
27
  }]);
31
  <?php $_event_data["traffic_source"] = "Post-checkout" ?>
32
  <?php $_event_data["campaign_tags"] = $_helper->getPurchaseCampaignTags() ?>
33
 
34
+ _talkableq.push(["register_purchase", <?php echo Mage::helper("core")->jsonEncode($_event_data) ?>]);
35
  //]]>
36
  </script>
37
+ <script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/talkable-1.0.min.js"></script>
38
  <?php else: ?>
39
  <!-- Order could not be found -->
40
  <?php endif ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>talkable</name>
4
- <version>0.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
@@ -16,11 +16,12 @@ Using Talkable, you help your customers drive more referral sales per dollar tha
16
  See more at Talkable.com</description>
17
  <notes>Extension provides:&#xD;
18
  - Post-Checkout Integration&#xD;
19
- - Standalone Integration</notes>
 
20
  <authors><author><name>Talkable</name><user>talkable</user><email>sub@talkable.com</email></author></authors>
21
- <date>2015-03-03</date>
22
- <time>15:15:49</time>
23
- <contents><target name="magecommunity"><dir name="Talkable"><dir name="SocialReferrals"><dir name="Block"><file name="Affiliate.php" hash="e5cf1648f2aab8c8894fd1311ae865b8"/><dir name="Customer"><file name="Dashboard.php" hash="78d93dcf31455b09117506a78d3b7797"/></dir><dir name="Multishipping"><file name="Purchase.php" hash="6eaab3557bdf97f40a77c7b6e040e483"/></dir><file name="Purchase.php" hash="5cd37269372b88cec4657bf85077c1a4"/></dir><dir name="Helper"><file name="Data.php" hash="81a5d32510febf7735dd78abb0dca5ef"/></dir><dir name="Model"><file name="Observer.php" hash="c5ebe37375fb3d6b40d8d440b790ee8b"/></dir><dir name="controllers"><dir name="Customer"><file name="DashboardController.php" hash="fb89ba06fed8cb3329a941d59bd67b7c"/></dir><file name="IndexController.php" hash="41a785b074c529b65a3f82ca3573662e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f86a3e4bf980fa36aba8c0e33737e59"/><file name="config.xml" hash="e47e25e757596e1ae33bdf49941adfd5"/><file name="system.xml" hash="647731d932fb0c728c4c46ff2f6a93ca"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="talkable"><file name="socialreferrals.xml" hash="87e9f62d2d649e5da197e7a93c47c986"/></dir></dir><dir name="template"><dir name="talkable"><dir name="socialreferrals"><file name="dashboard.phtml" hash="327a9f9fa1c50dad9877674e4f9eeec6"/><file name="invite.phtml" hash="26bd0b36fb59be303302eba575b884f3"/><file name="post_purchase.phtml" hash="5d0e67f9a983bbaf57c6f6e84cdcd1d6"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Talkable_SocialReferrals.xml" hash="ed1152e3c169ac8e9d33219e5ec9fb47"/></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
26
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>talkable</name>
4
+ <version>0.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
16
  See more at Talkable.com</description>
17
  <notes>Extension provides:&#xD;
18
  - Post-Checkout Integration&#xD;
19
+ - Standalone Integration&#xD;
20
+ - Customer Dashboard Integration</notes>
21
  <authors><author><name>Talkable</name><user>talkable</user><email>sub@talkable.com</email></author></authors>
22
+ <date>2015-07-12</date>
23
+ <time>15:24:21</time>
24
+ <contents><target name="magecommunity"><dir name="Talkable"><dir name="SocialReferrals"><dir name="Block"><file name="Affiliate.php" hash="e5cf1648f2aab8c8894fd1311ae865b8"/><dir name="Customer"><file name="Dashboard.php" hash="78d93dcf31455b09117506a78d3b7797"/></dir><dir name="Multishipping"><file name="Purchase.php" hash="6eaab3557bdf97f40a77c7b6e040e483"/></dir><file name="Purchase.php" hash="5cd37269372b88cec4657bf85077c1a4"/></dir><dir name="Helper"><file name="Data.php" hash="81a5d32510febf7735dd78abb0dca5ef"/></dir><dir name="Model"><file name="Observer.php" hash="c5ebe37375fb3d6b40d8d440b790ee8b"/></dir><dir name="controllers"><dir name="Customer"><file name="DashboardController.php" hash="fb89ba06fed8cb3329a941d59bd67b7c"/></dir><file name="IndexController.php" hash="41a785b074c529b65a3f82ca3573662e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f86a3e4bf980fa36aba8c0e33737e59"/><file name="config.xml" hash="e87d83bb6f475f2d654333784d71c998"/><file name="system.xml" hash="647731d932fb0c728c4c46ff2f6a93ca"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="talkable"><file name="socialreferrals.xml" hash="87e9f62d2d649e5da197e7a93c47c986"/></dir></dir><dir name="template"><dir name="talkable"><dir name="socialreferrals"><file name="dashboard.phtml" hash="636e9486bb5a73be8641d016d0d985f1"/><file name="invite.phtml" hash="636aae438976819b1c98b3c447958c42"/><file name="post_purchase.phtml" hash="95741740642cde847de0675e67ef9d8a"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Talkable_SocialReferrals.xml" hash="ed1152e3c169ac8e9d33219e5ec9fb47"/></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
27
  </package>