Gigya_Socialize - Version 3.0.1

Version Notes

- Registration-as-a-Service - Gigya now offer full cloud based user management. For more information, please refer to the Using RaaS with Magento page.
http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Magento/020_RaaS
- Support for Gigya's Consumer Insights service - notify the service of purchases taken by customers. For more information, please look for "Enable purchase notifications to Customer Insights" here.
http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Magento
- Support for User key & User Secret key - the ability to restrict permission settings for site developers. For more information, please look for "Use User Key & User Secret key" here.
http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Magento
- Notify Gamification of purchases taken by customers. For more information, please look for "Enable purchase notifications to Gamification" here.
http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Magento
- Gigya Debug log - the option to log all Gigya server requests and responses for debug purposes. For more information, please look for "Enable Gigya debug log" here.
http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Magento

Download this release

Release Info

Developer Yaniv Aran-Shamir
Extension Gigya_Socialize
Version 3.0.1
Comparing to
See all releases


Code changes from version 3.0.0 to 3.0.1

app/code/community/Gigya/Social/Helper/Data.php CHANGED
@@ -1,7 +1,12 @@
1
  <?php
2
 
3
- include_once __DIR__ . '/../sdk/GSSDK.php';
4
- include_once __DIR__ . '/../sdk/gigyaCMS.php';
 
 
 
 
 
5
 
6
  class Gigya_Social_Helper_Data extends Mage_Core_Helper_Abstract
