Fanplayr - Version 1.0.60

Version Notes

- Code cleanup
- Simpler Fanplayr Console access

Download this release

Release Info

Developer Magento Core Team
Extension Fanplayr
Version 1.0.60
Comparing to
See all releases


Code changes from version 1.0.59 to 1.0.60

app/code/community/Fanplayr/Socialcoupons/Block/Adminhtml/System/Config/Form/Field/Installhelper.php CHANGED
@@ -399,9 +399,11 @@ EOT;
399
  }
400
  }
401
 
 
 
402
  //
403
  // Return
404
- return $generalHtml . $outputHtml;
405
  }
406
 
407
  // -------------------------------------------------------------------------
399
  }
400
  }
401
 
402
+ $showConsoleHtml = '<div id="fanplayr-show-console"><a href="javascript:Fanplayr.console.show();" style="position: absolute;top: 207px;right: 80px;font-size: 11px;color: #fff !important;">Show Fanplayr Console</a></div>';
403
+
404
  //
405
  // Return
406
+ return $showConsoleHtml . $generalHtml . $outputHtml;
407
  }
408
 
409
  // -------------------------------------------------------------------------
app/code/community/Fanplayr/Socialcoupons/Model/OrderObserver.php CHANGED
@@ -210,7 +210,7 @@
210
  // enterprise 1.9 and below
211
  $useOldVersion = false;
212
  if ($this->isMageCommunity() && $mageVa[0] == '1' && intval($mageVa[1]) <= 4
213
- || ($this->isMageEnterprise() || $this->isMageProfessional) && $mageVa[0] == '1' && intval($mageVa[1] <= 9)) {
214
  $useOldVersion = true;
215
  }
216
 
210
  // enterprise 1.9 and below
211
  $useOldVersion = false;
212
  if ($this->isMageCommunity() && $mageVa[0] == '1' && intval($mageVa[1]) <= 4
213
+ || ($this->isMageEnterprise() || $this->isMageProfessional()) && $mageVa[0] == '1' && intval($mageVa[1] <= 9)) {
214
  $useOldVersion = true;
215
  }
216
 
app/design/frontend/base/default/template/fanplayr/embed_ajax.phtml CHANGED
@@ -24,7 +24,7 @@
24
  js.src = url;
25
  <?php }else{ ?>
26
  js.src = (_.embedUrl || '<?php echo $shopUrl; ?>') + 'fanplayr/ajax/getEmbedJs/?tt=<?php echo urlencode($tt); ?>&tp=<?php echo urlencode($tp); ?>&tc=<?php echo urlencode($tc); ?>&tpn=<?php echo urlencode($tpn); ?>&tcn=<?php echo urlencode($tcn); ?>&' + (new Date().getTime());
27
- <? } ?>
28
  fjs.parentNode.insertBefore(js, fjs);
29
  };
30
  <?php if ($embedType == 1){ ?>
24
  js.src = url;
25
  <?php }else{ ?>
26
  js.src = (_.embedUrl || '<?php echo $shopUrl; ?>') + 'fanplayr/ajax/getEmbedJs/?tt=<?php echo urlencode($tt); ?>&tp=<?php echo urlencode($tp); ?>&tc=<?php echo urlencode($tc); ?>&tpn=<?php echo urlencode($tpn); ?>&tcn=<?php echo urlencode($tcn); ?>&' + (new Date().getTime());
27
+ <?php } ?>
28
  fjs.parentNode.insertBefore(js, fjs);
29
  };
30
  <?php if ($embedType == 1){ ?>
app/design/frontend/default/default/template/fanplayr/embed_ajax.phtml CHANGED
@@ -24,7 +24,7 @@
24
  js.src = url;
25
  <?php }else{ ?>
26
  js.src = (_.embedUrl || '<?php echo $shopUrl; ?>') + 'fanplayr/ajax/getEmbedJs/?tt=<?php echo urlencode($tt); ?>&tp=<?php echo urlencode($tp); ?>&tc=<?php echo urlencode($tc); ?>&tpn=<?php echo urlencode($tpn); ?>&tcn=<?php echo urlencode($tcn); ?>&' + (new Date().getTime());
27
- <? } ?>
28
  fjs.parentNode.insertBefore(js, fjs);
29
  };
