Forums / All Other Contributions/Addons / Social Login by loginradius [BANNED PLUGIN]

Social Login by loginradius [BANNED PLUGIN]

Locked

Views: 13,068

Results 1 to 20 of 52
This thread is locked. New replies are disabled.
28 Aug 2012, 8:28 AM
#1
songseng avatar

songseng

New Zenner

Join Date:
Dec 2011
Posts:
24
Plugin Contributions:
0

Social Login by loginradius [BANNED PLUGIN]

MODERATOR NOTE Feb 2013: PLUGIN HAS BEEN BANNED DUE TO FREQUENT SPAMMING TO PROMOTE IT BY CREATING FAKE FORUM ACCOUNTS AND POSTING PRAISE ABOUT THE LOGINRADIUS SERVICE.
USERS CONSIDERING THIS SERVICE SHOULD BE FOREWARNED THAT THE LOGINRADIUS PEOPLES' ETHICS ARE HIGHLY QUESTIONABLE.

Wow.. let me say, my long waited plugin!:P

Anyone is using it? Mind to share it? I've created this new topic I haven't seen any one discussed about it.

Plugin here:
http://www.zen-cart.com/downloads.php?do=file&id=1470

The support side:
support.loginradius.com/customer/portal/articles/643129-implement-social-login-on-zen-cart-website

28 Aug 2012, 3:56 PM
#2
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

I've downloaded it and am installing it on my test site to see what exactly it looks like, operates, etc.

29 Aug 2012, 12:46 AM
#3
songseng avatar

songseng

New Zenner

Join Date:
Dec 2011
Posts:
24
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

Glad to hear from you, limitless.

Well, that's good idea to use test site.. so far no bug right?
I was so curious to ask this question as so frequent I read about impossible to implement social login/integration for Zencart for security reason. Plus, my previous trial on 'facebook integration' was crashing my SQL..

Cheers:)

31 Aug 2012, 6:38 PM
#4
thephish avatar

thephish

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

songseng:

Glad to hear from you, limitless.

Well, that's good idea to use test site.. so far no bug right?
I was so curious to ask this question as so frequent I read about impossible to implement social login/integration for Zencart for security reason. Plus, my previous trial on 'facebook integration' was crashing my SQL..

Cheers:)

I've spent an entire day trying to make this plugin work . Not to mention the fact I am not really a fan of face book and sharing social information due to security risks but I understand for my application it's handy for potential customers that could increase to more sales generation. That I can appreciate as a on-line purchaser my self ..

No matter what I cannot get the module to show up under the modules menu . It will not ...

I am running version 1.5 , with other plugins(attributes etc ) I've edited all files , double checked everything 5 times, I cannot get it to the install point. No matter what I can't get it to go to step 7 or 8 in the Admin panel. -

Directions
http://support.loginradius.com/customer/portal/articles/643129-implement-social-login-on-zen-cart-website

Not to mention it seems after doing this I have some sort of new listings under tools in the admin panel: BOX_TOOLS_ADMIN,BOX_TOOLS_EMAIL_WELCOME

You can check out the live site as I will leave it up for you to check out ..

No matter what I can't get to step 7 or 8 after double checking over and over again in the manual.

Live site - http://www.vaporsourceecigs.com

Click on login all I get is The requested URL /hub.loginradius.com/Control/PluginSlider2.aspx was not found on this server above the normal login box

And this is because I can't get it to install the necessary elements to program the right parameters like API key and API secret , Maybe if there was a manual place to put that information within the data base or some manual way to install it or something .

Maybe my upgrade went wrong or something ?

SQL errors

Error

SQL query:

ALTER TABLE customers ADD loginradiusid VARCHAR( 64 ) NULL ;

MySQL said:
#1060 - Duplicate column name 'loginradiusid'

This is a recent upgrade form Zencart 1.3.9 to 1.5 .. It says current version is 1.5. I've installed lots of other modules add ons that are working fine.

Maybe we just need better detailed directions ? Figured I would ask here before complaining on forums.

Thanks,

31 Aug 2012, 7:21 PM
#5
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

I think you have an extra / some where.

The error is showing this:

The requested URL /hub.loginradius.com/Control/PluginSlider2.aspx was not found on this server.

If you remove the / to be :

hub.loginradius.com/Control/PluginSlider2.aspx

The page works (but I get an API missing error)

Can you hit this page with your API key?:

