Janrain_Engage_Plugin - Version 1.0.9

Version Notes

Bug fixes and interface changes

Download this release

Release Info

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


Code changes from version 1.0.8 to 1.0.9

app/code/local/Janrain/Engage/Block/Accountdata.php CHANGED
@@ -26,14 +26,24 @@ class Janrain_Engage_Block_Accountdata extends Mage_Adminhtml_Block_System_Confi
26
  if(Mage::helper('engage')->isEngageEnabled() === false)
27
  return '<p>Module not enabled. Please set "Enabled" to "Yes" and enter your API key above.</p>';
28
 
29
- $content = '<p>The following is the current account info being used. <a href="' . Mage::helper('adminhtml')->getUrl('engage/adminhtml_lookup/rp') . '">Click Here to refresh</a></p>';
 
30
 
31
  $content .= '<table><tbody>';
32
  foreach($vars as $key => $val){
33
  $value = Mage::getStoreConfig('engage/vars/' . $key);
34
- if($key=='enabled_providers' && $providers = unserialize($value))
35
- $value = implode(', ', $providers);
36
-
 
 
 
 
 
 
 
 
 
37
  $content .= '<tr><td><em>' . $val . ':</em></td><td>' . $value . '</td></tr>';
38
  }
39
  $content .= '</tbody></table>';
26
  if(Mage::helper('engage')->isEngageEnabled() === false)
27
  return '<p>Module not enabled. Please set "Enabled" to "Yes" and enter your API key above.</p>';
28
 
29
+ $content = '<link type="text/css" href="' . Mage::helper('engage')->_baseSkin() . '/stylesheet.css" rel="stylesheet" />';
30
+ $content .= '<p>The following is the current account info being used. <a href="' . Mage::helper('adminhtml')->getUrl('engage/adminhtml_lookup/rp') . '">Click Here to refresh</a></p>';
31
 
32
  $content .= '<table><tbody>';
33
  foreach($vars as $key => $val){
34
  $value = Mage::getStoreConfig('engage/vars/' . $key);
35
+
36
+ if ($value && ($key == 'socialpub' || $key == 'enabled_providers')) {
37
+ $providers = explode(",", $value);
38
+ $value = '<a class="rpx-icons" href="' . Mage::getStoreConfig('engage/vars/adminurl') . '" target="_blank">';
39
+ foreach ($providers as $p) {
40
+ $value .= '<div class="jn-icon jn-size16 jn-' . $p . '" title="' . htmlentities($p) . '"></div>';
41
+ }
42
+ $value .= '</a>';
43
+ }
44
+ elseif ($key == 'adminurl')
45
+ $value = '<a href="' . $value . '" target="_blank">' . $value . '</a>';
46
+
47
  $content .= '<tr><td><em>' . $val . ':</em></td><td>' . $value . '</td></tr>';
48
  }
49
  $content .= '</tbody></table>';
