LoginRadius

Magento Social Login instructions

Installation Guide

Configuration

Further Help

 

Installation Guide

 

Note - If you are already using any lower version of Social Login, please follow the steps a,b,c and d to uninstall that else if you are installing Social Login first time then move to step 1 :

 

a. Login to Magento website admin panel. Navigate to System->Magento Connect-> Magento Connect Manager. Login again, if required.

 

b. Select action "Uninstall" in front of "LoginRadius" in "Manage Existing Extensions" section.

 

c. Click "Commit Changes".

 

d. After uninstall is complete, hit "Refresh" button.

 

1. Go to extension webpage .

 

2. Click on “Install Now”.

 

3. Login and Copy Extension key.

 

4. Login to magento website admin panel. Navigate to System->Magento Connect-> Magento Connect Manager. Login again, if required.

 

 

5. Under “Install New Extensions” section paste the key in “Paste extension key to install:” field and click Install.

 

 

Configuration

 

1. Navigate to System > Configuration and configure the settings in Social Login and Social Share page under Login Radius section in the left pan.
Note: If you have 404 error after navigating to Social Login and Social Share page, just logout from Magento admin and login again.

 

 

Further Help

 

Social Login and Social Sharing Widgets 

 

1. Embedding Social Login and Sharing in CMS Content :

 

Navigate to the Pages area located under the CMS section of the admin navigation.

 

 

Then navigate to the page you want to place Social Login at. Click on “Content” tab on the left bar. Place cursor where you want to place social login and click on “Insert Widget” icon.

 

 

Select “Social Login”, "Social Sharing - Horizontal" or "Social Sharing - Vertical" as widget type and enter the text you want to display before Social Login interface.

 

 

Click Insert widget and Save Page. Now you can see the selected widget on that page.

 

 

2. Adding Social login and Sharing Widget Instance:

 

If want to show social login interface on multiple pages and you don’t want to edit each page individually, then you can add a widget instance.

 

 

Navigate to the Widgets area under the CMS section in admin panel and click “Add new widget instance”.

 

Now select the “Social Login”, "Social Sharing - Horizontal" or "Social Sharing - Vertical" in type. Select a design/package theme and click “Continue”.

 

Give this widget a title ( for example – Social Login). This won’t display on the page, but serves as unique identifier. Leave the sort order field unless you are going to use this widget in a space having multiple blocks of different sort orders.

 

Now click on “Add Layout Update” and select which place you want to add this widget instance. Finally click Save.

 

 

3. Integrate Social Login Interface with login/registration form:

 

Open "app\design\frontend\base\default\template\customer\form\login.phtml" to integrate Social Login interface with login form and "app\design\frontend\base\default\template\customer\form\register.phtml" to integrate Social Login interface with registration form. These files are template files for login and register page respectively.

 

Place following code where you want Social Login interface to appear on these pages:-

 

<?php echo $this->getLayout()->createBlock('sociallogin/sociallogin')->setTemplate('sociallogin/sociallogincustom.phtml')->toHtml(); ?>

 

If it doesn’t work then place the above mentioned code in the following files for Login and Register pages, respectively:

 

- app\design\frontend\base\default\template\persistent\customer\form\login.phtml

 

- app\design\frontend\base\default\template\persistent\customer\form\register.phtml

 

Save the file back. Clean Magento cache and see the magic on login/register page.

 

 

4. Show Social Login Interface on Checkout page:

 

Open "app\design\frontend\base\default\template\checkout\onepage\login.phtml" to show Social Login interface on checkout page. This file is template file for Checkout page. 

 

Place following code where you want Social Login interface to appear (probably below login form) on this page:-

 

<?php echo $this->getLayout()->createBlock('sociallogin/sociallogin')->setTemplate('sociallogin/sociallogincustom.phtml')->toHtml(); ?>

 

If it doesn’t work then place the above mentioned code in the following file:

 