7
  {
1
  <?php
2
 
3
+ if (defined('COMPILER_INCLUDE_PATH')) {
4
+ include_once 'Gigya_Social_sdk_GSSDK.php';
5
+ include_once 'Gigya_Social_sdk_gigyaCMS.php';
6
+ } else {
7
+ include_once 'Gigya/Social/sdk/GSSDK.php';
8
+ include_once 'Gigya/Social/sdk/gigyaCMS.php';
9
+ }
10
 
11
  class Gigya_Social_Helper_Data extends Mage_Core_Helper_Abstract
12
  {
app/code/community/Gigya/Social/controllers/LoginController.php CHANGED
@@ -1,5 +1,9 @@
1
  <?php
2
- include_once __DIR__ . '/../sdk/GSSDK.php';
 
 
 
 
3
  require_once('Mage/Customer/controllers/AccountController.php');
4
 
5
  /**
@@ -67,8 +71,8 @@ class Gigya_Social_LoginController extends Mage_Customer_AccountController
67
  $post = json_decode($req, TRUE);
68
  $this->getResponse()->setHeader('Content-type', 'application/json');
69
  if ($this->userMode === 'social') {
70
- $this->_socialLogin($session, $post);
71
  $this->gigyaData = $post;
 
72
  } elseif ($this->userMode === 'raas') {
73
  $this->_raasLogin($session, $post);
74
  } else {
1
  <?php
2
+ if (defined('COMPILER_INCLUDE_PATH')) {
3
+ include_once 'Gigya_Social_sdk_GSSDK.php';
4
+ } else {
5
+ include_once 'Gigya/Social/sdk/GSSDK.php';
6
+ }
7
  require_once('Mage/Customer/controllers/AccountController.php');
8
 
9
  /**
71
  $post = json_decode($req, TRUE);
72
  $this->getResponse()->setHeader('Content-type', 'application/json');
73
  if ($this->userMode === 'social') {
 
74
  $this->gigyaData = $post;
75
+ $this->_socialLogin($session, $post);
76
  } elseif ($this->userMode === 'raas') {
77
  $this->_raasLogin($session, $post);
78
  } else {
app/code/community/Gigya/Social/etc/system.xml CHANGED
@@ -27,7 +27,7 @@
27
  <enable translate="label">
28
  <label>Enable</label>
29
  <frontend_type>select</frontend_type>
30
- <source_model>adminhtml/system_config_source_yesno</source_model>
31
  <sort_order>8</sort_order>
32
  <show_in_default>1</show_in_default>
33
  <show_in_website>1</show_in_website>
@@ -36,7 +36,7 @@
36
  <version translate="label">
37
  <label>Version number</label>
38
  <frontend_type>label</frontend_type>
39
- <frontend_model>Gigya_Social_Block_Adminhtml_version</frontend_model>
40
  <sort_order>9</sort_order>
41
  <show_in_default>1</show_in_default>
42
  <show_in_website>1</show_in_website>
@@ -104,7 +104,7 @@
104
  <dataCenter translate="label">
105
  <label>Data Center Region</label>
106
  <frontend_type>select</frontend_type>
107
- <source_model>Gigya_Social_Model_config_source_datacenter</source_model>
108
  <sort_order>18</sort_order>
109
  <show_in_default>1</show_in_default>
110
  <show_in_website>1</show_in_website>
@@ -113,7 +113,7 @@
113
  <laguages translate="label">
114
  <label>Interface language</label>
115
  <frontend_type>select</frontend_type>
116
- <source_model>Gigya_Social_Model_config_source_languages</source_model>
117
  <sort_order>19</sort_order>
118
  <show_in_default>1</show_in_default>
119
  <show_in_website>1</show_in_website>
@@ -122,7 +122,7 @@
122
  <loginBehavior translate="label">
123
  <label>Login behavior</label>
124
  <frontend_type>select</frontend_type>
125
- <source_model>Gigya_Social_Model_config_source_loginb</source_model>
126
  <sort_order>20</sort_order>
127
  <show_in_default>1</show_in_default>
128
  <show_in_website>1</show_in_website>
@@ -192,7 +192,7 @@
192
  <label>Gigya User Management</label>
193
  <frontend_type>select</frontend_type>
194
  <backend_model>Gigya_Social_Model_Config_Backend_UserMode</backend_model>
195
- <source_model>Gigya_Social_Model_config_source_loginModes</source_model>
196
  <comment><![CDATA[<span style="display: none;" class="raas-comment">Selecting this option overrides Magento's user management system. This requires additional administration steps. Learn more <a href="http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Magento">here</a></span>]]></comment>
197
  <sort_order>9</sort_order>
198
  <show_in_default>1</show_in_default>
@@ -212,7 +212,7 @@
212
  <buttonsStyle translate="label">
213
  <label>Button style</label>
214
  <frontend_type>select</frontend_type>
215
- <source_model>Gigya_Social_Model_config_source_buttons</source_model>
216
  <sort_order>11</sort_order>
217
  <show_in_default>1</show_in_default>
218
  <show_in_website>1</show_in_website>
@@ -276,7 +276,7 @@
276
  <title translate="label">
277
  <lable>Registration-as-a-Service</lable>
278
  <frontend_type>label</frontend_type>
279
- <frontend_model>Gigya_Social_Block_Adminhtml_raasTitles</frontend_model>
280
  <sort_order>10</sort_order>
281
  <show_in_default>1</show_in_default>
282
  <show_in_website>1</show_in_website>
@@ -317,7 +317,7 @@
317
  <profile_title translate="label">
318
  <lable>Registration-as-a-Service</lable>
319
  <frontend_type>label</frontend_type>
320
- <frontend_model>Gigya_Social_Block_Adminhtml_raasTitles</frontend_model>
321
  <sort_order>14</sort_order>
322
  <show_in_default>1</show_in_default>
323
  <show_in_website>1</show_in_website>
@@ -353,7 +353,7 @@
353
  <div_ids_title translate="label">
354
  <lable>Registration-as-a-Service</lable>
355
  <frontend_type>label</frontend_type>
356
- <frontend_model>Gigya_Social_Block_Adminhtml_raasTitles</frontend_model>
357
  <comment>
358
  <![CDATA[Specify the DIV IDs in which to embed the screen-sets. If the IDs are empty (default), then the screen-set would show as pop-up dialogs.]]></comment>
359
  <sort_order>18</sort_order>
@@ -517,7 +517,7 @@
517
  <layout translate="label">
518
  <label>Share Bar layout</label>
519
  <frontend_type>select</frontend_type>
520
- <source_model>Gigya_Social_Model_config_source_layout</source_model>
521
  <sort_order>13</sort_order>
522
  <show_in_default>1</show_in_default>
523
  <show_in_website>1</show_in_website>
@@ -526,7 +526,7 @@
526
  <showCounts translate="label">
527
  <label>Show counts</label>
528
  <frontend_type>select</frontend_type>
529
- <source_model>Gigya_Social_Model_config_source_counts</source_model>
530
  <sort_order>14</sort_order>
531
  <show_in_default>1</show_in_default>
532
  <show_in_website>1</show_in_website>
@@ -535,7 +535,7 @@
535
  <imageBehavior translate="label">
536
  <label>Image</label>
537
  <frontend_type>select</frontend_type>
538
- <source_model>Gigya_Social_Model_config_source_imageb</source_model>
539
  <sort_order>15</sort_order>
540
  <show_in_default>1</show_in_default>
541
  <show_in_website>1</show_in_website>
@@ -602,7 +602,7 @@
602
  <showAlwaysShare translate="label">
603
  <label>Show Always Share</label>
604
  <frontend_type>select</frontend_type>
605
- <source_model>Gigya_Social_Model_config_source_allwaysShare</source_model>
606
  <sort_order>11</sort_order>
607
  <show_in_default>1</show_in_default>
608
  <show_in_website>1</show_in_website>
@@ -640,7 +640,7 @@
640
  <scope translate="label">
641
  <label>Scope for publishing to Activity Feed</label>
642
  <frontend_type>select</frontend_type>
643
- <source_model>Gigya_Social_Model_config_source_scope</source_model>
644
  <comment>
645
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
646
  <sort_order>14</sort_order>
@@ -718,7 +718,7 @@
718
  <layout translate="label">
719
  <label>Reactions Bar layout</label>
720
  <frontend_type>select</frontend_type>
721
- <source_model>Gigya_Social_Model_config_source_layout</source_model>
722
  <sort_order>14</sort_order>
723
  <show_in_default>1</show_in_default>
724
  <show_in_website>1</show_in_website>
@@ -727,7 +727,7 @@
727
  <showCounts translate="label">
728
  <label>Show counts</label>
729
  <frontend_type>select</frontend_type>
730
- <source_model>Gigya_Social_Model_config_source_counts</source_model>
731
  <sort_order>15</sort_order>
732
  <show_in_default>1</show_in_default>
733
  <show_in_website>1</show_in_website>
@@ -736,7 +736,7 @@
736
  <countType translate="label">
737
  <label>Count type</label>
738
  <frontend_type>select</frontend_type>
739
- <source_model>Gigya_Social_Model_config_source_countType</source_model>
740
  <sort_order>15</sort_order>
741
  <show_in_default>1</show_in_default>
742
  <show_in_website>1</show_in_website>
@@ -756,7 +756,7 @@
756
  <scope translate="label">
757
  <label>Scope for publishing to Activity Feed</label>
758
  <frontend_type>select</frontend_type>
759
- <source_model>Gigya_Social_Model_config_source_scope</source_model>
760
  <comment>
761
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
762
  <sort_order>17</sort_order>
@@ -767,7 +767,7 @@
767
  <imageBehavior translate="label">
768
  <label>Image</label>
769
  <frontend_type>select</frontend_type>
770
- <source_model>Gigya_Social_Model_config_source_imageb</source_model>
771
  <sort_order>18</sort_order>
772
  <show_in_default>1</show_in_default>
773
  <show_in_website>1</show_in_website>
@@ -845,7 +845,7 @@
845
  <scope translate="label">
846
  <label>Scope for publishing to Activity Feed</label>
847
  <frontend_type>select</frontend_type>
848
- <source_model>Gigya_Social_Model_config_source_scope</source_model>
849
  <comment>
850
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
851
  <sort_order>13</sort_order>
@@ -924,7 +924,7 @@
924
  <privacy translate="label">
925
  <label>Privacy</label>
926
  <frontend_type>select</frontend_type>
927
- <source_model>Gigya_Social_Model_config_source_privacy</source_model>
928
  <sort_order>14</sort_order>
929
  <show_in_default>1</show_in_default>
930
  <show_in_website>1</show_in_website>
@@ -998,7 +998,7 @@
998
  <period translate="label">
999
  <label>Leaderboard Time Period</label>
1000
  <frontend_type>select</frontend_type>
1001
- <source_model>Gigya_Social_Model_config_source_leaderboard</source_model>
1002
  <sort_order>12</sort_order>
1003
  <show_in_default>1</show_in_default>
1004
  <show_in_website>1</show_in_website>
@@ -1083,7 +1083,7 @@
1083
  <scope translate="label">
1084
  <label>Scope for publishing to Activity Feed</label>
1085
  <frontend_type>select</frontend_type>
1086
- <source_model>Gigya_Social_Model_config_source_scope</source_model>
1087
  <comment>
1088
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
1089
  <sort_order>13</sort_order>
27
  <enable translate="label">
28
  <label>Enable</label>
29
  <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/System_Config_Source_Yesno</source_model>
31
  <sort_order>8</sort_order>
32
  <show_in_default>1</show_in_default>
33
  <show_in_website>1</show_in_website>
36
  <version translate="label">
37
  <label>Version number</label>
38
  <frontend_type>label</frontend_type>
39
+ <frontend_model>Gigya_Social_Block_Adminhtml_Version</frontend_model>
40
  <sort_order>9</sort_order>
41
  <show_in_default>1</show_in_default>
42
  <show_in_website>1</show_in_website>
104
  <dataCenter translate="label">
105
  <label>Data Center Region</label>
106
  <frontend_type>select</frontend_type>
107
+ <source_model>Gigya_Social_Model_Config_Source_Datacenter</source_model>
108
  <sort_order>18</sort_order>
109
  <show_in_default>1</show_in_default>
110
  <show_in_website>1</show_in_website>
113
  <laguages translate="label">
114
  <label>Interface language</label>
115
  <frontend_type>select</frontend_type>
116
+ <source_model>Gigya_Social_Model_Config_Source_Languages</source_model>
117
  <sort_order>19</sort_order>
118
  <show_in_default>1</show_in_default>
119
  <show_in_website>1</show_in_website>
122
  <loginBehavior translate="label">
123
  <label>Login behavior</label>
124
  <frontend_type>select</frontend_type>
125
+ <source_model>Gigya_Social_Model_Config_Source_Loginb</source_model>
126
  <sort_order>20</sort_order>
127
  <show_in_default>1</show_in_default>
128
  <show_in_website>1</show_in_website>
192
  <label>Gigya User Management</label>
193
  <frontend_type>select</frontend_type>
194
  <backend_model>Gigya_Social_Model_Config_Backend_UserMode</backend_model>
195
+ <source_model>Gigya_Social_Model_Config_Source_LoginModes</source_model>
196
  <comment><![CDATA[<span style="display: none;" class="raas-comment">Selecting this option overrides Magento's user management system. This requires additional administration steps. Learn more <a href="http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Magento">here</a></span>]]></comment>
197
  <sort_order>9</sort_order>
198
  <show_in_default>1</show_in_default>
212
  <buttonsStyle translate="label">
213
  <label>Button style</label>
214
  <frontend_type>select</frontend_type>
215
+ <source_model>Gigya_Social_Model_Config_Source_Buttons</source_model>
216
  <sort_order>11</sort_order>
217
  <show_in_default>1</show_in_default>
218
  <show_in_website>1</show_in_website>
276
  <title translate="label">
277
  <lable>Registration-as-a-Service</lable>
278
  <frontend_type>label</frontend_type>
279
+ <frontend_model>Gigya_Social_Block_Adminhtml_RaasTitles</frontend_model>
280
  <sort_order>10</sort_order>
281
  <show_in_default>1</show_in_default>
282
  <show_in_website>1</show_in_website>
317
  <profile_title translate="label">
318
  <lable>Registration-as-a-Service</lable>
319
  <frontend_type>label</frontend_type>
320
+ <frontend_model>Gigya_Social_Block_Adminhtml_RaasTitles</frontend_model>
321
  <sort_order>14</sort_order>
322
  <show_in_default>1</show_in_default>
323
  <show_in_website>1</show_in_website>
353
  <div_ids_title translate="label">
354
  <lable>Registration-as-a-Service</lable>
355
  <frontend_type>label</frontend_type>
356
+ <frontend_model>Gigya_Social_Block_Adminhtml_RaasTitles</frontend_model>
357
  <comment>
358
  <![CDATA[Specify the DIV IDs in which to embed the screen-sets. If the IDs are empty (default), then the screen-set would show as pop-up dialogs.]]></comment>
359
  <sort_order>18</sort_order>
517
  <layout translate="label">
518
  <label>Share Bar layout</label>
519
  <frontend_type>select</frontend_type>
520
+ <source_model>Gigya_Social_Model_Config_Source_Layout</source_model>
521
  <sort_order>13</sort_order>
522
  <show_in_default>1</show_in_default>
523
  <show_in_website>1</show_in_website>
526
  <showCounts translate="label">
527
  <label>Show counts</label>
528
  <frontend_type>select</frontend_type>
529
+ <source_model>Gigya_Social_Model_Config_Source_Counts</source_model>
530
  <sort_order>14</sort_order>
531
  <show_in_default>1</show_in_default>
532
  <show_in_website>1</show_in_website>
535
  <imageBehavior translate="label">
536
  <label>Image</label>
537
  <frontend_type>select</frontend_type>
538
+ <source_model>Gigya_Social_Model_Config_Source_Imageb</source_model>
539
  <sort_order>15</sort_order>
540
  <show_in_default>1</show_in_default>
541
  <show_in_website>1</show_in_website>
602
  <showAlwaysShare translate="label">
603
  <label>Show Always Share</label>
604
  <frontend_type>select</frontend_type>
605
+ <source_model>Gigya_Social_Model_Config_Source_AllwaysShare</source_model>
606
  <sort_order>11</sort_order>
607
  <show_in_default>1</show_in_default>
608
  <show_in_website>1</show_in_website>
640
  <scope translate="label">
641
  <label>Scope for publishing to Activity Feed</label>
642
  <frontend_type>select</frontend_type>
643
+ <source_model>Gigya_Social_Model_Config_Source_Scope</source_model>
644
  <comment>
645
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
646
  <sort_order>14</sort_order>
718
  <layout translate="label">
719
  <label>Reactions Bar layout</label>
720
  <frontend_type>select</frontend_type>
721
+ <source_model>Gigya_Social_Model_Config_Source_Layout</source_model>
722
  <sort_order>14</sort_order>
723
  <show_in_default>1</show_in_default>
724
  <show_in_website>1</show_in_website>
727
  <showCounts translate="label">
728
  <label>Show counts</label>
729
  <frontend_type>select</frontend_type>
730
+ <source_model>Gigya_Social_Model_Config_Source_Counts</source_model>
731
  <sort_order>15</sort_order>
732
  <show_in_default>1</show_in_default>
733
  <show_in_website>1</show_in_website>
736
  <countType translate="label">
737
  <label>Count type</label>
738
  <frontend_type>select</frontend_type>
739
+ <source_model>Gigya_Social_Model_Config_Source_CountType</source_model>
740
  <sort_order>15</sort_order>
741
  <show_in_default>1</show_in_default>
742
  <show_in_website>1</show_in_website>
756
  <scope translate="label">
757
  <label>Scope for publishing to Activity Feed</label>
758
  <frontend_type>select</frontend_type>
759
+ <source_model>Gigya_Social_Model_Config_Source_Scope</source_model>
760
  <comment>
761
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
762
  <sort_order>17</sort_order>
767
  <imageBehavior translate="label">
768
  <label>Image</label>
769
  <frontend_type>select</frontend_type>
770
+ <source_model>Gigya_Social_Model_Config_Source_Imageb</source_model>
771
  <sort_order>18</sort_order>
772
  <show_in_default>1</show_in_default>
773
  <show_in_website>1</show_in_website>
845
  <scope translate="label">
846
  <label>Scope for publishing to Activity Feed</label>
847
  <frontend_type>select</frontend_type>
848
+ <source_model>Gigya_Social_Model_Config_Source_Scope</source_model>
849
  <comment>
850
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
851
  <sort_order>13</sort_order>
924
  <privacy translate="label">
925
  <label>Privacy</label>
926
  <frontend_type>select</frontend_type>
927
+ <source_model>Gigya_Social_Model_Config_Source_Privacy</source_model>
928
  <sort_order>14</sort_order>
929
  <show_in_default>1</show_in_default>
930
  <show_in_website>1</show_in_website>
998
  <period translate="label">
999
  <label>Leaderboard Time Period</label>
1000
  <frontend_type>select</frontend_type>
1001
+ <source_model>Gigya_Social_Model_Config_Source_Leaderboard</source_model>
1002
  <sort_order>12</sort_order>
1003
  <show_in_default>1</show_in_default>
1004
  <show_in_website>1</show_in_website>
1083
  <scope translate="label">
1084
  <label>Scope for publishing to Activity Feed</label>
1085
  <frontend_type>select</frontend_type>
1086
+ <source_model>Gigya_Social_Model_Config_Source_Scope</source_model>
1087
  <comment>
1088
  <![CDATA[When publishing feed items, by default the feed items are published to social networks only and will not appear on the site's Activity Feed plugin. To change this behavior, you must change the publish scope to "Both"]]></comment>
1089
  <sort_order>13</sort_order>
app/code/community/Gigya/Social/sdk/GSSDK.php CHANGED
@@ -52,8 +52,7 @@ class GSRequest {
52
  private $path;
53
  private $traceLog = array();
54
  protected $method;
55
- #private $proxy = "localhost:8080";
56
- private $proxy;
57
  private $proxyType = CURLPROXY_HTTP;
58
  private $proxyUserPass = ":";
59
  private $curlArray = array();
52
  private $path;
53
  private $traceLog = array();
54
  protected $method;
55
+ private $proxy;
 
56
  private $proxyType = CURLPROXY_HTTP;
57
  private $proxyUserPass = ":";
58
  private $curlArray = array();
app/design/adminhtml/default/default/layout/gigya_admin.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <layout>
2
+ <default>
3
+ <reference name="head">
4
+ <action method="addJs">
5
+ <name>gigya/admin.js</name>
6
+ </action>
7
+ </reference>
8
+ </default>
9
+ </layout>
app/design/frontend/base/default/layout/aagigya.xml CHANGED
@@ -21,8 +21,8 @@
21
  </action>
22
  </reference>
23
  <reference name="before_body_end">
24
- <block type="Gigya_Social_Block_Gamification_notifications" name="gigya.gm.notifications"/>
25
- <block type="Gigya_Social_Block_share" name="gigya.share.action"/>
26
  </reference>
27
  <reference name="right">
28
  <block name="gigya.activity.feed" type="core/template" after="-" template="gigya/activityfeed.phtml"/>
@@ -63,7 +63,7 @@
63
  <block type="core/template" name="gigya.hp.login" before="-" template="gigya/login/social_login.phtml"/>
64
  </reference>
65
  <reference name="content">
66
- <block type="Gigya_Social_Block_Gamification_plugins" after="-" name="left.gigya.gm.blocks"
67
  template="gigya/gamification.phtml">
68
  <action method="setData">
69
  <name>layout</name>
@@ -79,7 +79,7 @@
79
  </cms_index_index>
80
  <customer_account_logoutsuccess>
81
  <reference name="head">
82
- <block type="Gigya_Social_Block_logout" name="gigya.logout.action"/>
83
  </reference>
84
  </customer_account_logoutsuccess>
85
  <customer_account_login>
@@ -187,7 +187,7 @@
187
  </review_product_view>
188
  <review_product_list>
189
  <reference name="content">
190
- <block type="Gigya_Social_Block_reviews" name="gigya.ratings" after="-"/>
191
  </reference>
192
  </review_product_list>
193
  </layout>
21
  </action>
22
  </reference>
23
  <reference name="before_body_end">
24
+ <block type="Gigya_Social_Block_Gamification_Notifications" name="gigya.gm.notifications"/>
25
+ <block type="Gigya_Social_Block_Share" name="gigya.share.action"/>
26
  </reference>
27
  <reference name="right">
28
  <block name="gigya.activity.feed" type="core/template" after="-" template="gigya/activityfeed.phtml"/>
63
  <block type="core/template" name="gigya.hp.login" before="-" template="gigya/login/social_login.phtml"/>
64
  </reference>
65
  <reference name="content">
66
+ <block type="Gigya_Social_Block_Gamification_Plugins" after="-" name="left.gigya.gm.blocks"
67
  template="gigya/gamification.phtml">
68
  <action method="setData">
69
  <name>layout</name>
79
  </cms_index_index>
80
  <customer_account_logoutsuccess>
81
  <reference name="head">
82
+ <block type="Gigya_Social_Block_Logout" name="gigya.logout.action"/>
83
  </reference>
84
  </customer_account_logoutsuccess>
85
  <customer_account_login>
187
  </review_product_view>
188
  <review_product_list>
189
  <reference name="content">
190
+ <block type="Gigya_Social_Block_Reviews" name="gigya.ratings" after="-"/>
191
  </reference>
192
  </review_product_list>
193
  </layout>
js/gigya/gigya.js CHANGED
@@ -453,7 +453,8 @@ gigyaFunctions.RnR = function (settings) {
453
  scope: settings.scope,
454
  privacy: settings.privacy,
455
  onCommentSubmitted: gigyaFunctions.postReview,
456
- userAction: ua
 
457
  };
458
  gigya.comments.showRatingUI(settings);
459
  gigya.comments.showCommentsUI(reviews);
453
  scope: settings.scope,
454
  privacy: settings.privacy,
455
  onCommentSubmitted: gigyaFunctions.postReview,
456
+ userAction: ua,
457
+ version: settings.version
458
  };
459
  gigya.comments.showRatingUI(settings);
460
  gigya.comments.showCommentsUI(reviews);
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Gigya_Socialize</name>
4
- <version>3.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gigya.com/member-agreement/">Gigya License</license>
7
  <channel>community</channel>
@@ -23,9 +23,9 @@ http://developers.gigya.com/015_Partners/030_CMS_and_Ecommerce_Platforms/050_Mag
23
  &#xD;
24
  </notes>
25
  <authors><author><name>Yaniv Aran-Shamir</name><user>Gigya</user><email>info@gigya-inc.com</email></author></authors>
26
- <date>2014-07-21</date>
27
- <time>08:38:45</time>
28
- <contents><target name="magecommunity"><dir name="Gigya"><dir><dir name="Social"><dir name="Block"><dir name="Adminhtml"><file name="RaasTitles.php" hash="c9371f10cdbf001a878acdb37a9331f3"/><file name="Version.php" hash="8a6adb0c33e9a34314bd2392a336513f"/></dir><file name="Emailform.php" hash="adff430d92d0262a93bdfd06e43eba77"/><dir name="Gamification"><file name="Notifications.php" hash="e6a1ef320771d4a975e66be95607f1e7"/><file name="Plugins.php" hash="ac54c592405dd3b53f884824c1ef9f2a"/></dir><dir name="Html"><file name="Head.php" hash="1b5b083629871a3411300f5424facc65"/></dir><file name="Login.php" hash="eb404ea02f1e1f4e463d71ac34ff2c00"/><file name="Logout.php" hash="b5c868bbf1f932f5107e85e64a4d7636"/><file name="Ordersharebar.php" hash="77f3eb55f012ade38c5ac03c6b432ab6"/><file name="Ratings.php" hash="b193ef2a6742020d4eb759c4eb54172c"/><file name="Reviews.php" hash="f3063c8639e22302437aacef860a5519"/><file name="Share.php" hash="f6bd21914d7e0eebba1b9157398c3b43"/><dir name="Template"><file name="Links.php" hash="68879a12717a23a684be7dffaa79e108"/></dir></dir><dir name="Helper"><file name="Data.php" hash="63b1f9f44ef9b0d7cebcadfe78d0f58a"/></dir><dir name="Model"><dir name="Cart"><file name="Observer.php" hash="d8c4b821dcaea049496fec2f0b5f07ac"/></dir><dir name="Config"><dir name="Backend"><file name="ApiKey.php" hash="d36158874ccb4c2f920746eb5654542e"/><file name="Counters.php" hash="218aae8bf0497bc25aaec94195c0ab02"/><file name="Gm.php" hash="a2ba7beaf07c4d7bc5e8736f5b7d3272"/><file name="UserMode.php" hash="25e5ec4314202cd943c9ef4da4fc0ed1"/></dir><dir name="Source"><file name="AllwaysShare.php" hash="a49379230b6b4478725c06d2d0421a5c"/><file name="Buttons.php" hash="1fcdc7bd6c48d5cf51839f90e7c1b350"/><file name="CountType.php" hash="6f32a7ddbdeef69c26f25a8fbe8dffd8"/><file name="Counts.php" hash="fbf37735c569c7615abc8e8db073bfea"/><file name="Datacenter.php" hash="60710277b75126abccf9d1eb96f3a05d"/><file name="Imageb.php" hash="e148c69185fbb8869c1acabcd8e9379e"/><file name="Languages.php" hash="4b258de03b6a56bb6f352d6d60a728a8"/><file name="Layout.php" hash="4b342404359e3e2a02d11f0d0dabb13c"/><file name="Leaderboard.php" hash="b2f631e4d79fe70fe9f2d0c5f02247fe"/><file name="LoginModes.php" hash="5444715102f83758ebf193b8343fb28b"/><file name="Loginb.php" hash="9edf0f63a54fd1c5828efcd4ca0550cf"/><file name="Privacy.php" hash="74252005f3bd4d8189b4d6b029a2f21e"/><file name="Scope.php" hash="b0e7836ce30e46147c62de136f79660f"/></dir></dir><dir name="Customer"><file name="Observer.php" hash="a0b3c1f7d30bf410943ee2d084718451"/></dir></dir><dir name="controllers"><file name="AccountController.php" hash="acf6dd20ae79860b835c4af3637408c8"/><file name="AdminController.php" hash="740511268dd5a6bb032ef68450b5b8dd"/><file name="LoginController.php" hash="815ec7b821c4ba2b5eda863ea9dc5517"/><file name="ReviewsController.php" hash="467b93e6b5f418b24d20d81f026b33d9"/></dir><dir name="etc"><file name="config.xml" hash="428e1efee90c487c8596c9650bedcb4b"/><file name="system.xml" hash="c21b65e8ee5a558b59adcd8d0192f8ae"/></dir><dir name="sdk"><file name="GSSDK.php" hash="87131c2f32b823486e930af51a1e3baf"/><file name="cacert.pem" hash="1fb001624232803a8697350b6500a1e1"/><file name="gigyaCMS.php" hash="e4eae2b3bddc57892cee09610d8333cc"/></dir><dir name="sql"><dir name="Gigya_Social_setup"><file name="mysql4-install-3.0.0.php" hash="44d9705097928a4530644d00940982f6"/><file name="mysql4-upgrade-2.0.3-3.0.0.php" hash="44d9705097928a4530644d00940982f6"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="aagigya.xml" hash="6361678aaf1f39734e251456f80cd63a"/></dir><dir name="template"><dir name="gigya"><file name="activityfeed.phtml" hash="da223a978be158c432c00534d9a2124d"/><file name="comments.phtml" hash="6f58951124d375cd2fddf5517c2501f5"/><dir><dir name="dashboard"><file name="info.phtml" hash="01786401a2d845c0f987257d55fc823a"/></dir><dir name="form"><file name="emailForm.phtml" hash="c96d44c1435d40a5fe199facd1e06452"/><file name="login.phtml" hash="4caa3aa9df51a326707b801a5f75107e"/><file name="mini.login.phtml" hash="a4612e9f7105e835fe3932a196da69ea"/></dir><dir name="login"><file name="link_accounts.phtml" hash="63bf154045a80c3f5c581047ee406d46"/><file name="social_login.phtml" hash="850cf6b4f5bbf0efb502ec62b8c154ba"/><file name="social_login_login_page.phtml" hash="ac62701973d6ad904c6b8da75cab58f4"/></dir><dir name="ratings"><file name="summary.phtml" hash="f8434e8acb4b45e8ab8f8d926c64cb9b"/><file name="summary_short.phtml" hash="d9dec30e88871dbf24027670f7c05b0e"/></dir><dir name="share"><file name="ordersharebar.phtml" hash="a98bc14f1cc62f0b7029e72c1c2b3668"/><file name="reactions.phtml" hash="e49a5b139f3e8d4232251ddadb24a20a"/><file name="sharebar.phtml" hash="3b9603cb5af4475bf27bd4439830905f"/></dir></dir><file name="gamification.phtml" hash="67159b9bb0cae9e3734580aee8859b52"/><file name="ratings.phtml" hash="b07b97f389349529c885f484f5a24c81"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Gigya_Social.xml" hash="e5f95ec2941faac5d4ed834f8c1c8b15"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="gigya.css" hash="7efd70bcae6bc653823c02c1912973a0"/></dir><dir name="images"><dir name="gigya"><file name="RateIcon_13.png" hash="fac2db4eab60d7639704868f5a62fdda"/><file name="RateIcon_13_pressed.png" hash="3115cb2ab0b1b3ae0929b4756f67dc38"/><file name="RateIcon_21.png" hash="4b7bfd13d66e8565f04aa045aa766b7a"/><file name="RateIcon_21_pressed.png" hash="6d779713ad683a9b24a4353875cfcaca"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="gigya"><file name="admin.js" hash="fa3e9a5214a56fce87d921418873019d"/><file name="gigya.js" hash="da4e7211a38a1bc7ea3a76958a5f0610"/><file name="onepage_raas.js" hash="03203c9b024f8489a9b3fa5d62154a20"/></dir></dir></target></contents>
29
  <compatible/>
30
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
31
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Gigya_Socialize</name>
4
+ <version>3.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gigya.com/member-agreement/">Gigya License</license>
7
  <channel>community</channel>
23
  &#xD;
24
  </notes>
25
  <authors><author><name>Yaniv Aran-Shamir</name><user>Gigya</user><email>info@gigya-inc.com</email></author></authors>
26
+ <date>2014-10-20</date>
27
+ <time>13:53:12</time>
28
+ <contents><target name="magecommunity"><dir name="Gigya"><dir><dir name="Social"><dir name="Block"><dir name="Adminhtml"><file name="RaasTitles.php" hash="c9371f10cdbf001a878acdb37a9331f3"/><file name="Version.php" hash="8a6adb0c33e9a34314bd2392a336513f"/></dir><file name="Emailform.php" hash="adff430d92d0262a93bdfd06e43eba77"/><dir name="Gamification"><file name="Notifications.php" hash="e6a1ef320771d4a975e66be95607f1e7"/><file name="Plugins.php" hash="ac54c592405dd3b53f884824c1ef9f2a"/></dir><dir name="Html"><file name="Head.php" hash="1b5b083629871a3411300f5424facc65"/></dir><file name="Login.php" hash="eb404ea02f1e1f4e463d71ac34ff2c00"/><file name="Logout.php" hash="b5c868bbf1f932f5107e85e64a4d7636"/><file name="Ordersharebar.php" hash="77f3eb55f012ade38c5ac03c6b432ab6"/><file name="Ratings.php" hash="b193ef2a6742020d4eb759c4eb54172c"/><file name="Reviews.php" hash="f3063c8639e22302437aacef860a5519"/><file name="Share.php" hash="f6bd21914d7e0eebba1b9157398c3b43"/><dir name="Template"><file name="Links.php" hash="68879a12717a23a684be7dffaa79e108"/></dir></dir><dir name="Helper"><file name="Data.php" hash="5972215576323d7363316ab2347bf5dc"/></dir><dir name="Model"><dir name="Cart"><file name="Observer.php" hash="d8c4b821dcaea049496fec2f0b5f07ac"/></dir><dir name="Config"><dir name="Backend"><file name="ApiKey.php" hash="d36158874ccb4c2f920746eb5654542e"/><file name="Counters.php" hash="218aae8bf0497bc25aaec94195c0ab02"/><file name="Gm.php" hash="a2ba7beaf07c4d7bc5e8736f5b7d3272"/><file name="UserMode.php" hash="25e5ec4314202cd943c9ef4da4fc0ed1"/></dir><dir name="Source"><file name="AllwaysShare.php" hash="a49379230b6b4478725c06d2d0421a5c"/><file name="Buttons.php" hash="1fcdc7bd6c48d5cf51839f90e7c1b350"/><file name="CountType.php" hash="6f32a7ddbdeef69c26f25a8fbe8dffd8"/><file name="Counts.php" hash="fbf37735c569c7615abc8e8db073bfea"/><file name="Datacenter.php" hash="60710277b75126abccf9d1eb96f3a05d"/><file name="Imageb.php" hash="e148c69185fbb8869c1acabcd8e9379e"/><file name="Languages.php" hash="4b258de03b6a56bb6f352d6d60a728a8"/><file name="Layout.php" hash="4b342404359e3e2a02d11f0d0dabb13c"/><file name="Leaderboard.php" hash="b2f631e4d79fe70fe9f2d0c5f02247fe"/><file name="LoginModes.php" hash="5444715102f83758ebf193b8343fb28b"/><file name="Loginb.php" hash="9edf0f63a54fd1c5828efcd4ca0550cf"/><file name="Privacy.php" hash="74252005f3bd4d8189b4d6b029a2f21e"/><file name="Scope.php" hash="b0e7836ce30e46147c62de136f79660f"/></dir></dir><dir name="Customer"><file name="Observer.php" hash="a0b3c1f7d30bf410943ee2d084718451"/></dir></dir><dir name="controllers"><file name="AccountController.php" hash="acf6dd20ae79860b835c4af3637408c8"/><file name="AdminController.php" hash="740511268dd5a6bb032ef68450b5b8dd"/><file name="LoginController.php" hash="31d054dfe8263e0c56d85df669ddd40a"/><file name="ReviewsController.php" hash="467b93e6b5f418b24d20d81f026b33d9"/></dir><dir name="etc"><file name="config.xml" hash="428e1efee90c487c8596c9650bedcb4b"/><file name="system.xml" hash="1432d81214382649c5ea2a584ffa952c"/></dir><dir name="sdk"><file name="GSSDK.php" hash="3d5d95288da994cba8cf315f12b49fc7"/><file name="cacert.pem" hash="1fb001624232803a8697350b6500a1e1"/><file name="gigyaCMS.php" hash="e4eae2b3bddc57892cee09610d8333cc"/></dir><dir name="sql"><dir name="Gigya_Social_setup"><file name="mysql4-install-3.0.0.php" hash="44d9705097928a4530644d00940982f6"/><file name="mysql4-upgrade-2.0.3-3.0.0.php" hash="44d9705097928a4530644d00940982f6"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="aagigya.xml" hash="af8120f1b1ec18ce77d6d1d9fdbde53c"/></dir><dir name="template"><dir name="gigya"><file name="activityfeed.phtml" hash="da223a978be158c432c00534d9a2124d"/><file name="comments.phtml" hash="6f58951124d375cd2fddf5517c2501f5"/><dir><dir name="dashboard"><file name="info.phtml" hash="01786401a2d845c0f987257d55fc823a"/></dir><dir name="form"><file name="emailForm.phtml" hash="c96d44c1435d40a5fe199facd1e06452"/><file name="login.phtml" hash="4caa3aa9df51a326707b801a5f75107e"/><file name="mini.login.phtml" hash="a4612e9f7105e835fe3932a196da69ea"/></dir><dir name="login"><file name="link_accounts.phtml" hash="63bf154045a80c3f5c581047ee406d46"/><file name="social_login.phtml" hash="850cf6b4f5bbf0efb502ec62b8c154ba"/><file name="social_login_login_page.phtml" hash="ac62701973d6ad904c6b8da75cab58f4"/></dir><dir name="ratings"><file name="summary.phtml" hash="f8434e8acb4b45e8ab8f8d926c64cb9b"/><file name="summary_short.phtml" hash="d9dec30e88871dbf24027670f7c05b0e"/></dir><dir name="share"><file name="ordersharebar.phtml" hash="a98bc14f1cc62f0b7029e72c1c2b3668"/><file name="reactions.phtml" hash="e49a5b139f3e8d4232251ddadb24a20a"/><file name="sharebar.phtml" hash="3b9603cb5af4475bf27bd4439830905f"/></dir></dir><file name="gamification.phtml" hash="67159b9bb0cae9e3734580aee8859b52"/><file name="ratings.phtml" hash="b07b97f389349529c885f484f5a24c81"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="gigya_admin.xml" hash="92c13ad4731e138c8ee2d0584afda381"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Gigya_Social.xml" hash="e5f95ec2941faac5d4ed834f8c1c8b15"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="gigya.css" hash="7efd70bcae6bc653823c02c1912973a0"/></dir><dir name="images"><dir name="gigya"><file name="RateIcon_13.png" hash="fac2db4eab60d7639704868f5a62fdda"/><file name="RateIcon_13_pressed.png" hash="3115cb2ab0b1b3ae0929b4756f67dc38"/><file name="RateIcon_21.png" hash="4b7bfd13d66e8565f04aa045aa766b7a"/><file name="RateIcon_21_pressed.png" hash="6d779713ad683a9b24a4353875cfcaca"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="gigya"><file name="admin.js" hash="fa3e9a5214a56fce87d921418873019d"/><file name="gigya.js" hash="341a52ffaeef5c6d4ae8f6ea36d1e355"/><file name="onepage_raas.js" hash="03203c9b024f8489a9b3fa5d62154a20"/></dir></dir></target></contents>
29
  <compatible/>
30
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
31
  </package>