app/code/local/Janrain/Engage/Block/Auth.php CHANGED
@@ -3,27 +3,37 @@
3
  class Janrain_Engage_Block_Auth extends Mage_Core_Block_Template implements Mage_Widget_Block_Interface {
4
 
5
  function rpx_small_buttons() {
6
- $providers = Mage::helper('engage')->getRpxProviders();
7
- if (is_array($providers)) {
8
- $size = $this->getSize() ? $this->getSize() : "large";
9
- $wrap_open = '<a class="rpxnow rpx_link_wrap" onclick="return false;" href="'
10
- . Mage::helper('engage')->getRpxAuthUrl()
11
- . '">';
12
- $wrap_close = '</a>';
13
-
14
- $labelText = $this->getLabelText();
15
- if(empty($labelText))
16
- $labelText = 'Or log in with';
17
-
18
- $label = '<div class="rpx_label">' . $labelText . '</div>';
19
- $rpx_buttons = '';
20
- foreach ($providers as $val) {
21
- $rpx_buttons .= '<div class="rpx_icon_' . $size . ' rpx_' . $val . '_' . $size . '" title="' . htmlentities($val) . '"></div>';
22
- }
23
- $buttons = '<div class="rpx_button"><div class="rpx_' . $size . '_icons">' . $rpx_buttons . '</div></div><div class="rpx_clear"></div>';
24
-
25
- return $wrap_open . $label . $buttons . $wrap_close;
26
- }
 
 
 
 
 
 
 
 
 
 
27
  }
28
 
29
  protected function _toHtml() {
3
  class Janrain_Engage_Block_Auth extends Mage_Core_Block_Template implements Mage_Widget_Block_Interface {
4
 
5
  function rpx_small_buttons() {
6
+ $size = $this->getSize();
7
+ if ($size == 'inline') {
8
+ $iframe = '<iframe src="'
9
+ . ((Mage::getStoreConfig('engage/vars/realmscheme') == 'https') ? 'https' : 'http')
10
+ . '://' . Mage::getStoreConfig('engage/vars/realm')
11
+ . '/openid/embed?token_url=' . urlencode(Mage::getUrl('engage/rpx/token_url'))
12
+ . '" scrolling="no" frameBorder="no" allowtransparency="true" style="width:400px;height:240px"></iframe>';
13
+ return $iframe;
14
+ } else {
15
+ $providers = Mage::helper('engage')->getRpxProviders();
16
+ if (is_array($providers)) {
17
+ $size = ($size == 'small') ? "16" : "30";
18
+ $wrap_open = '<a class="rpxnow rpx_link_wrap" onclick="return false;" href="'
19
+ . Mage::helper('engage')->getRpxAuthUrl()
20
+ . '">';
21
+ $wrap_close = '</a>';
22
+
23
+ $labelText = $this->getLabelText();
24
+ if(empty($labelText))
25
+ $labelText = 'Or log in with';
26
+
27
+ $label = '<div class="rpx_label">' . $labelText . '</div>';
28
+ $rpx_buttons = '';
29
+ foreach ($providers as $val) {
30
+ $rpx_buttons .= '<div class="jn-icon jn-size' . $size . ' jn-' . $val . '" title="' . htmlentities($val) . '"></div>';
31
+ }
32
+ $buttons = '<div class="rpx_button">' . $rpx_buttons . '</div><div class="rpx_clear"></div>';
33
+
34
+ return $wrap_open . $label . $buttons . $wrap_close;
35
+ }
36
+ }
37
  }
38
 
39
  protected function _toHtml() {
app/code/local/Janrain/Engage/Block/Info.php CHANGED
@@ -14,7 +14,8 @@ class Janrain_Engage_Block_Info extends Mage_Adminhtml_Block_System_Config_Form_
14
  }
15
 
16
  protected function _getFieldHtml($fieldset) {
17
- $content = '<p>This extension is developed by <a href="http://janrain.com/" target="_blank">Janrain</a>. Please refer to our <a href="http://documentation.janrain.com/engage/plugins-modules/magento" target="_blank">Documentation</a> on how to install and configure this extension.</p>';
 
18
  $content.= '<p>Copyright &copy ' . date("Y") . ' <a href="http://janrain.com/" target="_blank">Janrain, Inc.</a></p>';
19
 
20
  return $content;
14
  }
15
 
16
  protected function _getFieldHtml($fieldset) {
17
+ $content = '<p>Janrain Engage for Magento ' . Mage::getConfig()->getModuleConfig("Janrain_Engage")->version . '</p>';
18
+ $content.= '<p>This extension is developed by <a href="http://janrain.com/" target="_blank">Janrain</a>. Please refer to our <a href="http://documentation.janrain.com/engage/plugins-modules/magento" target="_blank">Documentation</a> on how to install and configure this extension.</p>';
19
  $content.= '<p>Copyright &copy ' . date("Y") . ' <a href="http://janrain.com/" target="_blank">Janrain, Inc.</a></p>';
20
 
21
  return $content;
app/code/local/Janrain/Engage/Block/Share.php CHANGED
@@ -3,17 +3,17 @@
3
  class Janrain_Engage_Block_Share extends Mage_Core_Block_Abstract implements Mage_Widget_Block_Interface {
4
 
5
  public function rpx_social_icons() {
6
- $providers = Mage::helper('engage')->getRpxProviders();
7
- if(is_array($providers)){
8
- $social_pub = Mage::getStoreConfig('engage/vars/socialpub');
9
- $social_providers = array_filter(explode(',', $social_pub));
10
- $rpx_social_icons = '';
11
- foreach ($social_providers as $val) {
12
- $rpx_social_icons .= '<div class="rpx_icon_small rpx_' . $val . '_small"></div>';
13
- }
14
- $buttons = '<div class="rpx_social_icons">' . $rpx_social_icons . '</div>';
15
- return $buttons;
16
- }
17
  }
18
 
19
  /**
@@ -22,8 +22,12 @@ class Janrain_Engage_Block_Share extends Mage_Core_Block_Abstract implements Mag
22
  * @return string
23
  */
24
  protected function _toHtml() {
25
- $link = '<div class="rpxsocial rpx_tooltip" onclick="RPXNOW.loadAndRun([\'Social\'], function () { var activity = new RPXNOW.Social.Activity(\'Share:\', \'' . Mage::getSingleton('cms/page')->getTitle() . '\', \'' . Mage::helper('core/url')->getCurrentUrl() . '\'); activity.setUserGeneratedContent(\'' . $this->getShareText() . '\'); activity.setDescription(\'' . Mage::getSingleton('cms/page')->getTitle() . '\'); RPXNOW.Social.publishActivity(activity); });">';
26
- $link .= '<span class="rpxsharebutton">share</span><div class="rpx_share_tip">Share this on:<br />' . $this->rpx_social_icons() . '</div></div>';
 
 
 
 
27
 
28
  return $link;
29
  }
3
  class Janrain_Engage_Block_Share extends Mage_Core_Block_Abstract implements Mage_Widget_Block_Interface {
4
 
5
  public function rpx_social_icons() {
6
+ $social_pub = Mage::getStoreConfig('engage/vars/socialpub');
7
+ $social_providers = array_filter(explode(',', $social_pub));
8
+ if (is_array($social_providers)) {
9
+ $rpx_social_icons = '';
10
+ foreach ($social_providers as $val) {
11
+ $rpx_social_icons .= '<div class="jn-icon jn-size16 jn-' . $val . '"></div>';
12
+ }
13
+ $buttons = '<div class="rpx_social_icons">' . $rpx_social_icons . '</div>';
14
+ return $buttons;
15
+ }
16
+ return false;
17
  }
18
 
19
  /**
22
  * @return string
23
  */
24
  protected function _toHtml() {
25
+ $link = '';
26
+
27
+ if ($icons = $this->rpx_social_icons()) {
28
+ $link .= '<div class="rpxsocial rpx_tooltip" onclick="RPXNOW.loadAndRun([\'Social\'], function () { var activity = new RPXNOW.Social.Activity(\'Share:\', \'' . Mage::getSingleton('cms/page')->getTitle() . '\', \'' . Mage::helper('core/url')->getCurrentUrl() . '\'); activity.setUserGeneratedContent(\'' . $this->getShareText() . '\'); RPXNOW.Social.publishActivity(activity); });">';
29
+ $link .= '<span class="rpxsharebutton">share</span><div class="rpx_share_tip">Share this on:<br />' . $icons . '</div></div>';
30
+ }
31
 
32
  return $link;
33
  }
app/code/local/Janrain/Engage/Helper/Data.php CHANGED
@@ -8,7 +8,7 @@ class Janrain_Engage_Helper_Data extends Mage_Core_Helper_Abstract {
8
  'LinkedIn' => 'linkedin',
9
  'MySpace' => 'myspace',
10
  'Twitter' => 'twitter',
11
- 'Windows Live' => 'windowslive',
12
  'Yahoo!' => 'yahoo',
13
  'Aol' => 'aol',
14
  'Blogger' => 'blogger',
@@ -90,7 +90,7 @@ class Janrain_Engage_Helper_Data extends Mage_Core_Helper_Abstract {
90
  public function getRpxProviders() {
91
  $providers = Mage::getStoreConfig('engage/vars/enabled_providers');
92
  if($providers)
93
- return unserialize($providers);
94
  else
95
  return false;
96
  }
8
  'LinkedIn' => 'linkedin',
9
  'MySpace' => 'myspace',
10
  'Twitter' => 'twitter',
11
+ 'Windows Live' => 'live_id',
12
  'Yahoo!' => 'yahoo',
13
  'Aol' => 'aol',
14
  'Blogger' => 'blogger',
90
  public function getRpxProviders() {
91
  $providers = Mage::getStoreConfig('engage/vars/enabled_providers');
92
  if($providers)
93
+ return explode(",", $providers);
94
  else
95
  return false;
96
  }
app/code/local/Janrain/Engage/Helper/Rpxcall.php CHANGED
@@ -9,8 +9,6 @@ class Janrain_Engage_Helper_Rpxcall extends Mage_Core_Helper_Abstract {
9
  public function rpxLookupSave() {
10
  try {
11
  $lookup_rp = $this->rpxLookupRpCall();
12
- if($lookup_rp->realm)
13
- $uiConfig = $this->rpxUiConfigCall($lookup_rp->realm, $lookup_rp->realmScheme);
14
 
15
  Mage::getModel('core/config')
16
  ->saveConfig('engage/vars/realm', $lookup_rp->realm)
@@ -18,7 +16,7 @@ class Janrain_Engage_Helper_Rpxcall extends Mage_Core_Helper_Abstract {
18
  ->saveConfig('engage/vars/appid', $lookup_rp->appId)
19
  ->saveConfig('engage/vars/adminurl', $lookup_rp->adminUrl)
20
  ->saveConfig('engage/vars/socialpub', $lookup_rp->socialPub)
21
- ->saveConfig('engage/vars/enabled_providers', $uiConfig ? serialize($uiConfig->enabled_providers) : '')
22
  ->saveConfig('engage/vars/apikey', Mage::getStoreConfig('engage/options/apikey'));
23
  Mage::getConfig()->reinit();
24
 
@@ -32,10 +30,12 @@ class Janrain_Engage_Helper_Rpxcall extends Mage_Core_Helper_Abstract {
32
  }
33
 
34
  public function rpxLookupRpCall() {
 
35
 
36
  $postParams = array();
37
-
38
  $postParams["apiKey"] = $this->getEngageApiKey();
 
 
39
 
40
  $result = "rpxLookupRpCall: no result";
41
  try {
@@ -48,23 +48,6 @@ class Janrain_Engage_Helper_Rpxcall extends Mage_Core_Helper_Abstract {
48
  return $result;
49
 
50
  }
51
-
52
- public function rpxUiConfigCall($realm=null, $realmScheme=null) {
53
-
54
- if(!$realm)
55
- $realm = Mage::getStoreConfig('engage/vars/realm');
56
- if(!$realmScheme)
57
- $realmScheme = (Mage::getStoreConfig('engage/vars/realmscheme') == 'https') ? 'https' : 'http';
58
- $apiKey = Mage::getStoreConfig('engage/options/apikey');
59
-
60
- if($realm && $apiKey) {
61
- $url = "$realmScheme://$realm/openid/ui_config?apiKey=$apiKey";
62
- return $this->rpxCall($url);
63
- } else {
64
- throw Mage::exception('Mage_Core', 'Could not make API call: Missing Url Component');
65
- }
66
-
67
- }
68
 
69
  public function rpxAuthInfoCall($token) {
70
 
@@ -145,6 +128,7 @@ class Janrain_Engage_Helper_Rpxcall extends Mage_Core_Helper_Abstract {
145
  try {
146
 
147
  $http = new Varien_Http_Client($url);
 
148
  if($method=='POST')
149
  $http->setParameterPost($postParams);
150
  $response = $http->request($method);
9
  public function rpxLookupSave() {
10
  try {
11
  $lookup_rp = $this->rpxLookupRpCall();
 
 
12
 
13
  Mage::getModel('core/config')
14
  ->saveConfig('engage/vars/realm', $lookup_rp->realm)
16
  ->saveConfig('engage/vars/appid', $lookup_rp->appId)
17
  ->saveConfig('engage/vars/adminurl', $lookup_rp->adminUrl)
18
  ->saveConfig('engage/vars/socialpub', $lookup_rp->socialPub)
19
+ ->saveConfig('engage/vars/enabled_providers', $lookup_rp->signinProviders)
20
  ->saveConfig('engage/vars/apikey', Mage::getStoreConfig('engage/options/apikey'));
21
  Mage::getConfig()->reinit();
22
 
30
  }
31
 
32
  public function rpxLookupRpCall() {
33
+ $version = Mage::getConfig()->getModuleConfig("Janrain_Engage")->version;
34
 
35
  $postParams = array();
 
36
  $postParams["apiKey"] = $this->getEngageApiKey();
37
+ $postParams["pluginName"] = "magento";
38
+ $postParams["pluginVersion"] = $version;
39
 
40
  $result = "rpxLookupRpCall: no result";
41
  try {
48
  return $result;
49
 
50
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  public function rpxAuthInfoCall($token) {
53
 
128
  try {
129
 
130
  $http = new Varien_Http_Client($url);
131
+ $http->setHeaders( array( "Accept-encoding" => "identity" ) );
132
  if($method=='POST')
133
  $http->setParameterPost($postParams);
134
  $response = $http->request($method);
app/code/local/Janrain/Engage/etc/config.xml CHANGED
@@ -3,14 +3,14 @@
3
  <config>
4
  <modules>
5
  <Janrain_Engage>
6
- <version>1.0.8</version>
7
  </Janrain_Engage>
8
  </modules>
9
  <frontend>
10
  <layout>
11
  <updates>
12
  <engage>
13
- <file>Janrain_Engage.xml</file>
14
  </engage>
15
  </updates>
16
  </layout>
3
  <config>
4
  <modules>
5
  <Janrain_Engage>
6
+ <version>1.0.9</version>
7
  </Janrain_Engage>
8
  </modules>
9
  <frontend>
10
  <layout>
11
  <updates>
12
  <engage>
13
+ <file>engage.xml</file>
14
  </engage>
15
  </updates>
16
  </layout>
app/code/local/Janrain/Engage/etc/widget.xml CHANGED
@@ -14,18 +14,22 @@
14
  <size>
15
  <required>0</required>
16
  <visible>1</visible>
17
- <label>Icon Size</label>
18
  <type>select</type>
19
  <value>large</value>
20
  <values>
21
  <default translate="label">
22
  <value>large</value>
23
- <label>Large</label>
24
  </default>
25
- <link_inline translate="label">
26
  <value>small</value>
27
- <label>Small</label>
28
- </link_inline>
 
 
 
 
29
  </values>
30
  </size>
31
  </parameters>
14
  <size>
15
  <required>0</required>
16
  <visible>1</visible>
17
+ <label>Widget Style</label>
18
  <type>select</type>
19
  <value>large</value>
20
  <values>
21
  <default translate="label">
22
  <value>large</value>
23
+ <label>Large Icons</label>
24
  </default>
25
+ <small translate="label">
26
  <value>small</value>
27
+ <label>Small Icons</label>
28
+ </small>
29
+ <inline translate="label">
30
+ <value>inline</value>
31
+ <label>Inline</label>
32
+ </inline>
33
  </values>
34
  </size>
35
  </parameters>
app/code/local/Janrain/Engage/sql/engage_setup/{mysql4-install-1.0.8.php → mysql4-install-1.0.9.php} RENAMED
File without changes
app/design/frontend/base/default/layout/{Janrain_Engage.xml → engage.xml} RENAMED
File without changes
app/design/frontend/base/default/template/janrain/engage/dashboard.phtml CHANGED
@@ -40,7 +40,7 @@
40
  <?php
41
  $providers = Mage::helper('engage')->getRpxProviders();
42
  if (is_array($providers)) {
43
- $size = "large";
44
  $wrap_open = '<a class="rpxnow rpx_link_wrap" onclick="return false;" href="'
45
  . Mage::helper('engage')->getRpxAuthUrl(true)
46
  . '">';
@@ -48,9 +48,9 @@
48
 
49
  $rpx_buttons = '';
50
  foreach ($providers as $val) {
51
- $rpx_buttons .= '<div class="rpx_icon_' . $size . ' rpx_' . $val . '_' . $size . '" title="' . htmlentities($val) . '"></div>';
52
  }
53
- $buttons = '<div class="rpx_button"><div class="rpx_' . $size . '_icons">' . $rpx_buttons . '</div></div><div class="rpx_clear"></div>';
54
 
55
  echo $wrap_open . $buttons . $wrap_close;
56
  }
40
  <?php
41
  $providers = Mage::helper('engage')->getRpxProviders();
42
  if (is_array($providers)) {
43
+ $size = "30";
44
  $wrap_open = '<a class="rpxnow rpx_link_wrap" onclick="return false;" href="'
45
  . Mage::helper('engage')->getRpxAuthUrl(true)
46
  . '">';
48
 
49
  $rpx_buttons = '';
50
  foreach ($providers as $val) {
51
+ $rpx_buttons .= '<div class="jn-icon jn-size' . $size . ' jn-' . $val . '" title="' . htmlentities($val) . '"></div>';
52
  }
53
+ $buttons = '<div class="rpx_button">' . $rpx_buttons . '</div><div class="rpx_clear"></div>';
54
 
55
  echo $wrap_open . $buttons . $wrap_close;
56
  }
app/design/frontend/base/default/template/janrain/engage/styles.phtml CHANGED
@@ -3,12 +3,4 @@ if (Mage::helper('engage')->isEngageEnabled()):
3
  //&& $this->getLayout()->getBlock('janrain_engage_scripts') != false):
4
  ?>
5
  <link type="text/css" href="<?php echo Mage::helper('engage')->_baseSkin(); ?>/stylesheet.css" rel="stylesheet" />
6
- <style type="text/css">
7
- .rpx_icon_small {
8
- background-image:url(<?php echo Mage::helper('engage')->_baseSkin(); ?>/providers_icons16.png);
9
- }
10
- .rpx_icon_large {
11
- background-image:url(<?php echo Mage::helper('engage')->_baseSkin(); ?>/providers_icons32.png);
12
- }
13
- </style>
14
  <?php endif; ?>
3
  //&& $this->getLayout()->getBlock('janrain_engage_scripts') != false):
4
  ?>
5
  <link type="text/css" href="<?php echo Mage::helper('engage')->_baseSkin(); ?>/stylesheet.css" rel="stylesheet" />
 
 
 
 
 
 
 
 
6
  <?php endif; ?>
package.xml CHANGED
@@ -1,20 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Janrain_Engage_Plugin</name>
4
- <version>1.0.8</version>
5
  <stability>stable</stability>
6
  <license>Apache Software Licence</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Allows users to login with identities from social networks like facebook, twitter, gmail, AOL and others.</summary>
10
- <description>Connects your website to the social networks and makes it easy for your users to login with an existing identity profile from social networks or identity providers like Facebook, Twitter, Google and Yahoo, to speed up online registration. Enable users to share their activities (comments, purchases, reviews) from your site with friends on the social networks to drive qualified referral traffic back to your site, and let users invite their friends to join your site.&#xD;
11
- &#xD;
12
- Sign up for an account at &lt;a href="http://www.janrain.com/products/engage/get-janrain-engage" target="_blank"&gt;janrain.com&lt;/a&gt;.</description>
13
- <notes>Tested and updated compatibility with Enterprise Edition</notes>
14
  <authors><author><name>Bryce Hamrick</name><user>auto-converted</user><email>bryce@janrain.com</email></author></authors>
15
- <date>2011-04-07</date>
16
- <time>16:39:09</time>
17
- <contents><target name="magelocal"><dir name="Janrain"><dir name="Engage"><dir name="Block"><file name="Accountdata.php" hash="d191d3400498180f5abb18958a1d24c8"/><file name="Auth.php" hash="b60e990ffd60b42f8ab061f41b06984b"/><file name="Info.php" hash="0bfac7940b6e55290f2d10a4a941047d"/><file name="Share.php" hash="3e5d791a5ad59c432ae81a01f7a5a3e2"/></dir><dir name="Helper"><file name="Data.php" hash="a459ce7b6d89626aa6733b3332cdcaef"/><file name="Identifiers.php" hash="0ce70399da045b1737d0447d63b2bb95"/><file name="Rpxcall.php" hash="3b95efc3c2b4d18d59cc55651960bf12"/></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="4eea375b6f937148f37965eb14eaeb91"/><file name="system.xml" hash="b8ef2e5b474c41ad3e22bdf643099ccc"/><file name="widget.xml" hash="a1ab9af781bd0008fda8cedba4f60df6"/></dir><dir name="sql"><dir name="engage_setup"><file name="mysql4-install-1.0.8.php" hash="2ce66b0568ed83142c04c2ff03f0db0c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="janrain"><file name="providers_icons16.png" hash="3c27e54384c7b8016962f4b1a52f60a3"/><file name="providers_icons32.png" hash="f2623ed6cdc02d182761633ce56c8d62"/><file name="rpx_xdcomm.html" hash="9b9130d8aafb8a4be6b36b18c3db1035"/><file name="stylesheet.css" hash="89da18e7191c53b8c55146971f7fb6ea"/></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Janrain_Engage.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Janrain_Engage.xml" hash="fc970ee3b01aa20d142665fecd3a97fb"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="Janrain_Engage.xml" hash="98d1fe3fd7b441629ba8366d86e5978d"/></dir><dir name="template"><dir name="janrain"><dir name="engage"><file name="dashboard.phtml" hash="28ce7b8e4f1b56eb675257e3bc606472"/><file name="duplicate.phtml" hash="bba081ce0c222119e0e9211076b17693"/><file name="register.phtml" hash="308fee19c99b61ff77e2de2eae63f3f2"/><file name="scripts.phtml" hash="581ca7202aa33bf1ff7f45aaa1dde2ad"/><file name="styles.phtml" hash="3b21a9fae92d4a374ce7d9fcaba93b8f"/></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
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>
skin/frontend/janrain/jn-icons16.png ADDED
Binary file
skin/frontend/janrain/jn-icons32.png ADDED
Binary file
skin/frontend/janrain/providers_icons16.png DELETED
Binary file
skin/frontend/janrain/providers_icons32.png DELETED
Binary file
skin/frontend/janrain/stylesheet.css CHANGED
@@ -8,100 +8,6 @@
8
  text-decoration:none;
9
  }
10
 
11
- .rpxbox {
12
- z-index: 1000;
13
- display: none;
14
- position: fixed;
15
- vertical-align: middle;
16
- top: 0px; left: 0px;
17
- width: 100%; height: 100%;
18
- }
19
-
20
- .rpxhoriz {
21
- z-index:-10;
22
- position:fixed;
23
- display:block;
24
- top:0px; left:0px;
25
- width:100%; height:100%;
26
- background-color:#111;
27
- opacity: .5;
28
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
29
- filter: alpha(opacity=50);
30
- }
31
-
32
- .rpxvert {width:100%; height:100%;}
33
-
34
- .rpxvert .rpxvrow .rpxvcol {vertical-align:middle;}
35
-
36
- .rpxborder {
37
- display:block;
38
- width:370px; height:240px;
39
- margin-right:auto; margin-left:auto;
40
- position:relative;
41
- padding: 5px;
42
- background-color: #666;
43
- background-color: rgba(0,0,0,.5);
44
- -webkit-border-radius: 10px;
45
- -moz-border-radius: 10px;
46
- border-radius: 10px;
47
- }
48
-
49
- .rpxclose {
50
- cursor: pointer;
51
- position: absolute;
52
- z-index: 1001;
53
- top: -4px; right: -4px;
54
- width: 34px; height: 34px;
55
- }
56
-
57
- .rpxiframe,
58
- .rpxmsg,
59
- .rpxregister {
60
- display:block;
61
- width:370px; height:240px;
62
- background-color:#FFF;
63
- border:0;
64
- overflow:hidden;
65
- position:relative;
66
- -webkit-border-radius: 5px;
67
- -moz-border-radius: 5px;
68
- border-radius: 5px;
69
- }
70
-
71
- .rpxmessage {
72
- color: #333;
73
- }
74
-
75
- .rpxmsg .rpxmessage {
76
- font-size:14px;
77
- font-family:sans-serif;
78
- padding:76px 16px 2px 16px;
79
- text-align:center;
80
- }
81
-
82
- .rpxregister .rpxmessage {
83
- font-size:14px;
84
- font-family:sans-serif;
85
- padding:76px 10px 2px 10px;
86
- text-align:center;
87
- }
88
-
89
- .rpxregform {
90
- font-size:16px;
91
- font-family:sans-serif;
92
- padding:2px 10px 0px 10px;
93
- text-align:center;
94
- }
95
-
96
- .rpxemail {
97
- width:200px; height:20px;
98
- }
99
-
100
- .rpxsubmit {
101
- background-color:#D0D0D0;
102
- border:1px solid #666;
103
- }
104
-
105
  .rpxsocial { /* has dynamic items in head */
106
  display:inline;
107
  font-size:14px;
@@ -117,20 +23,6 @@ text-decoration:none;
117
  }
118
  .rpxsocial:hover {cursor:pointer;}
119
 
120
- .rpxsocial_small {
121
- display:block;
122
- font-size:13px;
123
- font-family:sans-serif;
124
- color:#074764;
125
- background-color:transparent;
126
- padding:0px;
127
- padding-right:5px;
128
- margin:0px;
129
- float:left;
130
- }
131
- .rpxsocial_small:hover {cursor:pointer;}
132
- .rpxsocial_small .rpxsharebutton {text-decoration:underline;}
133
-
134
  .rpx_social_icons {
135
  display:block;
136
  position:relative;
@@ -144,12 +36,6 @@ text-decoration:none;
144
  margin:3px;
145
  padding:0px;
146
  }
147
- input#rpx_share_comment {
148
- display:inline;
149
- width:15px;
150
- margin:0px;
151
- padding:0px;
152
- }
153
 
154
  .rpx_tooltip {
155
  position:relative;
@@ -177,7 +63,7 @@ input#rpx_share_comment {
177
  color:#666;
178
  }
179
 
180
- .rpx_clear{
181
  clear:both;
182
  }
183
 
@@ -186,198 +72,71 @@ input#rpx_share_comment {
186
  padding:0px 5px 5px 0px;
187
  }
188
 
189
- .rpx_icon_small,
190
- .rpx_social_icons .rpx_icon_small { /* has dynamic items in head */
191
  display:block;
192
- width:16px;
193
- height:16px;
194
- margin:1px;
 
195
  float:left;
196
  }
197
- .rpx_icon_small:hover {cursor:pointer;}
198
-
199
- .rpx_facebook_small {
200
- background-position:0px 0px;
201
- }
202
-
203
- .rpx_twitter_small {
204
- background-position:0px -16px;
205
- }
206
 
207
- .rpx_myspace_small {
208
- background-position:0px -32px;
209
- }
210
-
211
- .rpx_windowslive_small {
212
- background-position:0px -48px;
213
- }
214
-
215
- .rpx_yahoo_small {
216
- background-position:0px -64px;
217
- }
218
-
219
- .rpx_google_small {
220
- background-position:0px -80px;
221
- }
222
-
223
- .rpx_openid_small {
224
- background-position:0px -96px;
225
- }
226
-
227
- .rpx_aol_small {
228
- background-position:0px -112px;
229
- }
230
-
231
- .rpx_livejournal_small {
232
- background-position:0px -128px;
233
- }
234
-
235
- .rpx_myopenid_small {
236
- background-position:0px -144px;
237
- }
238
-
239
- .rpx_netlog_small {
240
- background-position:0px -160px;
241
- }
242
 
243
- .rpx_flickr_small {
244
- background-position:0px -176px;
245
- }
246
-
247
- .rpx_blogger_small {
248
- background-position:0px -192px;
249
- }
250
-
251
- .rpx_verisign_small {
252
- background-position:0px -208px;
253
- }
254
-
255
- .rpx_wordpress_small {
256
- background-position:0px -224px;
257
- }
258
-
259
- .rpx_hyves_small {
260
- background-position:0px -240px;
261
- }
262
-
263
- .rpx_linkedin_small {
264
- background-position:0px -256px;
265
- }
266
-
267
- .rpx_paypal_small {
268
- background-position:0px -272px;
269
- }
270
-
271
- .rpx_large_icons {
272
- display:block;
273
- height:32px;
274
- clear:both;
275
- }
276
-
277
- .rpx_icon_large,
278
- .rpx_large_icons .rpx_icon_large { /* has dynamic items in head */
279
- display:block;
280
- width:30px;
281
  height:30px;
282
- margin:0px;
283
- margin-left:1px;
284
- padding:0px;
285
- padding-top:1px;
286
- padding-bottom:1px;
287
- float:left;
288
  }
289
- .rpx_icon_large:hover {cursor:pointer;}
290
 
291
- .rpx_facebook_large {
292
- background-position:0px 0px;
293
- }
294
-
295
- .rpx_google_large {
296
- background-position:0px -32px;
297
- }
298
-
299
- .rpx_linkedin_large {
300
- background-position:0px -64px;
301
- }
302
-
303
- .rpx_myspace_large {
304
- background-position:0px -96px;
305
- }
306
-
307
- .rpx_twitter_large {
308
- background-position:0px -128px;
309
- }
310
-
311
- .rpx_windowslive_large {
312
- background-position:0px -160px;
313
- }
314
-
315
- .rpx_yahoo_large {
316
- background-position:0px -192px;
317
- }
318
-
319
- .rpx_aol_large {
320
- background-position:0px -224px;
321
- }
322
-
323
- .rpx_blogger_large {
324
- background-position:0px -256px;
325
- }
326
-
327
- .rpx_flickr_large {
328
- background-position:0px -288px;
329
- }
330
-
331
- .rpx_hyves_large {
332
- background-position:0px -320px;
333
- }
334
-
335
- .rpx_livejournal_large {
336
- background-position:0px -352px;
337
- }
338
-
339
- .rpx_myopenid_large {
340
- background-position:0px -384px;
341
- }
342
-
343
- .rpx_netlog_large {
344
- background-position:0px -416px;
345
- }
346
-
347
- .rpx_openid_large {
348
- background-position:0px -448px;
349
- }
350
-
351
- .rpx_verisign_large {
352
- background-position:0px -480px;
353
- }
354
-
355
- .rpx_wordpress_large {
356
- background-position:0px -512px;
357
- }
358
-
359
- .rpx_paypal_large {
360
- background-position:0px -544px;
361
- }
362
-
363
- .rpxauthor {
364
- display:block;
365
- position:relative;
366
  width:16px;
367
- margin:0px;
368
- margin-left:3px;
369
- padding:0px;
370
- float:left;
371
- bottom:-3px;
372
- left:-3px;
373
- vertical-align:middle;
374
- }
375
-
376
- .rpx_profile_label {
377
- display:inline-block;
378
- padding-left:4px;
379
- }
380
-
381
- .rpx_profile_label small {
382
- font-size:0.8em;
383
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  text-decoration:none;
9
  }
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  .rpxsocial { /* has dynamic items in head */
12
  display:inline;
13
  font-size:14px;
23
  }
24
  .rpxsocial:hover {cursor:pointer;}
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  .rpx_social_icons {
27
  display:block;
28
  position:relative;
36
  margin:3px;
37
  padding:0px;
38
  }
 
 
 
 
 
 
39
 
40
  .rpx_tooltip {
41
  position:relative;
63
  color:#666;
64
  }
65
 
66
+ .rpx_clear {
67
  clear:both;
68
  }
69
 
72
  padding:0px 5px 5px 0px;
73
  }
74
 
75
+ .jn-icon {
 
76
  display:block;
77
+ background-repeat:no-repeat;
78
+ background-position:fixed;
79
+ border:0;
80
+ margin:0;
81
  float:left;
82
  }
 
 
 
 
 
 
 
 
 
83
 
84
+ .jn-icon:hover { cursor:pointer; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
+ .jn-size30 {
87
+ width:30px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  height:30px;
89
+ background-image:url('jn-icons32.png');
 
 
 
 
 
90
  }
 
91
 
92
+ .jn-size16 {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  width:16px;
94
+ height:16px;
95
+ background-image:url('jn-icons16.png');
96
+ }
97
+
98
+ .jn-size16.jn-facebook { background-position:0px 0px; }
99
+ .jn-size16.jn-google { background-position:0px -16px; }
100
+ .jn-size16.jn-linkedin { background-position:0px -32px; }
101
+ .jn-size16.jn-myspace { background-position:0px -48px; }
102
+ .jn-size16.jn-twitter { background-position:0px -64px; }
103
+ .jn-size16.jn-live_id { background-position:0px -80px; }
104
+ .jn-size16.jn-yahoo { background-position:0px -96px; }
105
+ .jn-size16.jn-aol { background-position:0px -112px; }
106
+ .jn-size16.jn-blogger { background-position:0px -128px; }
107
+ .jn-size16.jn-flickr { background-position:0px -144px; }
108
+ .jn-size16.jn-hyves { background-position:0px -160px; }
109
+ .jn-size16.jn-livejournal { background-position:0px -176px; }
110
+ .jn-size16.jn-myopenid { background-position:0px -192px; }
111
+ .jn-size16.jn-netlog { background-position:0px -208px; }
112
+ .jn-size16.jn-openid { background-position:0px -224px; }
113
+ .jn-size16.jn-verisign { background-position:0px -240px; }
114
+ .jn-size16.jn-wordpress { background-position:0px -256px; }
115
+ .jn-size16.jn-paypal { background-position:0px -272px; }
116
+ .jn-size16.jn-orkut { background-position:0px -288px; }
117
+ .jn-size16.jn-vzn { background-position:0px -304px; }
118
+ .jn-size16.jn-salesforce { background-position:0px -320px; }
119
+ .jn-size16.jn-foursquare { background-position:0px -336px; }
120
+
121
+ .jn-size30.jn-facebook { background-position:0px 0px; }
122
+ .jn-size30.jn-google { background-position:0px -30px; }
123
+ .jn-size30.jn-linkedin { background-position:0px -60px; }
124
+ .jn-size30.jn-myspace { background-position:0px -90px; }
125
+ .jn-size30.jn-twitter { background-position:0px -120px; }
126
+ .jn-size30.jn-live_id { background-position:0px -150px; }
127
+ .jn-size30.jn-yahoo { background-position:0px -180px; }
128
+ .jn-size30.jn-aol { background-position:0px -210px; }
129
+ .jn-size30.jn-blogger { background-position:0px -240px; }
130
+ .jn-size30.jn-flickr { background-position:0px -270px; }
131
+ .jn-size30.jn-hyves { background-position:0px -300px; }
132
+ .jn-size30.jn-livejournal { background-position:0px -330px; }
133
+ .jn-size30.jn-myopenid { background-position:0px -360px; }
134
+ .jn-size30.jn-netlog { background-position:0px -390px; }
135
+ .jn-size30.jn-openid { background-position:0px -420px; }
136
+ .jn-size30.jn-verisign { background-position:0px -450px; }
137
+ .jn-size30.jn-wordpress { background-position:0px -480px; }
138
+ .jn-size30.jn-paypal { background-position:0px -510px; }
139
+ .jn-size30.jn-orkut { background-position:0px -540px; }
140
+ .jn-size30.jn-vzn { background-position:0px -570px; }
141
+ .jn-size30.jn-salesforce { background-position:0px -600px; }
142
+ .jn-size30.jn-foursquare { background-position:0px -630px; }