https://hub.loginradius.com/Control/PluginSlider2.aspx?apikey=INSERTYOUR+APIKEYHERE

Looks like line 53 of the /includes/templates/YOUR_TEMPLETE/templates/tpl_login_default.php

$http = ($IsHttps == 1) ? "https://" : "http://";
}
$loc = zen_href_link('sociallogin', '', 'SSL');
$content = '';
$content .= '<div style="width:200px;">';
if (!isset($_SESSION['customer_id']) and empty($_SESSION['customer_id'])) {
$content .= '<b>'.$subtitle.'</b>';
$content .= '<iframe src='.$http.'hub.loginradius.com/Control/PluginSlider2.aspx?apikey='.$apikey.'&callback='.$loc.' width="'.$iframeWidth.'" height="'.$iframeHeight.'" frameborder="0" scrolling="no" allowtransparency="true"></iframe>';
$content .= '</div>';
echo $content;
}?>

As a work around, Try removing one / from $http = ($IsHttps == 1) ? "https://" : "http://";

to
$http = ($IsHttps == 1) ? "https:/" : "http:/";

31 Aug 2012, 8:39 PM
#6
thephish avatar

thephish

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

Thanks for looking at it .... I've installed the plugin on a new clean install of 1.5..

I got it working right away with one exception .

ERROR: module not loaded due to missing language file:
It says /public_html/includes/languages/english/modules/sociallogin/english.php

But I could install the plugin and everything seems to work fine as you can see at

vaporsourceecigs.com/v2


I noticed on the working version the link to the page I am trying to get to to install the plugin is

https://www.yourwebsite.com/"admin"/modules.php?set=sociallogin

Now I CAN access this page on my original site , when I hit install I get

The website encountered an error while retrieving http://www.vaporsourceecigs.com/front/modules.php?set=sociallogin&action=install

Like I said this is an upgraded version from 1.3.9 to 1.5

It will NOT list the Social Log In under the Modules menu in the admin panel ...

The tpl_login_default.php would that prevent the menu from showing the module in the admin panel ?

I uploaded the stock tpl_login_default.php file that came with the plugin ...

Its just weird either I have a invalid update to version 1.5 or there is an issue installing this plugin on an upgraded version ...

My first guess was that I am missing the code in the correct template folder or something wrong with the SQL file as I had other plugins installed before it ...

Here is what I can't get to show in my admin panel .....

If someone can tell me a quick way to upload all the product from my old site to the new clean 1.5 database I am all ears at this point that might be easier..

Can I just import from old SQL and insert images folder in new site?

I just think maybe the update to 1.5 might have caused some errors or it's somehow the theme/template I am using ....

Thanks Limit really do appreciate your help.

-ThePhish

2 Sep 2012, 2:33 PM
#7
songseng avatar

songseng

New Zenner

Join Date:
Dec 2011
Posts:
24
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

Hey ThePhish, glad to have your sharing on the progress.
Too bad I haven't got time to install this plugin.

I would recommand EP4 ZC1.50 for easy download and upload all products in a glace. Using it right now.
http://www.zen-cart.com/showthread.php?190417-EasyPopulate-4-0-Support-Thread

6 Sep 2012, 7:25 AM
#8
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

Hi Team

Im getting an error on the login page: page not found... I have uploaded this mod 3 times and have checked that all the files are in the right places. But still am not able to make it work. Are you able to help? My site is: https://www.assceneon.com/catalog?

Can it be something from Facebooks side?

Thanks in advance,

Donovan

6 Sep 2012, 7:42 AM
#9
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

Hi Team

Have also tried running the file http://www.assceneon.com/catalog/mysql4-install-0.1.0.php and get the following error:

Fatal error: Call to a member function startSetup() on a non-object in /hermes/bosweb/web103/b1031/ipg.assceneoncom/catalog/mysql4-install-0.1.0.php on line 3

What am I doing wrong?

6 Sep 2012, 10:18 PM
#10
letsmod avatar

letsmod

New Zenner

Join Date:
Sep 2008
Posts:
42
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

after about an hour of tinkering, I got this to work 100%

7 Sep 2012, 9:13 AM
#11
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: Social Login by loginradius [BANNED PLUGIN]

This module is working, but in Readme.txt the installation procedure is incomplete and you will got error if you just do what is told there, you need to do the whole steps mentioned at:
http://support.loginradius.com/customer/portal/articles/643129-implement-social-login-on-zen-cart-website

