Forums (not available)

How to make a social network authorization

Site authentication via social network is an essential part of any modern website. To release this feature you need to install and configure SLogin component that was developed by Joomline team.

SLogin support following social networks:

Facebook, Twitter, Linked-In, Google+1, Instagram, WordPress, Yahoo, Vkontakte, live.com, Odnoklassniki, Yandex, Ulogin and Mail.ru.

And can be integrated with 3rd party extensions. Let's look at this point step by step.

Download and install SLogin

Here is the official page: http://joomline.org/extensions/component-for-joomla/slogin.html
Go to download section and get the latest version of this extension. The packages goes with a component, log in module and integration plugins.
Once you get the latest package, you have to install it via Joomla installation manager.

Go to: Extensions > Extension manager > Upload package File

Component dashboard

After successful installation, the component is available at Components > SLogin or via following url: /administrator/index.php?option=com_slogin.

Main interface is divided into two sides: left sidebar and content field.
Left sidebar has two items: Home and Users and there is also toolbar with following buttons:

  • Repair tables - should be used in an emergency case if something is crashed
  • Clean tables - delete all data of users’ social accounts
  • Options - component settings

So, “users” item has user’s list with information about users who’ve logged in at SLogin. There are IDs of social networks and the list of networks from which a user has logged in.
It’s possible to delete a user from SLogin or delete a user completely.

Options
We may go here if we click on “Options” at top toolbar of the component. Here are 3 tabs with options to configure.

Main settings
Username - how to generate username (Name or Surname, Name only or E-mail) Login for members - how to generate login name (Name - Surname or E-mail) Confirm your account ownership - if an e-mail is taken from a social network, so the component takes the data from the social network profile along with the user’s e-mail and puts it inputs existing user’s username and password.

Query mail when registering - some authentication services do not provide e-mail, thus if this option is enabled, SLogin will generate a false e-mail. But in this case it’s impossible to reset password via standard authentication component.
Edit data before registration - when you log in via social network, you’ll get a popup window where you may change default data: Name, username and password.
Local Debugging - should be used on local server or testing polygon only. Not for live sites.
Redirects - managing of redirects after logging in the site or when a user logs out (you need to assign each option to menu item).
Permissions - basic Joomla 3 permissions to access the component.

So, these were the main settings of the component.

Creating applications for authorization through social networks

Now we’ve examined the main configuration of the component and now it’s time to create applications for social networks.

Here is an official tutorial: http://joomline.org/docs/slogin/333-sozdanie-prilozhenij-dlja-socialnoj-avtoriziacii.html

Please, follow these instructions and create applications for necessary networks.

SLogin plugin for Kunena

The plugin provides integration of the user’s data taken from a social network to Kunena profile (avatars too). It’s commercial add-on and you have to buy it here (about €9)

Plugin has no settings, so you just need to install and enable it.

SLogin plugin for JComments

As the previous one, this plugin allows to get data from social network and use in JComments. It’s very useful to display avatars and authentication toolbar in the top of comments feed.

Plugin is free and can be downloaded from official JComments developer’s site:http://www.joomlatune.com/jcomments-plugins.html#plg_jcomments_slogin

It has minimal settings i.e. pre-text and option to include default CSS styles for toolbar. So, you just need to install and enable the plugin to make it work with JComments.

Google Plus
Vk
Pinterest

ZOO CCK

Haven't found answer yet? Try your search on the forum or ask your question


(not available)

Partners