Version Notes
update referrer fix
Download this release
Release Info
Developer | KremsaDigital |
Extension | StarSMP_Customers_Tracking_Integration |
Version | 1.0.8 |
Comparing to | |
See all releases |
Code changes from version 1.0.7 to 1.0.8
app/code/community/KremsaDigital/StarSocial/Model/Track.php
CHANGED
@@ -75,8 +75,12 @@ class KremsaDigital_StarSocial_Model_Track {
|
|
75 |
$this->authorize();
|
76 |
}
|
77 |
try {
|
|
|
78 |
$vipfan = $this->smpInstance->optin($data, $this->siteUrl);
|
79 |
-
Mage::
|
|
|
|
|
|
|
80 |
Mage::getSingleton('core/session')->setVipfanId($vipfan['id']);
|
81 |
} catch (Exception $e) {
|
82 |
Mage::log($e->getMessage(), null, 'starsocial.log');
|
75 |
$this->authorize();
|
76 |
}
|
77 |
try {
|
78 |
+
$data['update_referrer'] = true;
|
79 |
$vipfan = $this->smpInstance->optin($data, $this->siteUrl);
|
80 |
+
if (Mage::registry($this::VIPFAN_KEY) != $vipfan['id']) {
|
81 |
+
Mage::unregister($this::VIPFAN_KEY);
|
82 |
+
Mage::register($this::VIPFAN_KEY, $vipfan['id']);
|
83 |
+
}
|
84 |
Mage::getSingleton('core/session')->setVipfanId($vipfan['id']);
|
85 |
} catch (Exception $e) {
|
86 |
Mage::log($e->getMessage(), null, 'starsocial.log');
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>StarSMP_Customers_Tracking_Integration</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -21,11 +21,11 @@ StarSMP Universal Tag Features: 
|
|
21 |
- add custom tracking codes
|
22 |
- automatically deploys to your Magento e-shop
|
23 |
- control access to your tracking codes</description>
|
24 |
-
<notes>
|
25 |
<authors><author><name>KremsaDigital</name><user>kremsa_design</user><email>kremsa.office.sk@gmail.com</email></author></authors>
|
26 |
-
<date>2014-10-
|
27 |
-
<time>
|
28 |
-
<contents><target name="magecommunity"><dir name="KremsaDigital"><dir name="StarSocial"><dir name="Helper"><file name="Data.php" hash="85963ac4a639c694b7db915ef5905c44"/></dir><dir name="Model"><file name="Observer.php" hash="6d4acd24a0b80e70dc7ea57143dacd13"/><file name="Track.php" hash="
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
31 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>StarSMP_Customers_Tracking_Integration</name>
|
4 |
+
<version>1.0.8</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
21 |
- add custom tracking codes
|
22 |
- automatically deploys to your Magento e-shop
|
23 |
- control access to your tracking codes</description>
|
24 |
+
<notes>update referrer fix</notes>
|
25 |
<authors><author><name>KremsaDigital</name><user>kremsa_design</user><email>kremsa.office.sk@gmail.com</email></author></authors>
|
26 |
+
<date>2014-10-21</date>
|
27 |
+
<time>18:58:45</time>
|
28 |
+
<contents><target name="magecommunity"><dir name="KremsaDigital"><dir name="StarSocial"><dir name="Helper"><file name="Data.php" hash="85963ac4a639c694b7db915ef5905c44"/></dir><dir name="Model"><file name="Observer.php" hash="6d4acd24a0b80e70dc7ea57143dacd13"/><file name="Track.php" hash="cd8abc5c40122a73a12efed18fc19886"/></dir><dir name="etc"><file name="adminhtml.xml" hash="735e6dfffa1e18830ec0f9a061eaa480"/><file name="config.xml" hash="61597357d6b60c410183b07ba296129b"/><file name="system.xml" hash="5c4f4fdb3735ea7c3396dcf681509e86"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="KremsaDesign_StarSocial.xml" hash="f07ad022b4e7aaa1c67f0bd9d2458f99"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="StarSocial.xml" hash="44aa76355559f1ab659e76fa5767dbd2"/></dir><dir name="template"><dir name="starsocial"><file name="tags-checkout.phtml" hash="f1986a33e545c1246ad07fa7fa5d2a4b"/><file name="tags.phtml" hash="833114f709760c4b7dd578675a9d564e"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="KremsaDigital"><dir name="StarSocial"><file name="channel.html" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="smp_login.php" hash="5c930b782c47cc798254c7b60f998aee"/></dir></dir></dir></target><target name="magelib"><dir name="KremsaDigital"><dir name="StarSocial"><file name="starsmp.php" hash="d6c0f4ca17813c9ce955fab7b10cb40a"/></dir></dir></target></contents>
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
31 |
</package>
|