- app\design\frontend\base\default\template\persistent\checkout\onepage\login.phtml

 

Save the file back. Clean Magento cache and Social Login Interface is enabled at checkout  page.

 

 

How to implement it with Magento Multisite Network?

 

 1. Install the Social Login extension on your main website in the multisite network. By default Social Login configuration of the Main Website/Store in the multisite network will be inherited in the other websites/stores. If you want to configure Social Login for each website in the network individually then follow the next steps.

 

2. Navigate to System > Configuration.

 

3. Click on "Social Login and Social Share" in the “LoginRadius” section in the left pan.

 

4. In the “Current Configuration Scope” section at the top left, you can select different websites/stores in the multisite network and configure Social Login options for each.

 

 Note: The single LoginRadius API Key and Secret will work with all the network sites’ Social Login and need not to create social network apps for each subdomain. For this, you have to enable multisite feature in your LoginRadius account. This is a paid feature and comes with LoginRadius Premium and higher plans. Clickhere to learn more!

 

Where to look at user details in database?

 

User details are stored in the “<PREFIX>sociallogin” table (<PREFIX> being your Magento database table prefix) as mentioned below:

 

Column

Info

sociallogin_id

Social Provider ID

entity_id

Entity ID of Magento Customer

avatar

Social avatar

provider

Social ID Provider

 

How to uninstall the plugin?

 

Automatic Uninstall:-

 

1. Login to your Magento website admin panel.

 

2. Navigate to System > Magento Connect Manager.

 

3. Select Uninstall in the Actions column in front of the LoginRadius extension in the extensions list.

 

4. Click "Commit Changes" button.

 

5. After uninstall is complete, hit "Refresh" button.

 

Manual Uninstall:

 

1. Remove/Delete the following files/folders from your Magento root folder:

 

- app/code/community/Loginradius

 

- app/design/frontend/default/default/layout/sociallogin.xml

 

- app/design/frontend/default/default/template/sociallogin

 

- app/etc/modules/Loginradius_Sociallogin.xml

 

- skin/frontend/base/default/Loginradius

 

- app/design/adminhtml/default/default/layout/loginradius_sociallogin.xml

 

2. Delete “<PREFIX>sociallogin” table from your magento database. “<PREFIX>” is your Magento database tables’ prefix.

 

CURL and FSOCKOPEN troubleshooting​​
If you are not logged in after clicking Social Login icons at your website then enable one of the following at your website server (you may need to contact your hosting provider to enable one of these):

 

  • CURL requires cURL support = enabled in your php.ini file.
  • FSOCKOPEN requires allow_url_fopen = On and safemode = off in your php.ini file.

 

​How can I change the email template for the registered users?

1. Navigate to "Social Login Advanced Settings" section on Social Login and Social Share page in Magento admin panel.
2. You can specify required email message in "User notification email message" option.
3. Click "Save Changes" button.

 

How can I customize the layout of the pop-up?

You can modify the CSS in “app\code\community\Loginradius\Sociallogin\controllers\Popup.php” file in Magento root folder.


Extension menu is not loading properly in Magento admin panel?

Follow the steps mentioned below:
1. Navigate to System > Cache Management in Magento admin panel
2. Click “Select All”, select “Refresh” in Actions, hit “Submit” button.
​3. Click “Select All”, select “Disable” in Actions, hit “Submit” button.
4. Hit “Flush Magento Cache” and “Flush Cache Storage” buttons.
5. Open your favorite FTP Application.
6. Delete the contents of “var/cache” folder (located in your Magento root folder).
7. Navigate to System > Index Management > Select All [check-boxes] > Actions = Reindex Data > Submit
8. Navigate to System > Tools > Compilation and click Disable button. If compilation is already disabled, you need not do this.
​Note:  After you verify and get the extension working, enable the cache and compilation again by navigating to the pages mentioned in step 1 and step 8, respectively.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

Please sign in to leave a comment.