Register now or log in to join your professional community.
-HERE IS THE IDEA-
Installation Guide
Note - If you are already using any lower version of Social Login, please follow the steps a,b,c,d and e to uninstall that else if you are installing Social Login first time then move to step1 :-
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.
e. If you are upgrading to Social Login version2.0.0 or above, login to your Magento website database and execute following queries. Replace "" in below mentioned queries with your Magento database prefix:-
DROP table if exists sociallogin;
DELETE from core_resource WHERE code = "sociallogin_setup";
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 Pagesarea located under the CMSsection 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 adesign/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:-
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:-
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> beingyour 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 “sociallogin” table from your magento database. “” is your Magento database tables’ prefix.
Hello! I have found a lot of useful information regarding Magento here http://sam-ecommerce.com/ I think you can try to find the solution of your problem too.
Refer this link
http://inchoo.net/magento/social-connect-magento-extension/
Thanks,
The tutorial is great! But as I'm not very good at coding, I decided to install an extension (quick ajax login by Amasty) for that. One more important thing for me was login option with AJAX.
I think it is much better for user-experience than page reloads, isn't it?
Thnkew alireza hoseini,
This is the best tutorial i found, unfortunaly i have done this with other extension.
but my new target is to implement facebook autopost in a catagory, if person is download any free item in a free catagory, they must have to like the facebook page. and after download that will be share on user's timeline. can you be please help me in this ????