Fanplayr - Version 1.0.50

Version Notes

- custom url post-fix

Download this release

Release Info

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


Code changes from version 1.0.49 to 1.0.50

app/code/community/Fanplayr/Socialcoupons/Block/Adminhtml/System/Config/Form/Field/Installhelper.php CHANGED
@@ -95,7 +95,7 @@ class Fanplayr_Socialcoupons_Block_Adminhtml_System_Config_Form_Field_Installhel
95
  $depPrefix = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/dep_prefix'));
96
  $depRoutes = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/dep_extra_rewrite_routes'));
97
  $gtmContainerId = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/gtm_container_id'));
98
- $trailingSlash = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/trailing_slash'));
99
 
100
  // have to use this variable for backwards compatability ...
101
  $currentEmbedType = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/wait_for_onload'));
@@ -220,12 +220,12 @@ class Fanplayr_Socialcoupons_Block_Adminhtml_System_Config_Form_Field_Installhel
220
  <tr><td><label>Layout Hook (Order)</label></td><td><select size="1" id="fanplayrsocialcoupons-console-layouthookorder" name="fanplayrsocialcoupons-console-layouthookorder">{$layoutHooksOrder}</select></td></tr>
221
  <tr><td colspan="2"><small>Please note this may cause problems on multi-site if you use different "websites".</small></td></tr>
222
  <tr><td><label>Custom Embed URL</label></td><td><input type="text" id="fanplayrsocialcoupons-console-customembedurl" name="fanplayrsocialcoupons-console-customembedurl" value="{$customEmbedUrl}" /></td></tr>
 
223
 
224
  <tr><td colspan="2"><b>Deputization</b></td></tr>
225
  <tr><td><label>Prefix</label></td><td><input type="text" id="fanplayrsocialcoupons-console-depprefix" name="fanplayrsocialcoupons-console-depprefix" value="{$depPrefix}" /></td></tr>
226
  <tr><td><label>Extra Routes</label></td><td><input type="text" id="fanplayrsocialcoupons-console-deproutes" name="fanplayrsocialcoupons-console-deproutes" value="{$depRoutes}" /></td></tr>
227
  <tr><td><label>GTM Container Public ID</label></td><td><input type="text" id="fanplayrsocialcoupons-console-gtmcontainerid" name="fanplayrsocialcoupons-console-gtmcontainerid" value="{$gtmContainerId}" /></td></tr>
228
- <tr><td><label>Trailing Slash (0 == no)</label></td><td><input type="text" id="fanplayrsocialcoupons-console-trailingslash" name="fanplayrsocialcoupons-console-trailingslash" value="{$trailingSlash}" /></td></tr>
229
 
230
  <tr><td colspan="2"><a href="#" id="fanplayrsocialcoupons-console-save" onclick="Fanplayr.console.save(); return false;">Save</a> <a href="#" id="fanplayrsocialcoupons-console-hide" onclick="Fanplayr.console.hide(); return false;">Hide</a></td></tr>
231
  </table>
95
  $depPrefix = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/dep_prefix'));
96
  $depRoutes = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/dep_extra_rewrite_routes'));
97
  $gtmContainerId = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/gtm_container_id'));
98
+ $customEmbedUrlPost = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url_post'));
99
 
100
  // have to use this variable for backwards compatability ...
101
  $currentEmbedType = htmlspecialchars(Mage::getStoreConfig('fanplayrsocialcoupons/config/wait_for_onload'));
220
  <tr><td><label>Layout Hook (Order)</label></td><td><select size="1" id="fanplayrsocialcoupons-console-layouthookorder" name="fanplayrsocialcoupons-console-layouthookorder">{$layoutHooksOrder}</select></td></tr>
221
  <tr><td colspan="2"><small>Please note this may cause problems on multi-site if you use different "websites".</small></td></tr>
222
  <tr><td><label>Custom Embed URL</label></td><td><input type="text" id="fanplayrsocialcoupons-console-customembedurl" name="fanplayrsocialcoupons-console-customembedurl" value="{$customEmbedUrl}" /></td></tr>
223
+ <tr><td><label>Custom Embed URL (Postfix)</label></td><td><input type="text" id="fanplayrsocialcoupons-console-customembedurlpost" name="fanplayrsocialcoupons-console-customembedurlpost" value="{$customEmbedUrlPost}" /></td></tr>
224
 
