Janrain_Engage_Plugin - Version 1.1.0

Version Notes

Bug fixes

Download this release

Release Info

Developer Magento Core Team
Extension Janrain_Engage_Plugin
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.9 to 1.1.0

app/code/local/Janrain/Engage/Helper/Data.php CHANGED
@@ -10,7 +10,7 @@ class Janrain_Engage_Helper_Data extends Mage_Core_Helper_Abstract {
10
'Twitter' => 'twitter',
11
'Windows Live' => 'live_id',
12
'Yahoo!' => 'yahoo',
13
- 'Aol' => 'aol',
14
'Blogger' => 'blogger',
15
'Flickr' => 'flickr',
16
'Hyves' => 'hyves',
10
'Twitter' => 'twitter',
11
'Windows Live' => 'live_id',
12
'Yahoo!' => 'yahoo',
13
+ 'AOL' => 'aol',
14
'Blogger' => 'blogger',
15
'Flickr' => 'flickr',
16
'Hyves' => 'hyves',
app/code/local/Janrain/Engage/Helper/Rpxcall.php CHANGED
@@ -157,26 +157,39 @@ class Janrain_Engage_Helper_Rpxcall extends Mage_Core_Helper_Abstract {
157
}
158
159
public function getFirstName($auth_info) {
160
- if(isset($auth_info->profile->name->givenName))
161
return $auth_info->profile->name->givenName;
162
163
$name = str_replace(",", "", $auth_info->profile->name->formatted);
164
165
- $split = explode(" ", $name);
166
167
- $fName = $split[0] ? $split[0] : '';
168
return $fName;
169
}
170
171
public function getLastName($auth_info) {
172
- if(isset($auth_info->profile->name->familyName))
173
return $auth_info->profile->name->familyName;
174
175
$name = str_replace(",", "", $auth_info->profile->name->formatted);
176
$split = explode(" ", $name);
177
$key = sizeof($split) - 1;
178
179
- $lName = $split[$key] ? $split[$key] : '';
180
return $lName;
181
}
182
157
}
158
159
public function getFirstName($auth_info) {
160
+ if (isset($auth_info->profile->name->givenName))
161
return $auth_info->profile->name->givenName;
162
+
163
+ if (!isset($auth_info->profile->name->formatted))
164
+ return '';
165
166
$name = str_replace(",", "", $auth_info->profile->name->formatted);
167
168
+ if (!$name)
169
+ return '';
170
+
171
+ $split = explode(" ", $name);
172
173
+ $fName = isset($split[0]) ? $split[0] : '';
174
return $fName;
175
}
176
177
public function getLastName($auth_info) {
178
+ if (isset($auth_info->profile->name->familyName))
179
return $auth_info->profile->name->familyName;
180
+
181
+ if (!isset($auth_info->profile->name->formatted))
182
+ return '';
183
184
$name = str_replace(",", "", $auth_info->profile->name->formatted);
185
+
186
+ if (!$name)
187
+ return '';
188
+
189
$split = explode(" ", $name);
190
$key = sizeof($split) - 1;
191
192
+ $lName = isset($split[$key]) ? $split[$key] : '';
193
return $lName;
194
}
195
app/code/local/Janrain/Engage/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
<config>
4
<modules>
5
<Janrain_Engage>
6
- <version>1.0.9</version>
7
</Janrain_Engage>
8
</modules>
9
<frontend>
3
<config>
4
<modules>
5
<Janrain_Engage>
6
+ <version>1.1.0</version>
7
</Janrain_Engage>
8
</modules>
9
<frontend>
app/code/local/Janrain/Engage/sql/engage_setup/{mysql4-install-1.0.9.php → mysql4-install-1.1.0.php} RENAMED
File without changes
package.xml CHANGED
@@ -1,18 +1,18 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Janrain_Engage_Plugin</name>
4
- <version>1.0.9</version>
5
<stability>stable</stability>
6
<license>Apache Software Licence</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>Implements Janrain Engage for Magento</summary>
10
<description>Adds social sign on, social sharing, and account mapping with social providers.</description>
11
- <notes>Bug fixes and interface changes</notes>
12
<authors><author><name>Bryce Hamrick</name><user>auto-converted</user><email>bryce@janrain.com</email></author></authors>
13
- <date>2011-06-10</date>
14
- <time>16:53:10</time>
15
- <contents><target name="magelocal"><dir name="Janrain"><dir name="Engage"><dir name="Block"><file name="Accountdata.php" hash="91a63624b0f94f312fcb53cf162bcd12"/><file name="Auth.php" hash="5abb88aa339528d4d891b980771181b8"/><file name="Info.php" hash="50058bcca2c8ed155e1a02c57bb0fc28"/><file name="Share.php" hash="4b8d5ce90cb71df8930071a5748e2e96"/></dir><dir name="Helper"><file name="Data.php" hash="c1c4d862551ef3c2d6636aaad491eac7"/><file name="Identifiers.php" hash="0ce70399da045b1737d0447d63b2bb95"/><file name="Rpxcall.php" hash="ec41fde1ed1df7ebf54723eddb0745e2"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Identifiers"><file name="Collection.php" hash="e4b5714402da64d4127d155f713dd102"/></dir><file name="Identifiers.php" hash="7417902ae79030317ba9f4c89b94d56d"/></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="63dbeb555b0328e5de9a414023b3c67e"/></dir></dir></dir><file name="Customer.php" hash="6bdfec355f0396dba19df2330f7beefe"/><file name="Identifiers.php" hash="474ac9fd4d386eec1ada05a19947af4e"/><file name="Observer.php" hash="6f2d4de4cf9cd62f9861a332332d380f"/><file name="Session.php" hash="2d22a0c1cef86704021f8c4e20b0960d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LookupController.php" hash="32e87c5f0415be82d4a0b54b29fd1c40"/></dir><file name="IndexController.php" hash="7de3e6f4a97f684c53f544bf5dc4bf3a"/><file name="RpxController.php" hash="1627a452375e66b058bdde1d2236baa4"/></dir><dir name="etc"><file name="config.xml" hash="aff975ba478cf46d4d3398a92ddefe78"/><file name="system.xml" hash="b8ef2e5b474c41ad3e22bdf643099ccc"/><file name="widget.xml" hash="588eff3a767ca98d446d54c19e38527a"/></dir><dir name="sql"><dir name="engage_setup"><file name="mysql4-install-1.0.9.php" hash="2ce66b0568ed83142c04c2ff03f0db0c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="janrain"><dir name="engage"><file name="dashboard.phtml" hash="b120ac7c01c7c4ffffb7e44e0ff10fd6"/><file name="duplicate.phtml" hash="bba081ce0c222119e0e9211076b17693"/><file name="register.phtml" hash="308fee19c99b61ff77e2de2eae63f3f2"/><file name="scripts.phtml" hash="581ca7202aa33bf1ff7f45aaa1dde2ad"/><file name="styles.phtml" hash="ca05b526c304c789c5cb31e266d5929b"/></dir></dir></dir><dir name="layout"><file name="engage.xml" hash="98d1fe3fd7b441629ba8366d86e5978d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Janrain_Engage.xml" hash="fc970ee3b01aa20d142665fecd3a97fb"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Janrain_Engage.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="janrain"><file name="jn-icons16.png" hash="b32bc05f1eeeed0b1859141df0d11506"/><file name="jn-icons32.png" hash="ccbef20afccb55f28a3fe2869a91a5f0"/><file name="rpx_xdcomm.html" hash="9b9130d8aafb8a4be6b36b18c3db1035"/><file name="stylesheet.css" hash="533b334c85386b3720676928271afeb0"/></dir></dir></target></contents>
16
<compatible/>
17
<dependencies/>
18
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Janrain_Engage_Plugin</name>
4
+ <version>1.1.0</version>
5
<stability>stable</stability>
6
<license>Apache Software Licence</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>Implements Janrain Engage for Magento</summary>
10
<description>Adds social sign on, social sharing, and account mapping with social providers.</description>
11
+ <notes>Bug fixes</notes>
12
<authors><author><name>Bryce Hamrick</name><user>auto-converted</user><email>bryce@janrain.com</email></author></authors>
13
+ <date>2011-06-11</date>
14
+ <time>22:32:41</time>
15
+ <contents><target name="magelocal"><dir name="Janrain"><dir name="Engage"><dir name="Block"><file name="Accountdata.php" hash="91a63624b0f94f312fcb53cf162bcd12"/><file name="Auth.php" hash="5abb88aa339528d4d891b980771181b8"/><file name="Info.php" hash="50058bcca2c8ed155e1a02c57bb0fc28"/><file name="Share.php" hash="4b8d5ce90cb71df8930071a5748e2e96"/></dir><dir name="Helper"><file name="Data.php" hash="2f77a67b3988eb624c63ea4547733543"/><file name="Identifiers.php" hash="0ce70399da045b1737d0447d63b2bb95"/><file name="Rpxcall.php" hash="7ca45f0d26e8a67e91c4dc1e2151acc5"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Identifiers"><file name="Collection.php" hash="e4b5714402da64d4127d155f713dd102"/></dir><file name="Identifiers.php" hash="7417902ae79030317ba9f4c89b94d56d"/></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="63dbeb555b0328e5de9a414023b3c67e"/></dir></dir></dir><file name="Customer.php" hash="6bdfec355f0396dba19df2330f7beefe"/><file name="Identifiers.php" hash="474ac9fd4d386eec1ada05a19947af4e"/><file name="Observer.php" hash="6f2d4de4cf9cd62f9861a332332d380f"/><file name="Session.php" hash="2d22a0c1cef86704021f8c4e20b0960d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LookupController.php" hash="32e87c5f0415be82d4a0b54b29fd1c40"/></dir><file name="IndexController.php" hash="7de3e6f4a97f684c53f544bf5dc4bf3a"/><file name="RpxController.php" hash="1627a452375e66b058bdde1d2236baa4"/></dir><dir name="etc"><file name="config.xml" hash="b515ad2ebf12bbdcee0d29c27f5c9c3f"/><file name="system.xml" hash="b8ef2e5b474c41ad3e22bdf643099ccc"/><file name="widget.xml" hash="588eff3a767ca98d446d54c19e38527a"/></dir><dir name="sql"><dir name="engage_setup"><file name="mysql4-install-1.1.0.php" hash="2ce66b0568ed83142c04c2ff03f0db0c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="janrain"><dir name="engage"><file name="dashboard.phtml" hash="b120ac7c01c7c4ffffb7e44e0ff10fd6"/><file name="duplicate.phtml" hash="bba081ce0c222119e0e9211076b17693"/><file name="register.phtml" hash="308fee19c99b61ff77e2de2eae63f3f2"/><file name="scripts.phtml" hash="581ca7202aa33bf1ff7f45aaa1dde2ad"/><file name="styles.phtml" hash="ca05b526c304c789c5cb31e266d5929b"/></dir></dir></dir><dir name="layout"><file name="engage.xml" hash="98d1fe3fd7b441629ba8366d86e5978d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Janrain_Engage.xml" hash="fc970ee3b01aa20d142665fecd3a97fb"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Janrain_Engage.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="janrain"><file name="jn-icons16.png" hash="b32bc05f1eeeed0b1859141df0d11506"/><file name="jn-icons32.png" hash="ccbef20afccb55f28a3fe2869a91a5f0"/><file name="rpx_xdcomm.html" hash="9b9130d8aafb8a4be6b36b18c3db1035"/><file name="stylesheet.css" hash="533b334c85386b3720676928271afeb0"/></dir></dir></target></contents>
16
<compatible/>
17
<dependencies/>
18
</package>