diff --git a/app/code/community/Inchoo/SocialConnect/Helper/Facebook.php b/app/code/community/Inchoo/SocialConnect/Helper/Facebook.php index 6b82b6f..cfda32d 100644 --- a/app/code/community/Inchoo/SocialConnect/Helper/Facebook.php +++ b/app/code/community/Inchoo/SocialConnect/Helper/Facebook.php @@ -125,6 +125,7 @@ public function getCustomersByFacebookId($facebookId) $customer = Mage::getModel('customer/customer'); $collection = $customer->getCollection() + ->addAttributeToSelect('inchoo_socialconnect_ftoken') ->addAttributeToFilter('inchoo_socialconnect_fid', $facebookId) ->setPageSize(1); diff --git a/app/code/community/Inchoo/SocialConnect/Helper/Google.php b/app/code/community/Inchoo/SocialConnect/Helper/Google.php index 36c8393..4bd95db 100644 --- a/app/code/community/Inchoo/SocialConnect/Helper/Google.php +++ b/app/code/community/Inchoo/SocialConnect/Helper/Google.php @@ -115,6 +115,7 @@ public function getCustomersByGoogleId($googleId) $customer = Mage::getModel('customer/customer'); $collection = $customer->getCollection() + ->addAttributeToSelect('inchoo_socialconnect_gtoken') ->addAttributeToFilter('inchoo_socialconnect_gid', $googleId) ->setPageSize(1); diff --git a/app/code/community/Inchoo/SocialConnect/Helper/Linkedin.php b/app/code/community/Inchoo/SocialConnect/Helper/Linkedin.php index a4cfcf4..33b3b77 100644 --- a/app/code/community/Inchoo/SocialConnect/Helper/Linkedin.php +++ b/app/code/community/Inchoo/SocialConnect/Helper/Linkedin.php @@ -110,6 +110,7 @@ public function getCustomersByLinkedinId($linkedinId) $customer = Mage::getModel('customer/customer'); $collection = $customer->getCollection() + ->addAttributeToSelect('inchoo_socialconnect_ltoken') ->addAttributeToFilter('inchoo_socialconnect_lid', $linkedinId) ->setPageSize(1); diff --git a/app/code/community/Inchoo/SocialConnect/Helper/Twitter.php b/app/code/community/Inchoo/SocialConnect/Helper/Twitter.php index be72af7..2e5f85d 100644 --- a/app/code/community/Inchoo/SocialConnect/Helper/Twitter.php +++ b/app/code/community/Inchoo/SocialConnect/Helper/Twitter.php @@ -117,6 +117,7 @@ public function getCustomersByTwitterId($twitterId) $customer = Mage::getModel('customer/customer'); $collection = $customer->getCollection() + ->addAttributeToSelect('inchoo_socialconnect_ttoken') ->addAttributeToFilter('inchoo_socialconnect_tid', $twitterId) ->setPageSize(1); diff --git a/app/code/community/Inchoo/SocialConnect/Model/Facebook/Info.php b/app/code/community/Inchoo/SocialConnect/Model/Facebook/Info.php index 6f23aa1..87b7321 100644 --- a/app/code/community/Inchoo/SocialConnect/Model/Facebook/Info.php +++ b/app/code/community/Inchoo/SocialConnect/Model/Facebook/Info.php @@ -104,7 +104,7 @@ protected function _load() $response = $this->client->api( '/me', 'GET', - $this->params + array('fields' => implode(',', $this->params)) ); foreach ($response as $key => $value) { diff --git a/app/code/community/Inchoo/SocialConnect/controllers/TwitterController.php b/app/code/community/Inchoo/SocialConnect/controllers/TwitterController.php index 88cf227..e2f1fa4 100644 --- a/app/code/community/Inchoo/SocialConnect/controllers/TwitterController.php +++ b/app/code/community/Inchoo/SocialConnect/controllers/TwitterController.php @@ -19,8 +19,6 @@ public function requestAction() Mage::getSingleton('core/session')->addError($e->getMessage()); Mage::logException($e); - $this->_sessionCleanup(); - if(!empty($referer)) { $this->_redirectUrl($referer); } else { @@ -148,4 +146,4 @@ protected function _connectCallback() { return $this; } -} \ No newline at end of file +} diff --git a/app/code/community/Inchoo/SocialConnect/etc/config.xml b/app/code/community/Inchoo/SocialConnect/etc/config.xml index baf357d..f22fb2f 100644 --- a/app/code/community/Inchoo/SocialConnect/etc/config.xml +++ b/app/code/community/Inchoo/SocialConnect/etc/config.xml @@ -37,7 +37,7 @@ - 0.3.6 + 0.3.7 diff --git a/app/design/frontend/base/default/template/inchoo/socialconnect/customer/form/register.phtml b/app/design/frontend/base/default/template/inchoo/socialconnect/customer/form/register.phtml index 885a814..860485b 100644 --- a/app/design/frontend/base/default/template/inchoo/socialconnect/customer/form/register.phtml +++ b/app/design/frontend/base/default/template/inchoo/socialconnect/customer/form/register.phtml @@ -43,6 +43,7 @@
+

__('Personal Information') ?>

  • diff --git a/modman b/modman index 30eb4e9..551ee2c 100644 --- a/modman +++ b/modman @@ -5,8 +5,10 @@ app/etc/modules/Inchoo_SocialConnect.xml app/etc/module skin/frontend/base/default/inchoo_socialconnect/ skin/frontend/base/default/inchoo_socialconnect/ app/locale/da_DK/Inchoo_SocialConnect.csv app/locale/da_DK/Inchoo_SocialConnect.csv app/locale/en_US/Inchoo_SocialConnect.csv app/locale/en_US/Inchoo_SocialConnect.csv +app/locale/es_ES/Inchoo_SocialConnect.csv app/locale/es_ES/Inchoo_SocialConnect.csv app/locale/sl_SI/Inchoo_SocialConnect.csv app/locale/sl_SI/Inchoo_SocialConnect.csv app/locale/de_DE/Inchoo_SocialConnect.csv app/locale/de_DE/Inchoo_SocialConnect.csv app/locale/fr_FR/Inchoo_SocialConnect.csv app/locale/fr_FR/Inchoo_SocialConnect.csv app/locale/es_MX/Inchoo_SocialConnect.csv app/locale/es_MX/Inchoo_SocialConnect.csv app/locale/it_IT/Inchoo_SocialConnect.csv app/locale/it_IT/Inchoo_SocialConnect.csv +app/locale/tr_TR/Inchoo_SocialConnect.csv app/locale/tr_TR/Inchoo_SocialConnect.csv