225
  <tr><td colspan="2"><b>Deputization</b></td></tr>
226
  <tr><td><label>Prefix</label></td><td><input type="text" id="fanplayrsocialcoupons-console-depprefix" name="fanplayrsocialcoupons-console-depprefix" value="{$depPrefix}" /></td></tr>
227
  <tr><td><label>Extra Routes</label></td><td><input type="text" id="fanplayrsocialcoupons-console-deproutes" name="fanplayrsocialcoupons-console-deproutes" value="{$depRoutes}" /></td></tr>
228
  <tr><td><label>GTM Container Public ID</label></td><td><input type="text" id="fanplayrsocialcoupons-console-gtmcontainerid" name="fanplayrsocialcoupons-console-gtmcontainerid" value="{$gtmContainerId}" /></td></tr>
 
229
 
230
  <tr><td colspan="2"><a href="#" id="fanplayrsocialcoupons-console-save" onclick="Fanplayr.console.save(); return false;">Save</a> <a href="#" id="fanplayrsocialcoupons-console-hide" onclick="Fanplayr.console.hide(); return false;">Hide</a></td></tr>
231
  </table>
app/code/community/Fanplayr/Socialcoupons/Model/EmbedObserver.php CHANGED
@@ -162,16 +162,10 @@
162
  $block->assign('data', $data);
163
  }
164
 
165
- $trailingSlash = Mage::getStoreConfig('fanplayrsocialcoupons/config/trailing_slash');
166
-
167
- if ($trailingSlash == '0') {
168
- $trailingSlash = '';
169
- }else{
170
- $trailingSlash = '/';
171
- }
172
 
173
  $block->assign('embedType', $embedType);
174
- $block->assign('trailingSlash', $trailingSlash);
175
 
176
  $currentLayoutHook = Mage::getStoreConfig('fanplayrsocialcoupons/config/layout_hook' . ($pageType == 'home' ? '_home' : ''));
177
  if (!$currentLayoutHook)
162
  $block->assign('data', $data);
163
  }
164
 
165
+ $customEmbedUrlPost = Mage::getStoreConfig('fanplayrsocialcoupons/config/custom_embed_url_post');
 
 
 
 
 
 
166
 
167
  $block->assign('embedType', $embedType);
168
+ $block->assign('customEmbedUrlPost', $customEmbedUrlPost);
169
 
170
  $currentLayoutHook = Mage::getStoreConfig('fanplayrsocialcoupons/config/layout_hook' . ($pageType == 'home' ? '_home' : ''));
171
  if (!$currentLayoutHook)
app/code/community/Fanplayr/Socialcoupons/controllers/CompyController.php CHANGED
@@ -53,9 +53,10 @@
53
  $this->updateConfig('fanplayrsocialcoupons/config/dep_extra_rewrite_routes', '', false);
54
 
55
  $this->updateConfig('fanplayrsocialcoupons/config/gtm_container_id', '', false);
56
- $this->updateConfig('fanplayrsocialcoupons/config/trailing_slash', '', false);
57
 
58
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', '', true);
 
 
59
  //$this->addNotice('Fanplayr details removed.');
60
  echo $this->jsonMessage(false, 'Fanplayr unlink successful".');
61
  }
@@ -131,9 +132,9 @@
131
  $this->updateConfig('fanplayrsocialcoupons/config/dep_extra_rewrite_routes', array_key_exists('deproutes', $p) ? $p['deproutes'] : '', false);
132
 
133
  $this->updateConfig('fanplayrsocialcoupons/config/gtm_container_id', array_key_exists('gtmcontainerid', $p) ? $p['gtmcontainerid'] : '', false);
134
- $this->updateConfig('fanplayrsocialcoupons/config/trailing_slash', array_key_exists('trailingslash', $p) ? $p['trailingslash'] : '', false);
135
 
136
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', array_key_exists('customembedurl', $p) ? $p['customembedurl'] : '', true);
 
137
 
138
  //$this->addNotice('Fanplayr details updated.');
139
  echo $this->jsonMessage(false, 'Fanplayr details updated".');
53
  $this->updateConfig('fanplayrsocialcoupons/config/dep_extra_rewrite_routes', '', false);