That involves creating all the Apps for FB, Twitter, Google etc and connect it to your Loginradius account before you can make this module works.

Responsive ZenCart Templates that automatically adapt itself with iPad, iPhone, BlackBerry, Androids and any monitor screen size
Buy a coffee for Zen-Cart devs. http://www.zen-cart.com/donate

8 Sep 2012, 8:14 AM
#12
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

Hi, does anyone know how to get this to work on SSL, or to switch it off when the site directs to the SSL parts of the website?

10 Sep 2012, 8:01 PM
#13
contriveit avatar

contriveit

New Zenner

Join Date:
Sep 2012
Posts:
36
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

WoW, Impressive!!!

I've finally got it fully working. Everything seems to be fine but as another user stated earlier, the instructions included are VERY vague. I'd suggest adding in the required setup steps at loginradius.com and also include the link to the zen-cart tutorial. Otherwise, people are going to be confused when they do steps 1-4 in the readme and get nowhere.

Other than that... ROCK ON BRO!! :cool:

http://www.contrive-it.net/ (may be down occasionally for maintenance so check back)

This is my signature. There are many like it but this one is mine.

12 Sep 2012, 3:12 AM
#14
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

So those that are using it, do you/your customers prefer this over COWOA?

I am trying to decide which route to go as I am seeing some cart abandonment when they hit the log-in screen that I would like to capitalize on.

12 Sep 2012, 5:10 PM
#15
dochsa avatar

dochsa

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
62
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

Hi All

OK I got it working but now I have an issue on the SSL pages. Does anyone know how to get this to work, as everytime someone goes to login or to any area on the website that is SSL it throws an error and it is with the social login.

Any ideas?

Donovan

14 Sep 2012, 10:34 AM
#16
secondnature avatar

secondnature

New Zenner

Join Date:
Mar 2011
Posts:
48
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

First up, I will say this is a great plugin. I was very impressed with the fact that I could login with facebook and it would link to my existing account.

What I can't get the plugin to do though is to appear on my normal login page. The online instructions mention that you can do this, allegedly by adding it to the login.php language file. Didn't seem right but I tried it anyway to no avail.

If anyone knows which file to edit, please post it up here. I also tried adding the code to the bottom of my tpl_login_default.php but that didn't seem to work either.

My website is http://www.secondnatureaquariums.com.au/shop/

18 Sep 2012, 10:12 AM
#18
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: Social Login by loginradius [BANNED PLUGIN]

I install this mod for a client, I think if you follow readme file and the online instruction you will be good.
If you have problem showing up on login page you can paste the whole code here (tpl_login_default.php), maybe we can check.

Here is my client site:
http://why-pay-retail.com/

Responsive ZenCart Templates that automatically adapt itself with iPad, iPhone, BlackBerry, Androids and any monitor screen size
Buy a coffee for Zen-Cart devs. http://www.zen-cart.com/donate

18 Sep 2012, 11:41 AM
#19
ronwong avatar

ronwong

Zen Follower

Join Date:
Jan 2006
Posts:
223
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

I am on my ipad now, i will post in a while. The part about the login page is confusing... Its either or and one is the tpl file another is login.php.

I assume it should be the default template's tpl_login_default? Imwill paste in about 2 hours back on by PC

18 Sep 2012, 12:43 PM
#20
ronwong avatar

ronwong

Zen Follower

Join Date:
Jan 2006
Posts:
223
Plugin Contributions:
0

Re: Social Login by loginradius [BANNED PLUGIN]

hi, i dont know what is the diff, because when I download the zip and copy to my server, it should have overrited the one on my server right? SO the code I paste here is the same as the one from the zip-> templates/YOUR_TEMPLETE/templates/tpl_login_default.php

<?php
/**
 * Page Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2011 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0
 * @version $Id: tpl_login_default.php 18695 2011-05-04 05:24:19Z drbyte $
 */
?>
<div class="centerColumn" id="loginDefault">
 
