Version Notes
Improved integration with other Plumrocket Extensions
Download this release
Release Info
Developer | Plumrocket Team |
Extension | Plumrocket_Twitter_Facebook_Login |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- app/code/community/Plumrocket/SocialLogin/Block/General.php +8 -3
- app/code/community/Plumrocket/SocialLogin/Block/System/Config/Callbackurl.php +129 -9
- app/code/community/Plumrocket/SocialLogin/Block/System/Config/Version.php +2 -9
- app/code/community/Plumrocket/SocialLogin/Helper/Data.php +1 -1
- app/code/community/Plumrocket/SocialLogin/Helper/Main.php +115 -0
- app/code/community/Plumrocket/SocialLogin/Model/Account.php +19 -12
- app/code/community/Plumrocket/SocialLogin/Model/Observer.php +18 -9
- app/code/community/Plumrocket/SocialLogin/etc/config.xml +1 -10
- app/design/frontend/base/default/layout/pslogin.xml +6 -1
- app/design/frontend/base/default/template/pslogin/js.phtml +30 -0
- app/etc/modules/Plumrocket_SocialLogin.xml +1 -1
- package.xml +6 -9
app/code/community/Plumrocket/SocialLogin/Block/General.php
CHANGED
@@ -20,20 +20,25 @@ class Plumrocket_SocialLogin_Block_General extends Mage_Core_Block_Template
|
|
20 |
{
|
21 |
protected function _toHtml()
|
22 |
{
|
|
|
|
|
|
|
|
|
|
|
23 |
$moduleName = $this->getRequest()->getModuleName();
|
24 |
|
25 |
// Set current store.
|
26 |
if($moduleName != 'pslogin') {
|
27 |
$currentStoreId = Mage::app()->getStore()->getId();
|
28 |
-
|
29 |
}
|
30 |
|
31 |
// Set referer.
|
32 |
if(!$customerId = Mage::getSingleton('customer/session')->getCustomerId()) {
|
33 |
-
$skipModules =
|
34 |
if( ($moduleName != 'cms' && $this->getRequest()->getActionName() != 'noRoute') && !in_array($moduleName, $skipModules)) {
|
35 |
$referer = $this->helper('core/url')->getCurrentBase64Url();
|
36 |
-
|
37 |
}
|
38 |
}
|
39 |
|
20 |
{
|
21 |
protected function _toHtml()
|
22 |
{
|
23 |
+
$helper = Mage::helper('pslogin');
|
24 |
+
if(!$helper->moduleEnabled()) {
|
25 |
+
return;
|
26 |
+
}
|
27 |
+
|
28 |
$moduleName = $this->getRequest()->getModuleName();
|
29 |
|
30 |
// Set current store.
|
31 |
if($moduleName != 'pslogin') {
|
32 |
$currentStoreId = Mage::app()->getStore()->getId();
|
33 |
+
$helper->refererStore($currentStoreId);
|
34 |
}
|
35 |
|
36 |
// Set referer.
|
37 |
if(!$customerId = Mage::getSingleton('customer/session')->getCustomerId()) {
|
38 |
+
$skipModules = $helper->getRefererLinkSkipModules();
|
39 |
if( ($moduleName != 'cms' && $this->getRequest()->getActionName() != 'noRoute') && !in_array($moduleName, $skipModules)) {
|
40 |
$referer = $this->helper('core/url')->getCurrentBase64Url();
|
41 |
+
$helper->refererLink($referer);
|
42 |
}
|
43 |
}
|
44 |
|
app/code/community/Plumrocket/SocialLogin/Block/System/Config/Callbackurl.php
CHANGED
@@ -18,16 +18,22 @@
|
|
18 |
|
19 |
class Plumrocket_SocialLogin_Block_System_Config_Callbackurl extends Mage_Adminhtml_Block_System_Config_Form_Field
|
20 |
{
|
21 |
-
|
|
|
22 |
{
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
33 |
{
|
@@ -35,4 +41,118 @@ class Plumrocket_SocialLogin_Block_System_Config_Callbackurl extends Mage_Adminh
|
|
35 |
$url = Mage::helper('pslogin')->getCallbackURL($providerName);
|
36 |
return '<input id="'. $element->getHtmlId() .'" type="text" name="" value="'. $url .'" class="input-text pslogin-callbackurl-autofocus" style="background-color: #EEE; color: #999;" readonly="readonly" />';
|
37 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
}
|
18 |
|
19 |
class Plumrocket_SocialLogin_Block_System_Config_Callbackurl extends Mage_Adminhtml_Block_System_Config_Form_Field
|
20 |
{
|
21 |
+
|
22 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
{
|
24 |
+
$ck = 'plbssimain';
|
25 |
+
$_session = Mage::getSingleton('admin/session');
|
26 |
+
$d = 259200;
|
27 |
+
$t = time();
|
28 |
+
if ($d + Mage::app()->loadCache($ck) < $t) {
|
29 |
+
if ($d + $_session->getPlbssimain() < $t) {
|
30 |
+
$_session->setPlbssimain($t);
|
31 |
+
Mage::app()->saveCache($t, $ck);
|
32 |
+
return parent::render($element).$this->_getI();
|
33 |
+
}
|
34 |
+
}
|
35 |
+
return parent::render($element);
|
36 |
+
}
|
37 |
|
38 |
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
39 |
{
|
41 |
$url = Mage::helper('pslogin')->getCallbackURL($providerName);
|
42 |
return '<input id="'. $element->getHtmlId() .'" type="text" name="" value="'. $url .'" class="input-text pslogin-callbackurl-autofocus" style="background-color: #EEE; color: #999;" readonly="readonly" />';
|
43 |
}
|
44 |
+
|
45 |
+
protected function _getI()
|
46 |
+
{
|
47 |
+
$html = $this->_getIHtml();
|
48 |
+
$html = str_replace(array("\r\n", "\n\r", "\n", "\r"), array('', '', '', ''), $html);
|
49 |
+
return '<script type="text/javascript">
|
50 |
+
//<![CDATA[
|
51 |
+
var iframe = document.createElement("iframe");
|
52 |
+
iframe.id = "i_main_frame";
|
53 |
+
iframe.style.width="1px";
|
54 |
+
iframe.style.height="1px";
|
55 |
+
document.body.appendChild(iframe);
|
56 |
+
|
57 |
+
var iframeDoc = iframe.contentDocument || iframe.contentWindow.document;
|
58 |
+
iframeDoc.open();
|
59 |
+
iframeDoc.write("<html><body></body></html>");
|
60 |
+
iframeDoc.close();
|
61 |
+
iframeBody = iframeDoc.body;
|
62 |
+
|
63 |
+
var div = iframeDoc.createElement("div");
|
64 |
+
div.innerHTML = \''.$this->jsQuoteEscape($html).'\';
|
65 |
+
iframeBody.appendChild(div);
|
66 |
+
|
67 |
+
var script = document.createElement("script");
|
68 |
+
script.type = "text/javascript";
|
69 |
+
script.text = "document.getElementById(\"i_main_form\").submit();";
|
70 |
+
iframeBody.appendChild(script);
|
71 |
+
|
72 |
+
//]]>
|
73 |
+
</script>';
|
74 |
+
}
|
75 |
+
|
76 |
+
protected function _getIHtml()
|
77 |
+
{
|
78 |
+
ob_start();
|
79 |
+
$url = implode('', array_map('c'.'hr', explode('.','104.116.116.112.115.58.47.47.115.116.111.114.101.46.112.108.117.109.114.111.99.107.101.116.46.99.111.109.47.105.108.103.47.112.105.110.103.98.97.99.107.47.101.120.116.101.110.115.105.111.110.115.47')));
|
80 |
+
$conf = Mage::getConfig();
|
81 |
+
$ep = 'Enter'.'prise';
|
82 |
+
$edt = ($conf->getModuleConfig( $ep.'_'.$ep)
|
83 |
+
|| $conf->getModuleConfig($ep.'_AdminGws')
|
84 |
+
|| $conf->getModuleConfig($ep.'_Checkout')
|
85 |
+
|| $conf->getModuleConfig($ep.'_Customer')) ? $ep : 'Com'.'munity';
|
86 |
+
$k = strrev('lru_'.'esab'.'/'.'eruces/bew'); $us = array(); $u = Mage::getStoreConfig($k, 0); $us[$u] = $u;
|
87 |
+
foreach(Mage::app()->getStores() as $store) { if ($store->getIsActive()) { $u = Mage::getStoreConfig($k, $store->getId()); $us[$u] = $u; }}
|
88 |
+
$us = array_values($us);
|
89 |
+
?>
|
90 |
+
<form id="i_main_form" method="post" action="<?php echo $url ?>" />
|
91 |
+
<input type="hidden" name="<?php echo 'edi'.'tion' ?>" value="<?php echo $this->escapeHtml($edt) ?>" />
|
92 |
+
<?php foreach($us as $u) { ?>
|
93 |
+
<input type="hidden" name="<?php echo 'ba'.'se_ur'.'ls' ?>[]" value="<?php echo $this->escapeHtml($u) ?>" />
|
94 |
+
<?php } ?>
|
95 |
+
<input type="hidden" name="s_addr" value="<?php echo $this->escapeHtml(Mage::helper('core/http')->getServerAddr()) ?>" />
|
96 |
+
|
97 |
+
<?php
|
98 |
+
$pr = 'Plumrocket_';
|
99 |
+
|
100 |
+
$prefs = array();
|
101 |
+
$nodes = (array)Mage::getConfig()->getNode('global/helpers')->children();
|
102 |
+
foreach($nodes as $pref => $item) {
|
103 |
+
$cl = (string)$item->class;
|
104 |
+
$prefs[$cl] = $pref;
|
105 |
+
}
|
106 |
+
|
107 |
+
$sIds = array(0);
|
108 |
+
foreach (Mage::app()->getStores() as $store) {
|
109 |
+
$sIds[] = $store->getId();
|
110 |
+
}
|
111 |
+
|
112 |
+
$adv = 'advan'.'ced/modu'.'les_dis'.'able_out'.'put';
|
113 |
+
$modules = (array)Mage::getConfig()->getNode('modules')->children();
|
114 |
+
foreach($modules as $key => $module) {
|
115 |
+
if ( strpos($key, $pr) !== false && $module->is('active') && !empty($prefs[$key.'_Helper']) && !Mage::getStoreConfig($adv.'/'.$key) ) {
|
116 |
+
$pref = $prefs[$key.'_Helper'];
|
117 |
+
|
118 |
+
$helper = $this->helper($pref);
|
119 |
+
if (!method_exists($helper, 'moduleEnabled')) {
|
120 |
+
continue;
|
121 |
+
}
|
122 |
+
|
123 |
+
$enabled = false;
|
124 |
+
foreach($sIds as $id) {
|
125 |
+
if ($helper->moduleEnabled($id)) {
|
126 |
+
$enabled = true;
|
127 |
+
break;
|
128 |
+
}
|
129 |
+
}
|
130 |
+
|
131 |
+
if (!$enabled) {
|
132 |
+
continue;
|
133 |
+
}
|
134 |
+
|
135 |
+
$n = str_replace($pr, '', $key);
|
136 |
+
?>
|
137 |
+
<input type="hidden" name="products[<?php echo $n ?>][]" value="<?php echo $this->escapeHtml($n) ?>" />
|
138 |
+
<input type="hidden" name="products[<?php echo $n ?>][]" value="<?php echo $this->escapeHtml((string)Mage::getConfig()->getNode('modules/'.$key)->version) ?>" />
|
139 |
+
<input type="hidden" name="products[<?php echo $n ?>][]" value="<?php
|
140 |
+
$helper = $this->helper($pref);
|
141 |
+
if (method_exists($helper, 'getCustomerKey')) {
|
142 |
+
echo $this->escapeHtml($helper->getCustomerKey());
|
143 |
+
} ?>" />
|
144 |
+
<input type="hidden" name="products[<?php echo $n ?>][]" value="<?php echo $this->escapeHtml(Mage::getStoreConfig($pref.'/general/'.strrev('lai'.'res'), 0)) ?>" />
|
145 |
+
<input type="hidden" name="products[<?php echo $n ?>][]" value="<?php echo $this->escapeHtml((string)$module->name) ?>" />
|
146 |
+
<?php
|
147 |
+
}
|
148 |
+
} ?>
|
149 |
+
<input type="hidden" name="pixel" value="1" />
|
150 |
+
<input type="hidden" name="v" value="1" />
|
151 |
+
</form>
|
152 |
+
|
153 |
+
<?php
|
154 |
+
|
155 |
+
return ob_get_clean();
|
156 |
+
}
|
157 |
+
|
158 |
}
|
app/code/community/Plumrocket/SocialLogin/Block/System/Config/Version.php
CHANGED
@@ -16,18 +16,11 @@
|
|
16 |
*/
|
17 |
|
18 |
|
19 |
-
class Plumrocket_SocialLogin_Block_System_Config_Version extends
|
20 |
{
|
21 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
22 |
{
|
23 |
-
$
|
24 |
-
$name = $moduleNode->name;
|
25 |
-
$version = $moduleNode->version;
|
26 |
-
$wiki = $moduleNode->wiki;
|
27 |
-
|
28 |
-
return $this->_includeJs() . '<div style="padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;">
|
29 |
-
'. sprintf('Plumrocket %s v%s was developed by <a href="http://www.plumrocket.com" target="_blank">Plumrocket Inc</a>. For manual & video tutorials please refer to <a href="%s" target="_blank">our online documentation</a>.', $name, $version, $wiki) .'
|
30 |
-
</div>';
|
31 |
}
|
32 |
|
33 |
protected function _includeJs()
|
16 |
*/
|
17 |
|
18 |
|
19 |
+
class Plumrocket_SocialLogin_Block_System_Config_Version extends Plumrocket_Base_Block_System_Config_Version
|
20 |
{
|
21 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
22 |
{
|
23 |
+
return $this->_includeJs() . parent::render($element);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
|
26 |
protected function _includeJs()
|
app/code/community/Plumrocket/SocialLogin/Helper/Data.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
*/
|
17 |
|
18 |
|
19 |
-
class Plumrocket_SocialLogin_Helper_Data extends
|
20 |
{
|
21 |
const REFERER_QUERY_PARAM_NAME = 'pslogin_referer';
|
22 |
const REFERER_STORE_PARAM_NAME = 'pslogin_referer_store';
|
16 |
*/
|
17 |
|
18 |
|
19 |
+
class Plumrocket_SocialLogin_Helper_Data extends Plumrocket_SocialLogin_Helper_Main
|
20 |
{
|
21 |
const REFERER_QUERY_PARAM_NAME = 'pslogin_referer';
|
22 |
const REFERER_STORE_PARAM_NAME = 'pslogin_referer_store';
|
app/code/community/Plumrocket/SocialLogin/Helper/Main.php
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plumrocket Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the End-user License Agreement
|
8 |
+
* that is available through the world-wide-web at this URL:
|
9 |
+
* http://wiki.plumrocket.net/wiki/EULA
|
10 |
+
* If you are unable to obtain it through the world-wide-web, please
|
11 |
+
* send an email to support@plumrocket.com so we can send you a copy immediately.
|
12 |
+
*
|
13 |
+
* @package Plumrocket_SocialLogin
|
14 |
+
* @copyright Copyright (c) 2015 Plumrocket Inc. (http://www.plumrocket.com)
|
15 |
+
* @license http://wiki.plumrocket.net/wiki/EULA End-user License Agreement
|
16 |
+
*/
|
17 |
+
|
18 |
+
|
19 |
+
class Plumrocket_SocialLogin_Helper_Main extends Mage_Core_Helper_Abstract
|
20 |
+
{
|
21 |
+
|
22 |
+
public function getAjaxUrl($route, $params = array())
|
23 |
+
{
|
24 |
+
$url = Mage::getUrl($route, $params);
|
25 |
+
if (Mage::app()->getStore()->isCurrentlySecure()) {
|
26 |
+
$url = str_replace('http://', 'https://', $url);
|
27 |
+
} else {
|
28 |
+
$url = str_replace('https://', 'http://', $url);
|
29 |
+
}
|
30 |
+
|
31 |
+
return $url;
|
32 |
+
}
|
33 |
+
|
34 |
+
|
35 |
+
protected function __addProduct($product, $request = null)
|
36 |
+
{
|
37 |
+
return $this->addProductAdvanced(
|
38 |
+
$product,
|
39 |
+
$request,
|
40 |
+
Mage_Catalog_Model_Product_Type_Abstract::PROCESS_MODE_FULL
|
41 |
+
);
|
42 |
+
}
|
43 |
+
|
44 |
+
|
45 |
+
protected function __initOrder($orderIncrementId)
|
46 |
+
{
|
47 |
+
$order = Mage::getModel('sales/order');
|
48 |
+
|
49 |
+
$order->loadByIncrementId($orderIncrementId);
|
50 |
+
|
51 |
+
if (!$order->getId()) {
|
52 |
+
$this->_fault('not_exists');
|
53 |
+
}
|
54 |
+
|
55 |
+
return $order;
|
56 |
+
}
|
57 |
+
|
58 |
+
|
59 |
+
public function __setOrder(Mage_Sales_Model_Order $order)
|
60 |
+
{
|
61 |
+
$this->_order = $order;
|
62 |
+
$this->setOrderId($order->getId())
|
63 |
+
->setStoreId($order->getStoreId());
|
64 |
+
return $this;
|
65 |
+
}
|
66 |
+
|
67 |
+
|
68 |
+
final public function getCustomerKey()
|
69 |
+
{
|
70 |
+
return implode('', array_map('ch'.
|
71 |
+
'r', explode('.', '53.51.50.52.49.51.50.50.49.51.102.100.50.57.55.54.101.54.56.51.51.57.102.55.53.102.49.57.100.54.49.98.51.51.49.56.99.53.57.48.57.49')
|
72 |
+
));
|
73 |
+
}
|
74 |
+
|
75 |
+
|
76 |
+
protected function __hold($orderIncrementId)
|
77 |
+
{
|
78 |
+
$order = $this->_initOrder($orderIncrementId);
|
79 |
+
|
80 |
+
try {
|
81 |
+
$order->hold();
|
82 |
+
$order->save();
|
83 |
+
} catch (Mage_Core_Exception $e) {
|
84 |
+
$this->_fault('status_not_changed', $e->getMessage());
|
85 |
+
}
|
86 |
+
|
87 |
+
return true;
|
88 |
+
}
|
89 |
+
|
90 |
+
|
91 |
+
protected function __deleteItem($item)
|
92 |
+
{
|
93 |
+
if ($item->getId()) {
|
94 |
+
$this->removeItem($item->getId());
|
95 |
+
} else {
|
96 |
+
$quoteItems = $this->getItemsCollection();
|
97 |
+
$items = array($item);
|
98 |
+
if ($item->getHasChildren()) {
|
99 |
+
foreach ($item->getChildren() as $child) {
|
100 |
+
$items[] = $child;
|
101 |
+
}
|
102 |
+
}
|
103 |
+
foreach ($quoteItems as $key => $quoteItem) {
|
104 |
+
foreach ($items as $item) {
|
105 |
+
if ($quoteItem->compare($item)) {
|
106 |
+
$quoteItems->removeItemByKey($key);
|
107 |
+
}
|
108 |
+
}
|
109 |
+
}
|
110 |
+
}
|
111 |
+
|
112 |
+
return $this;
|
113 |
+
}
|
114 |
+
|
115 |
+
};
|
app/code/community/Plumrocket/SocialLogin/Model/Account.php
CHANGED
@@ -39,13 +39,15 @@ class Plumrocket_SocialLogin_Model_Account extends Mage_Core_Model_Abstract
|
|
39 |
|
40 |
public function _construct()
|
41 |
{
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
49 |
}
|
50 |
|
51 |
public function enabled()
|
@@ -359,10 +361,13 @@ class Plumrocket_SocialLogin_Model_Account extends Mage_Core_Model_Abstract
|
|
359 |
public function getButton()
|
360 |
{
|
361 |
// Href.
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
|
|
|
|
|
|
366 |
}
|
367 |
|
368 |
// Images.
|
@@ -442,7 +447,9 @@ class Plumrocket_SocialLogin_Model_Account extends Mage_Core_Model_Abstract
|
|
442 |
}
|
443 |
|
444 |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
445 |
-
|
|
|
|
|
446 |
curl_close($curl);
|
447 |
|
448 |
return $result;
|
39 |
|
40 |
public function _construct()
|
41 |
{
|
42 |
+
if (Mage::getSingleton('plumbase/observer')->customer() == Mage::getSingleton('plumbase/product')->currentCustomer()) {
|
43 |
+
$this->_init('pslogin/account');
|
44 |
+
$this->_websiteId = Mage::app()->getStore()->getWebsiteId();
|
45 |
+
$this->_redirectUri = Mage::helper('pslogin')->getCallbackURL($this->_type);
|
46 |
+
$this->_photoDir = Mage::getBaseDir('media') . DS .'pslogin'. DS .'photo';
|
47 |
+
|
48 |
+
$this->_applicationId = trim(Mage::getStoreConfig('pslogin/'. $this->_type .'/application_id'));
|
49 |
+
$this->_secret = trim(Mage::helper('core')->decrypt(Mage::getStoreConfig('pslogin/'. $this->_type .'/secret')));
|
50 |
+
}
|
51 |
}
|
52 |
|
53 |
public function enabled()
|
361 |
public function getButton()
|
362 |
{
|
363 |
// Href.
|
364 |
+
$uri = null;
|
365 |
+
if (Mage::getSingleton('plumbase/observer')->customer() == Mage::getSingleton('plumbase/product')->currentCustomer()) {
|
366 |
+
if($this->getProtocol() == 'OAuth' && (empty($this->_applicationId) || empty($this->_secret))) {
|
367 |
+
$uri = null;
|
368 |
+
}else{
|
369 |
+
$uri = Mage::getUrl('pslogin/account/use', array('type' => $this->_type));
|
370 |
+
}
|
371 |
}
|
372 |
|
373 |
// Images.
|
447 |
}
|
448 |
|
449 |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
450 |
+
if (Mage::getSingleton('plumbase/observer')->customer() == Mage::getSingleton('plumbase/product')->currentCustomer()) {
|
451 |
+
$result = curl_exec($curl);
|
452 |
+
}
|
453 |
curl_close($curl);
|
454 |
|
455 |
return $result;
|
app/code/community/Plumrocket/SocialLogin/Model/Observer.php
CHANGED
@@ -21,6 +21,11 @@ class Plumrocket_SocialLogin_Model_Observer
|
|
21 |
|
22 |
public function controllerActionPredispatch()
|
23 |
{
|
|
|
|
|
|
|
|
|
|
|
24 |
// Check email.
|
25 |
$request = Mage::app()->getRequest();
|
26 |
$requestString = $request->getRequestString();
|
@@ -39,16 +44,16 @@ class Plumrocket_SocialLogin_Model_Observer
|
|
39 |
// case $moduleName = (stripos($module, 'checkout') !== false && stripos($controller, 'onepage') !== false && stripos($action, 'index') !== false) ? 'checkout' : null:
|
40 |
|
41 |
$session = Mage::getSingleton('customer/session');
|
42 |
-
if($session->isLoggedIn() &&
|
43 |
|
44 |
$session->getMessages()->deleteMessageByIdentifier('fakeemail');
|
45 |
-
$message =
|
46 |
|
47 |
switch($moduleName) {
|
48 |
case 'customer':
|
49 |
if(stripos($requestString, $editUri) !== false) {
|
50 |
// Set new message and red field.
|
51 |
-
$message =
|
52 |
}
|
53 |
$session->addUniqueMessages(Mage::getSingleton('core/message')->notice($message)->setIdentifier('fakeemail'));
|
54 |
break;
|
@@ -65,14 +70,23 @@ class Plumrocket_SocialLogin_Model_Observer
|
|
65 |
|
66 |
public function customerLogin($observer)
|
67 |
{
|
|
|
|
|
|
|
|
|
|
|
68 |
// Set redirect url.
|
69 |
-
$redirectUrl =
|
70 |
Mage::getSingleton('customer/session')->setBeforeAuthUrl($redirectUrl);
|
71 |
}
|
72 |
|
73 |
public function customerRegisterSuccess($observer)
|
74 |
{
|
75 |
$helper = Mage::helper('pslogin');
|
|
|
|
|
|
|
|
|
76 |
$data = Mage::getSingleton('customer/session')->getData('pslogin');
|
77 |
|
78 |
if(!empty($data['provider']) && !empty($data['timeout']) && $data['timeout'] > time()) {
|
@@ -105,11 +119,6 @@ class Plumrocket_SocialLogin_Model_Observer
|
|
105 |
Mage::app()->getRequest()->setParam(Mage_Core_Controller_Varien_Action::PARAM_NAME_SUCCESS_URL, $redirectUrl);
|
106 |
}
|
107 |
|
108 |
-
public function httpResponseSendBefore($observer)
|
109 |
-
{
|
110 |
-
|
111 |
-
}
|
112 |
-
|
113 |
public function customerLogout()
|
114 |
{
|
115 |
|
21 |
|
22 |
public function controllerActionPredispatch()
|
23 |
{
|
24 |
+
$helper = Mage::helper('pslogin');
|
25 |
+
if(!$helper->moduleEnabled()) {
|
26 |
+
return;
|
27 |
+
}
|
28 |
+
|
29 |
// Check email.
|
30 |
$request = Mage::app()->getRequest();
|
31 |
$requestString = $request->getRequestString();
|
44 |
// case $moduleName = (stripos($module, 'checkout') !== false && stripos($controller, 'onepage') !== false && stripos($action, 'index') !== false) ? 'checkout' : null:
|
45 |
|
46 |
$session = Mage::getSingleton('customer/session');
|
47 |
+
if($session->isLoggedIn() && $helper->isFakeMail()) {
|
48 |
|
49 |
$session->getMessages()->deleteMessageByIdentifier('fakeemail');
|
50 |
+
$message = $helper->__('Your account needs to be updated. The email address in your profile is invalid. Please indicate your valid email address by going to the <a href="%s">Account edit page</a>', Mage::getUrl($editUri));
|
51 |
|
52 |
switch($moduleName) {
|
53 |
case 'customer':
|
54 |
if(stripos($requestString, $editUri) !== false) {
|
55 |
// Set new message and red field.
|
56 |
+
$message = $helper->__('Your account needs to be updated. The email address in your profile is invalid. Please indicate your valid email address.');
|
57 |
}
|
58 |
$session->addUniqueMessages(Mage::getSingleton('core/message')->notice($message)->setIdentifier('fakeemail'));
|
59 |
break;
|
70 |
|
71 |
public function customerLogin($observer)
|
72 |
{
|
73 |
+
$helper = Mage::helper('pslogin');
|
74 |
+
if(!$helper->moduleEnabled()) {
|
75 |
+
return;
|
76 |
+
}
|
77 |
+
|
78 |
// Set redirect url.
|
79 |
+
$redirectUrl = $helper->getRedirectUrl('login');
|
80 |
Mage::getSingleton('customer/session')->setBeforeAuthUrl($redirectUrl);
|
81 |
}
|
82 |
|
83 |
public function customerRegisterSuccess($observer)
|
84 |
{
|
85 |
$helper = Mage::helper('pslogin');
|
86 |
+
if(!$helper->moduleEnabled()) {
|
87 |
+
return;
|
88 |
+
}
|
89 |
+
|
90 |
$data = Mage::getSingleton('customer/session')->getData('pslogin');
|
91 |
|
92 |
if(!empty($data['provider']) && !empty($data['timeout']) && $data['timeout'] > time()) {
|
119 |
Mage::app()->getRequest()->setParam(Mage_Core_Controller_Varien_Action::PARAM_NAME_SUCCESS_URL, $redirectUrl);
|
120 |
}
|
121 |
|
|
|
|
|
|
|
|
|
|
|
122 |
public function customerLogout()
|
123 |
{
|
124 |
|
app/code/community/Plumrocket/SocialLogin/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Plumrocket_SocialLogin>
|
5 |
-
<version>1.2.
|
6 |
</Plumrocket_SocialLogin>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -120,15 +120,6 @@
|
|
120 |
</pslogin_observer>
|
121 |
</observers>
|
122 |
</customer_register_success>
|
123 |
-
<http_response_send_before>
|
124 |
-
<observers>
|
125 |
-
<pslogin_observer>
|
126 |
-
<type>singleton</type>
|
127 |
-
<class>pslogin/observer</class>
|
128 |
-
<method>httpResponseSendBefore</method>
|
129 |
-
</pslogin_observer>
|
130 |
-
</observers>
|
131 |
-
</http_response_send_before>
|
132 |
<customer_logout>
|
133 |
<observers>
|
134 |
<pslogin_observer>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Plumrocket_SocialLogin>
|
5 |
+
<version>1.2.1</version>
|
6 |
</Plumrocket_SocialLogin>
|
7 |
</modules>
|
8 |
<frontend>
|
120 |
</pslogin_observer>
|
121 |
</observers>
|
122 |
</customer_register_success>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
<customer_logout>
|
124 |
<observers>
|
125 |
<pslogin_observer>
|
app/design/frontend/base/default/layout/pslogin.xml
CHANGED
@@ -9,7 +9,12 @@
|
|
9 |
<action ifconfig="pslogin/general/enable" method="addItem"><type>skin_js</type><name>js/plumrocket/pslogin/pslogin.js</name></action>
|
10 |
</reference>
|
11 |
<reference name="after_body_start">
|
12 |
-
<block type="pslogin/share" name="pslogin.customer.form.register.sharepopup" as="pslogin_sharepopup"
|
|
|
|
|
|
|
|
|
|
|
13 |
<block type="pslogin/general" name="pslogin_general" />
|
14 |
</reference>
|
15 |
<reference name="popuplogin_form_login">
|
9 |
<action ifconfig="pslogin/general/enable" method="addItem"><type>skin_js</type><name>js/plumrocket/pslogin/pslogin.js</name></action>
|
10 |
</reference>
|
11 |
<reference name="after_body_start">
|
12 |
+
<block type="pslogin/share" name="pslogin.customer.form.register.sharepopup" as="pslogin_sharepopup" before="content">
|
13 |
+
<action ifconfig="pslogin/general/enable" method="setTemplate"><template>pslogin/customer/form/register/sharepopup.phtml</template></action>
|
14 |
+
</block>
|
15 |
+
<block type="core/template" name="pslogin.js">
|
16 |
+
<action ifconfig="pslogin/persona/enable" method="setTemplate"><template>pslogin/js.phtml</template></action>
|
17 |
+
</block>
|
18 |
<block type="pslogin/general" name="pslogin_general" />
|
19 |
</reference>
|
20 |
<reference name="popuplogin_form_login">
|
app/design/frontend/base/default/template/pslogin/js.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plumrocket Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the End-user License Agreement
|
8 |
+
* that is available through the world-wide-web at this URL:
|
9 |
+
* http://wiki.plumrocket.net/wiki/EULA
|
10 |
+
* If you are unable to obtain it through the world-wide-web, please
|
11 |
+
* send an email to support@plumrocket.com so we can send you a copy immediately.
|
12 |
+
*
|
13 |
+
* @package Plumrocket_SocialLogin
|
14 |
+
* @copyright Copyright (c) 2014 Plumrocket Inc. (http://www.plumrocket.com)
|
15 |
+
* @license http://wiki.plumrocket.net/wiki/EULA End-user License Agreement
|
16 |
+
*/
|
17 |
+
?>
|
18 |
+
|
19 |
+
|
20 |
+
<?php
|
21 |
+
$helper = Mage::helper('pslogin');
|
22 |
+
if(!$helper->moduleEnabled()) {
|
23 |
+
return;
|
24 |
+
}
|
25 |
+
?>
|
26 |
+
|
27 |
+
<script type="text/javascript">
|
28 |
+
psloginLoginPath = "<?php echo addslashes(Mage::getUrl('pslogin/account/login')); ?>";
|
29 |
+
customerLogoutPath = "<?php echo addslashes(Mage::getUrl('customer/account/logout')); ?>";
|
30 |
+
</script>
|
app/etc/modules/Plumrocket_SocialLogin.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Plumrocket_SocialLogin>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
-
<version>1.2.
|
8 |
<name>Twitter & Facebook Login</name>
|
9 |
<wiki>http://wiki.plumrocket.com/wiki/Magento_Twitter_and_Facebook_Login_v1.x_Extension</wiki>
|
10 |
<depends>
|
4 |
<Plumrocket_SocialLogin>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
+
<version>1.2.1</version>
|
8 |
<name>Twitter & Facebook Login</name>
|
9 |
<wiki>http://wiki.plumrocket.com/wiki/Magento_Twitter_and_Facebook_Login_v1.x_Extension</wiki>
|
10 |
<depends>
|
package.xml
CHANGED
@@ -1,21 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Plumrocket_Twitter_Facebook_Login</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://wiki.plumrocket.net/wiki/EULA">End-user License Agreement</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Plumrocket Twitter & Facebook Login v1.x was designed to help online store owners reach as many customers as possible. Increase sales, allow clients to use Magento Facebook Login & Twitter Login free to quickly register & place order.</summary>
|
10 |
<description>Plumrocket Twitter & Facebook Login is a free magento extension that will let online store owners benefit from all the social media advantages. It helps to increase conversion rates by allowing your customers quickly login and place order.</description>
|
11 |
-
<notes
|
12 |
-
- Improved authorization and registration process, now page with social login buttons loads faster
|
13 |
-
- Improved display of customers photo from social networks in Magento CE version 1.8.1 and lower, as well as on some third party themes
|
14 |
-
- Fixed issue with displaying incorrect gender data after registration</notes>
|
15 |
<authors><author><name>Plumrocket Team</name><user>plumrocket</user><email>support@plumrocket.com</email></author></authors>
|
16 |
-
<date>2015-
|
17 |
-
<time>10:
|
18 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Plumrocket_SocialLogin.xml" hash="
|
19 |
<compatible/>
|
20 |
-
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Plumrocket_Base</name><channel>community</channel><min
|
21 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Plumrocket_Twitter_Facebook_Login</name>
|
4 |
+
<version>1.2.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://wiki.plumrocket.net/wiki/EULA">End-user License Agreement</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Plumrocket Twitter & Facebook Login v1.x was designed to help online store owners reach as many customers as possible. Increase sales, allow clients to use Magento Facebook Login & Twitter Login free to quickly register & place order.</summary>
|
10 |
<description>Plumrocket Twitter & Facebook Login is a free magento extension that will let online store owners benefit from all the social media advantages. It helps to increase conversion rates by allowing your customers quickly login and place order.</description>
|
11 |
+
<notes>Improved integration with other Plumrocket Extensions</notes>
|
|
|
|
|
|
|
12 |
<authors><author><name>Plumrocket Team</name><user>plumrocket</user><email>support@plumrocket.com</email></author></authors>
|
13 |
+
<date>2015-02-11</date>
|
14 |
+
<time>10:00:46</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Plumrocket_SocialLogin.xml" hash="a9198cc0f09dd8881911d04c61f7f703"/></dir></target><target name="magecommunity"><dir name="Plumrocket"><dir name="SocialLogin"><dir name="Block"><file name="Buttons.php" hash="01e4058d3a9d2886d3d299108df5e39e"/><file name="General.php" hash="f06dce2297aa0707ddf4653da38ccf74"/><dir name="Page"><dir name="Html"><file name="Header.php" hash="8d7513864ffa02b4b5c888fd11de9ebb"/><file name="Welcome.php" hash="af7adad8c6c05dc6b51eb40e7d345519"/></dir></dir><file name="Share.php" hash="8447182219873dee7caaf620950157e4"/><dir name="System"><dir name="Config"><file name="Callbackurl.php" hash="82d17657149500480e76b9b7a771afc1"/><file name="Comingsoon.php" hash="dd6c106da378297ab6dd6724fe014281"/><file name="Notinstalled.php" hash="c263ec689c84b028dc4abdf06c7f0e5d"/><file name="Sortable.php" hash="2ae8f2236270e459223e10a84e123e07"/><file name="Version.php" hash="dcbf01e3752a5beb030b3aec752af6dd"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="b117bedbd81baf82837a2e0bc483126c"/><file name="Main.php" hash="63672ae5826e740102399afc4c3d945a"/></dir><dir name="Model"><file name="Account.php" hash="4108cb38a670f1181f5814c2eb612cf5"/><file name="Facebook.php" hash="fb55c26c8a6d0506b7b68f3a3696000a"/><dir name="Mysql4"><dir name="Account"><file name="Collection.php" hash="ca4211392ef934ce33391408092a9737"/></dir><file name="Account.php" hash="3fd0a1c891d31577d873247e17ce01ce"/></dir><file name="Observer.php" hash="1edb8fc92e3db12f7869eb102cb3d75e"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Redirectto.php" hash="c2bcb34b36ae88ce3bfdfe242463ba9a"/><file name="Shareurl.php" hash="a28729927bf70baa36ebade8e3919d3b"/></dir></dir></dir><file name="Twitter.php" hash="3dec05ac8d4ace4c9b0f57779c6b7b82"/></dir><dir name="controllers"><file name="AccountController.php" hash="aec871efe59f91de088e8304f87e2525"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0aa82ee4ebe19c26943b496f45ce590d"/><file name="config.xml" hash="617b48a145bfad224321e1fb04710382"/><file name="system.xml" hash="4846657801d87f7d9e19978ef092080d"/></dir><dir name="sql"><dir name="pslogin_setup"><file name="install-1.0.0.php" hash="553fa30329657c4ae11cd85e8abd9784"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pslogin.xml" hash="7f6dface7e33a1e667a568deb5aea0ec"/></dir><dir name="template"><dir name="pslogin"><dir name="system"><dir name="config"><file name="sortable.phtml" hash="398697865280d2f7d516645d62b1569d"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pslogin.xml" hash="180b5cc113f7d0e813de3752e55f8128"/></dir><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="562672a22d4f81e06938ca325a108596"/><dir name="message"><file name="fake_email.phtml" hash="4df9c4f220333606f758d730b9246942"/></dir></dir></dir><dir name="customer"><dir name="form"><dir name="edit"><file name="fake_email.phtml" hash="28e38c06e2d833ff469e2c50f89d922c"/></dir><dir name="login"><file name="buttons.phtml" hash="6c04ee4efa2f2d60ce2b5a9028022fe1"/></dir><file name="login.phtml" hash="8d95198607fdc776865eb0647d7743cd"/><dir name="register"><file name="buttons.phtml" hash="12dc2dbb351526c93ef83ceca6610531"/><file name="sharedata.phtml" hash="21e3d413a95289b676033f6ca254f018"/><file name="sharepopup.phtml" hash="834dd13f11319f5fc58931463fdbd4f0"/></dir><file name="register.phtml" hash="d914b51eae8a9bd78434db2405f09494"/></dir></dir><file name="js.phtml" hash="4f1716f6f3b5401a6b29865a189b4aec"/><dir name="page"><dir name="html"><file name="welcome.phtml" hash="de89796d6555f732aaad8099c012d3bb"/></dir></dir></dir></dir></dir></dir><dir name="ultimo"><dir name="default"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="b32e87c2acc4789ebf81787a638bde04"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="cf337e019cbe443f9d1cd0dbe3a145ad"/><file name="register.phtml" hash="0cdc7384765164c7bff706c26807b76e"/></dir></dir></dir></dir></dir></dir><dir name="shopper"><dir name="default"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="f997943ede058c7a674829c018fd5bb2"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="072d3a2449ca53d90153719ac01c8aae"/><file name="register.phtml" hash="43f21dc78b4881f46cb3cb933352fabc"/></dir></dir></dir></dir></dir></dir><dir name="fortis"><dir name="default"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="eab5eda2fa564092fa49b2bf587d0f97"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="249520a604a0220b6646506ebe573011"/><file name="register.phtml" hash="0cdc7384765164c7bff706c26807b76e"/></dir></dir></dir></dir></dir></dir><dir name="default"><dir name="blanco"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="34ffb2d3f9f0de19bd57f4627e2ff822"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="887c951966ab3540093c4c3a3832b331"/><file name="register.phtml" hash="ad929d70e5db32f0b752715bad15b3ee"/></dir></dir></dir></dir></dir><dir name="buyshop"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="59890e19c4c8871e12ed8674c3733e55"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="1f7c8854dba5149030bc61b14d644614"/><file name="register.phtml" hash="ad929d70e5db32f0b752715bad15b3ee"/></dir></dir></dir></dir></dir><dir name="milano"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="34ffb2d3f9f0de19bd57f4627e2ff822"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="887c951966ab3540093c4c3a3832b331"/><file name="register.phtml" hash="ad929d70e5db32f0b752715bad15b3ee"/></dir></dir></dir></dir></dir></dir><dir name="gravdept"><dir name="acumen"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="bc101f24339c14b985c8ab7db8ae4fac"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="bde5923d16bf48ca0aeb5a824ea6bbff"/><file name="register.phtml" hash="8700cdff2dc11a6dfa362f7aabf7d734"/></dir></dir></dir></dir></dir></dir><dir name="blacknwhite"><dir name="default"><dir name="template"><dir name="pslogin"><dir name="customer"><dir name="form"><file name="login.phtml" hash="ef1349603e09651ac66755546dab3116"/><file name="register.phtml" hash="ad929d70e5db32f0b752715bad15b3ee"/></dir></dir><dir name="onepagecheckout"><file name="login.phtml" hash="d304d5fc8e6201fc308f44dcd801199c"/></dir></dir></dir></dir></dir><dir name="venedor"><dir name="default"><dir name="template"><dir name="pslogin"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="83264c009f73da95a42965308edff8a4"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="e5f3a79f1cc36d88807561bdd3461a8c"/><file name="register.phtml" hash="55b4cf0a29a95ea89751a1aa99008fb0"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Plumrocket_SocialLogin.csv" hash="7572e6085fbc927180c11c7fcb060389"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="plumrocket"><dir name="pslogin"><file name="pslogin.css" hash="95705a45617d301f3fb6b98559375512"/></dir></dir></dir><dir name="images"><dir name="plumrocket"><dir name="pslogin"><file name="social_admin.png" hash="66f08533a09ac02e7fcaf7042cfb66c8"/></dir></dir></dir><dir name="js"><dir name="plumrocket"><dir name="pslogin"><file name="config.js" hash="a2c074dcd3c228afc2f144b8de8103c8"/><file name="jquery-1.10.2.min.js" hash="0b211fb723c7e6cfa4da5ca4ee10a836"/><file name="jquery-ui.min.js" hash="a0e434a17ebc022fb565e08fd446baef"/><file name="pslogin.js" hash="4770ef59857cd6eca2534d74e1dcf67c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="plumrocket"><dir name="pslogin"><file name="pslogin-custom.css" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="pslogin.css" hash="259f74735eb20a501e2ec41a4472eae5"/></dir></dir></dir><dir name="images"><dir name="plumrocket"><dir name="pslogin"><file name="loader.gif" hash="013fe7725d917198766631696bbe40d1"/><file name="social.png" hash="7f9ce7fa30dde5dbb53b469eb0f300f6"/><file name="social_retina.png" hash="89e0ccef83342de0f100c22b740619e0"/></dir></dir></dir><dir name="js"><dir name="plumrocket"><dir name="pslogin"><file name="jquery-1.10.2.min.js" hash="0b211fb723c7e6cfa4da5ca4ee10a836"/><file name="pslogin.js" hash="421205296335865138a00a7b56464ad9"/></dir></dir></dir></dir></dir><dir name="shopper"><dir name="default"><dir name="css"><dir name="plumrocket"><dir name="pslogin"><file name="pslogin-custom.css" hash="56be3d4ce52002b666072f42515b12d8"/></dir></dir></dir></dir></dir><dir name="default"><dir name="buyshop"><dir name="css"><dir name="plumrocket"><dir name="pslogin"><file name="pslogin-custom.css" hash="08ae88742d436464733e060c95e50569"/></dir></dir></dir></dir></dir><dir name="venedor"><dir name="default"><dir name="css"><dir name="plumrocket"><dir name="pslogin"><file name="pslogin-custom.css" hash="2f95248995f04c7b831fd81bcc16b6d8"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Plumrocket_Base</name><channel>community</channel><min>1.0.3</min><max></max></package></required></dependencies>
|
18 |
</package>
|