54
 
55
  $this->updateConfig('fanplayrsocialcoupons/config/gtm_container_id', '', false);
 
56
 
57
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', '', true);
58
+ $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url_post', '', false);
59
+
60
  //$this->addNotice('Fanplayr details removed.');
61
  echo $this->jsonMessage(false, 'Fanplayr unlink successful".');
62
  }
132
  $this->updateConfig('fanplayrsocialcoupons/config/dep_extra_rewrite_routes', array_key_exists('deproutes', $p) ? $p['deproutes'] : '', false);
133
 
134
  $this->updateConfig('fanplayrsocialcoupons/config/gtm_container_id', array_key_exists('gtmcontainerid', $p) ? $p['gtmcontainerid'] : '', false);
 
135
 
136
  $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url', array_key_exists('customembedurl', $p) ? $p['customembedurl'] : '', true);
137
+ $this->updateConfig('fanplayrsocialcoupons/config/custom_embed_url_post', array_key_exists('customembedurlpost', $p) ? $p['customembedurlpost'] : '', false);
138
 
139
  //$this->addNotice('Fanplayr details updated.');
140
  echo $this->jsonMessage(false, 'Fanplayr details updated".');
app/design/frontend/base/default/template/fanplayr/embed_ajax.phtml CHANGED
@@ -11,7 +11,20 @@
11
  fjs = d.getElementsByTagName(s)[0];
12
 
13
  js.async = true;
14
- js.src = (_.embedUrl || '<?php echo $shopUrl; ?>') + 'fanplayr/ajax/getEmbedJs<?php echo $trailingSlash; ?>?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());
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  fjs.parentNode.insertBefore(js, fjs);
16
  };