30
  <?php if ($embedType == 1){ ?>
24
  js.src = url;
25
  <?php }else{ ?>
26
  js.src = (_.embedUrl || '<?php echo $shopUrl; ?>') + 'fanplayr/ajax/getEmbedJs/?tt=<?php echo urlencode($tt); ?>&tp=<?php echo urlencode($tp); ?>&tc=<?php echo urlencode($tc); ?>&tpn=<?php echo urlencode($tpn); ?>&tcn=<?php echo urlencode($tcn); ?>&' + (new Date().getTime());
27
+ <?php } ?>
28
  fjs.parentNode.insertBefore(js, fjs);
29
  };
30
  <?php if ($embedType == 1){ ?>
app/etc/modules/Fanplayr_Socialcoupons.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Fanplayr_Socialcoupons>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
- <version>1.0.59</version>
8
  </Fanplayr_Socialcoupons>
9
  </modules>
10
  </config>
4
  <Fanplayr_Socialcoupons>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ <version>1.0.60</version>
8
  </Fanplayr_Socialcoupons>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,18 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fanplayr</name>
4
- <version>1.0.59</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.fanplayr.com/Fanplayr_terms_and_conditions.pdf">Fanplayr License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Fanplayr Conversions enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</summary>
10
  <description>Fanplayr Conversion enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</description>
11
- <notes>- Fixed embedding for Tag Management</notes>
 
12
  <authors><author><name>Tarwin Stroh-Spijer</name><user>auto-converted</user><email>tarwin@fanplayr.com</email></author></authors>
13
- <date>2015-01-22</date>
14
- <time>19:11:41</time>
15
- <contents><target name="mageskin"><dir name="frontend"><dir name="socialcoupons"><dir name="images"><file name="accept.png" hash="8bfed48756f192ed7afe6eaa4799aae4"/><file name="activity.gif" hash="fc4ac1c258ac6d13be5afe5ecc5f10e6"/><file name="disable.png" hash="bb2fc85482c3e9c9a9ab4bc3e8e4ebe6"/><file name="fanplayr_logo.png" hash="3d8827fedc2ff79d3041a64265a2f7e0"/><file name="genius_16.png" hash="895bf92ff7689c8116bf1a6f7583c3ab"/><file name="pencil.png" hash="a34e71ab08a6d1162b948d26321dea50"/><file name="progress-loader.gif" hash="5243dea18965998ada5477a2117e2ead"/><file name="sales_16.png" hash="e7b77f97a81b4339c9c6b94e1077a675"/><file name="star_gold.png" hash="73541d75f70cbda977a8b04bf87ddc39"/><file name="warning.png" hash="c847e1076da70df83ef5284622b82a74"/><file name=".picasa.ini" hash="98908647c7af9a7c540c9d711b911d0c"/></dir><file name="fanplayr_join.html" hash="72f2ba80caf3b3f790a3eed928c79626"/><file name="fanplayr_socialcoupons.css" hash="ef40e0653303cbe861ac2141fce32222"/><file name="fanplayr_socialcoupons.js" hash="ee3946e645278c5a0f59a0e70ca55271"/><file name="fanplayr_socialcoupons.min.css" hash="c6d326ff4161a090b77a0b00e2f7d81d"/><file name="jquery-1.7.2.min.js" hash="8d1a6f9c08b59506c56b18e2b2695fc8"/></dir></dir></target><target name="magecommunity"><dir name="Fanplayr"><dir name="Socialcoupons"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Installhelper.php" hash="86ec4ace497e66f91ac3857d0388939c"/></dir></dir></dir></dir></dir></dir><dir name="Model"><file name="CartObserver.php" hash="baca491c222a4dd401e779a7c60d98bc"/><file name="EmbedObserver.php" hash="9e54871336179d0a70047f2f9ebd9e75"/><file name="OrderObserver.php" hash="f9b71d1a8335bbf6dc208481b88b0025"/></dir><dir name="controllers"><file name="AjaxController.php" hash="2475b29df4b94a3f23d917c59765e632"/><file name="CompyController.php" hash="f45b1bd7ef87cbcdf17e894e6637adcb"/><file name="CouponController.php" hash="85bf29a6eaeb3bfe355486844db7b988"/><file name="IndexController.php" hash="8b18f83d9592433bfd4f196cf574fec3"/></dir><dir name="etc"><file name="config.xml" hash="df1c1ebc423b6e0dc0c71b6ba87e80b4"/><file name="system.xml" hash="a32e53b5dd521ca60be8b61bc49c886b"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fanplayr_Socialcoupons.xml" hash="d6e79764bacad715447cecf104a64538"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="b23ba679f2fb3c6e0e6b2df7dc7c427a"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="f50a2a6f7853f8df6cf9b83a5b519047"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="b23ba679f2fb3c6e0e6b2df7dc7c427a"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="f50a2a6f7853f8df6cf9b83a5b519047"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fanplayr</name>
4
+ <version>1.0.60</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.fanplayr.com/Fanplayr_terms_and_conditions.pdf">Fanplayr License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Fanplayr Conversions enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</summary>
10
  <description>Fanplayr Conversion enables Magento merchants to harness an automated solution to track, analyze and intelligently target your visitors</description>
11
+ <notes>- Code cleanup&#xD;
12
+ - Simpler Fanplayr Console access</notes>
13
  <authors><author><name>Tarwin Stroh-Spijer</name><user>auto-converted</user><email>tarwin@fanplayr.com</email></author></authors>
14
+ <date>2015-01-26</date>
15
+ <time>23:12:46</time>
16
+ <contents><target name="mageskin"><dir name="frontend"><dir name="socialcoupons"><dir name="images"><file name="accept.png" hash="8bfed48756f192ed7afe6eaa4799aae4"/><file name="activity.gif" hash="fc4ac1c258ac6d13be5afe5ecc5f10e6"/><file name="disable.png" hash="bb2fc85482c3e9c9a9ab4bc3e8e4ebe6"/><file name="fanplayr_logo.png" hash="3d8827fedc2ff79d3041a64265a2f7e0"/><file name="genius_16.png" hash="895bf92ff7689c8116bf1a6f7583c3ab"/><file name="pencil.png" hash="a34e71ab08a6d1162b948d26321dea50"/><file name="progress-loader.gif" hash="5243dea18965998ada5477a2117e2ead"/><file name="sales_16.png" hash="e7b77f97a81b4339c9c6b94e1077a675"/><file name="star_gold.png" hash="73541d75f70cbda977a8b04bf87ddc39"/><file name="warning.png" hash="c847e1076da70df83ef5284622b82a74"/><file name=".picasa.ini" hash="98908647c7af9a7c540c9d711b911d0c"/></dir><file name="fanplayr_join.html" hash="72f2ba80caf3b3f790a3eed928c79626"/><file name="fanplayr_socialcoupons.css" hash="ef40e0653303cbe861ac2141fce32222"/><file name="fanplayr_socialcoupons.js" hash="ee3946e645278c5a0f59a0e70ca55271"/><file name="fanplayr_socialcoupons.min.css" hash="c6d326ff4161a090b77a0b00e2f7d81d"/><file name="jquery-1.7.2.min.js" hash="8d1a6f9c08b59506c56b18e2b2695fc8"/></dir></dir></target><target name="magecommunity"><dir name="Fanplayr"><dir name="Socialcoupons"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Installhelper.php" hash="48b824adc5d637c3647c6ef59949f53b"/></dir></dir></dir></dir></dir></dir><dir name="Model"><file name="CartObserver.php" hash="baca491c222a4dd401e779a7c60d98bc"/><file name="EmbedObserver.php" hash="9e54871336179d0a70047f2f9ebd9e75"/><file name="OrderObserver.php" hash="23dab32d08ff5f8d5b07280d2ba53cc7"/></dir><dir name="controllers"><file name="AjaxController.php" hash="2475b29df4b94a3f23d917c59765e632"/><file name="CompyController.php" hash="f45b1bd7ef87cbcdf17e894e6637adcb"/><file name="CouponController.php" hash="85bf29a6eaeb3bfe355486844db7b988"/><file name="IndexController.php" hash="8b18f83d9592433bfd4f196cf574fec3"/></dir><dir name="etc"><file name="config.xml" hash="df1c1ebc423b6e0dc0c71b6ba87e80b4"/><file name="system.xml" hash="a32e53b5dd521ca60be8b61bc49c886b"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fanplayr_Socialcoupons.xml" hash="a3f3c9b8744a57e429c42fb4c7180276"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="b23ba679f2fb3c6e0e6b2df7dc7c427a"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="5580fc2af991de41075b250529b111b1"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="b23ba679f2fb3c6e0e6b2df7dc7c427a"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="5580fc2af991de41075b250529b111b1"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>