<h1 id="loginDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<?php  $subtitle_query = "select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SOCIAL_LOGIN_SUBTITLE'";
  $subtitle_query = $db->Execute($subtitle_query);
  $subtitle = $subtitle_query->fields['configuration_value'];
  
  $apikey_query = "select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SOCIAL_LOGIN_API_KEY'";
  $apikey_query = $db->Execute($apikey_query);
  $apikey = $apikey_query->fields['configuration_value'];
  
  $apisecretkey_query = "select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SOCIAL_LOGIN_API_SECRET_KEY'";
  $apisecretkey_query = $db->Execute($apisecretkey_query);
  $apisecretkey = $apisecretkey_query->fields['configuration_value'];
  if (isset($apikey)) {
   $obj_auth = new LoginRadiusAuth();
        $UserAuth = $obj_auth->auth($apikey, $apisecretkey);
     $IsHttps = (!empty($UserAuth->IsHttps) ? $UserAuth->IsHttps : '');
     $iframeHeight = (!empty($UserAuth->height) ? $UserAuth->height : 50);
     $iframeWidth = (!empty($UserAuth->width) ? $UserAuth->width : 138);
  $http = ($IsHttps == 1) ? "https://" : "http://";
    }
    $loc = zen_href_link('sociallogin', '', 'SSL'); 
 $content = '';
 $content .= '<div style="width:200px;">';
 if (!isset($_SESSION['customer_id']) and empty($_SESSION['customer_id'])) {
   $content .= '<b>'.$subtitle.'</b>';
      $content .= '<iframe src='.$http.'hub.loginradius.com/Control/PluginSlider2.aspx?apikey='.$apikey.'&callback='.$loc.' width="'.$iframeWidth.'" height="'.$iframeHeight.'" frameborder="0" scrolling="no" allowtransparency="true"></iframe>';
      $content .= '</div>';
      echo $content;
    }?>
<?php if ($messageStack->size('login') > 0) echo $messageStack->output('login'); ?>
 
 
<?php if ( USE_SPLIT_LOGIN_MODE == 'True' || $ec_button_enabled) { ?>
<!--BOF PPEC split login- DO NOT REMOVE-->
<fieldset class="floatingBox back">
<legend><?php echo HEADING_NEW_CUSTOMER_SPLIT; ?></legend>
<?php // ** BEGIN PAYPAL EXPRESS CHECKOUT ** ?>
<?php if ($ec_button_enabled) { ?>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION_SPLIT; ?></div>
 
  <div class="center"><?php require(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php'); ?></div>
<hr />
<?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_DIVIDER; ?>
<?php } ?>
<?php // ** END PAYPAL EXPRESS CHECKOUT ** ?>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT; ?></div>
 
<?php echo zen_draw_form('create', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CREATE_ACCOUNT, BUTTON_CREATE_ACCOUNT_ALT, 'name="registrationButton"'); ?></div>
</form>
</fieldset>
 
<fieldset class="floatingBox forward">
<legend><?php echo HEADING_RETURNING_CUSTOMER_SPLIT; ?></legend>
<div class="information"><?php echo TEXT_RETURNING_CUSTOMER_SPLIT; ?></div>
 
<?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); ?>
<label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
<?php echo zen_draw_input_field('email_address', '', 'size="18" id="login-email-address"'); ?>
<br class="clearBoth" />
 
<label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>
<?php echo zen_draw_password_field('password', '', 'size="18" id="login-password"'); ?>
<br class="clearBoth" />
 
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT); ?></div>
<div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></div>
</form>
</fieldset>
<br class="clearBoth" />
<!--EOF PPEC split login- DO NOT REMOVE-->
<?php } else { ?>
<!--BOF normal login-->
<?php
  if ($_SESSION['cart']->count_contents() > 0) {
?>
<div class="advisory"><?php echo TEXT_VISITORS_CART; ?></div>
<?php
  }
?>
<?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); ?>
<fieldset>
<legend><?php echo HEADING_RETURNING_CUSTOMER; ?></legend>
 
<label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
<?php echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="login-email-address"'); ?>
<br class="clearBoth" />
 
<label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>
<?php echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password') . ' id="login-password"'); ?>
<br class="clearBoth" />
<?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
</fieldset>
 
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT); ?></div>
<div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></div>
</form>
<br class="clearBoth" />
 
<?php echo zen_draw_form('create_account', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);" id="createAccountForm"') . zen_draw_hidden_field('action', 'process') . zen_draw_hidden_field('email_pref_html', 'email_format'); ?>
<fieldset>
<legend><?php echo HEADING_NEW_CUSTOMER; ?></legend>
 
<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION; ?></div>
 
<?php require($template->get_template_dir('tpl_modules_create_account.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_create_account.php'); ?>
 
</fieldset>
 
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div>
</form>
<!--EOF normal login-->
<?php } ?>
</div>