17
  <?php if ($embedType == 1){ ?>
11
  fjs = d.getElementsByTagName(s)[0];
12
 
13
  js.async = true;
14
+
15
+ <?php if ($customEmbedUrlPost){ ?>
16
+ var url = _.embedUrl || '<?php echo $shopUrl; ?>';
17
+ url += '<?php echo $customEmbedUrlPost; ?>';
18
+ url = url.replace('%tt', '<?php echo urlencode($tt); ?>');
19
+ url = url.replace('%tp', '<?php echo urlencode($tp); ?>');
20
+ url = url.replace('%tc', '<?php echo urlencode($tc); ?>');
21
+ url = url.replace('%tpn', '<?php echo urlencode($tpn); ?>');
22
+ url = url.replace('%tcn', '<?php echo urlencode($tcn); ?>');
23
+ url = url.replace('%rnd', (new Date().getTime()));
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){ ?>
app/design/frontend/default/default/template/fanplayr/embed_ajax.phtml CHANGED
@@ -11,7 +11,20 @@
11
  fjs = d.getElementsByTagName(s)[0];
12
 
13
  js.async = true;
14
- js.src = (_.embedUrl || '<?php echo $shopUrl; ?>') + 'fanplayr/ajax/getEmbedJs<?php echo $trailingSlash; ?>?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());
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  fjs.parentNode.insertBefore(js, fjs);
16
  };
17
  <?php if ($embedType == 1){ ?>
11
  fjs = d.getElementsByTagName(s)[0];
12
 
13
  js.async = true;
14
+
15
+ <?php if ($customEmbedUrlPost){ ?>
16
+ var url = _.embedUrl || '<?php echo $shopUrl; ?>';
17
+ url += '<?php echo $customEmbedUrlPost; ?>';
18
+ url = url.replace('%tt', '<?php echo urlencode($tt); ?>');
19
+ url = url.replace('%tp', '<?php echo urlencode($tp); ?>');
20
+ url = url.replace('%tc', '<?php echo urlencode($tc); ?>');
21
+ url = url.replace('%tpn', '<?php echo urlencode($tpn); ?>');
22
+ url = url.replace('%tcn', '<?php echo urlencode($tcn); ?>');
23
+ url = url.replace('%rnd', (new Date().getTime()));
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){ ?>
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.49</version>
8
  </Fanplayr_Socialcoupons>
9
  </modules>
10
  </config>
4
  <Fanplayr_Socialcoupons>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ <version>1.0.50</version>
8
  </Fanplayr_Socialcoupons>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fanplayr</name>
4
- <version>1.0.49</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>- bug fix</notes>
12
  <authors><author><name>Tarwin Stroh-Spijer</name><user>auto-converted</user><email>tarwin@fanplayr.com</email></author></authors>
13
  <date>2014-10-10</date>
14
- <time>22:29:13</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="86238397d54e3b4abcb639fc0147bed3"/><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="c373a94b044c91aaa185aeeedf632c7f"/></dir></dir></dir></dir></dir></dir><dir name="Model"><file name="CartObserver.php" hash="baca491c222a4dd401e779a7c60d98bc"/><file name="EmbedObserver.php" hash="8b1c91d775e141947c561d9e502a4984"/><file name="OrderObserver.php" hash="ca94b4bdcc08c4a7c1c4a1be9064e639"/></dir><dir name="controllers"><file name="AjaxController.php" hash="6f75c084b1d11d34ccacc66248166d2c"/><file name="CompyController.php" hash="0c20f6948005ea778f1527498696c6c4"/><file name="CouponController.php" hash="7a76962c34af6e4943a881acdcca3b32"/><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="43a0cba913411d89dc5672afe6f90568"/></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="dc88c2ef482872d0360023d55fe49d31"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="4047fd3fd7d11745da7f4763cb013917"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="dc88c2ef482872d0360023d55fe49d31"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="4047fd3fd7d11745da7f4763cb013917"/></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.50</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>- custom url post-fix</notes>
12
  <authors><author><name>Tarwin Stroh-Spijer</name><user>auto-converted</user><email>tarwin@fanplayr.com</email></author></authors>
13
  <date>2014-10-10</date>
14
+ <time>23:44:46</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="538c3fb2e6b67ac186b60a3c34a082d9"/><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="1cbc19578cd03cfaaf7453efd9a1c513"/></dir></dir></dir></dir></dir></dir><dir name="Model"><file name="CartObserver.php" hash="baca491c222a4dd401e779a7c60d98bc"/><file name="EmbedObserver.php" hash="11e96eff725167bee2df8c3d73ad476f"/><file name="OrderObserver.php" hash="ca94b4bdcc08c4a7c1c4a1be9064e639"/></dir><dir name="controllers"><file name="AjaxController.php" hash="6f75c084b1d11d34ccacc66248166d2c"/><file name="CompyController.php" hash="7a7e0a8f66081cec64897868f7082f83"/><file name="CouponController.php" hash="7a76962c34af6e4943a881acdcca3b32"/><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="4e1b12e9f8e4c571a88e88ece788105c"/></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="dc88c2ef482872d0360023d55fe49d31"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="a939da7f5fcc9902fe16c481b61f55c1"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="fanplayr"><file name="embed.phtml" hash="dc88c2ef482872d0360023d55fe49d31"/><file name="success.phtml" hash="244d6a0380af72e13ec1fc3ce0596b90"/><file name="embed_ajax.phtml" hash="a939da7f5fcc9902fe16c481b61f55c1"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
skin/frontend/socialcoupons/fanplayr_socialcoupons.js CHANGED
@@ -314,8 +314,8 @@ if (typeof Array.prototype.map !== "function") {
314
  depprefix: $('#fanplayrsocialcoupons-console-depprefix').val(),
315
  deproutes: $('#fanplayrsocialcoupons-console-deproutes').val(),
316
  customembedurl: $('#fanplayrsocialcoupons-console-customembedurl').val(),
317
- gtmcontainerid: $('#fanplayrsocialcoupons-console-gtmcontainerid').val(),
318
- trailingslash: $('#fanplayrsocialcoupons-console-trailingslash').val()
319
  })
320
  .success(function(result) {
321
  Fanplayr.isWorking = false;
314
  depprefix: $('#fanplayrsocialcoupons-console-depprefix').val(),
315
  deproutes: $('#fanplayrsocialcoupons-console-deproutes').val(),
316
  customembedurl: $('#fanplayrsocialcoupons-console-customembedurl').val(),
317
+ customembedurlpost: $('#fanplayrsocialcoupons-console-customembedurlpost').val(),
318
+ gtmcontainerid: $('#fanplayrsocialcoupons-console-gtmcontainerid').val()
319
  })
320
  .success(function(result) {
321
  Fanplayr.isWorking = false;