1. Social Login With Google Facebook Twitter

Social Login With Google Facebook Twitter

  |   42
Social Login With Google Facebook Twitter

Social Login For Datalife Engine : a tool that allows users to establish a single access to various web services without the need for re-registration, and site owners, get an extra influx of customers from social networks and popular portals (Google, Yandex, Mail.ru, VKontakte, Facebook, etc. )

Advantages for users:

- Ability to access the sites or blogs that support uLogin, without additional registration.
- Confidentiality of your data and secure access to information in your accounts.
- Ability to select the most appropriate way for you to identify (through the popular social networking sites and portals).

Benefits for site owners:

- An intuitive user interface.
- Easy and quick to install, configure and manage the widget uLogin.
- Support for different ways to authenticate users.
- Additional influx of customers of the popular social networking sites and portals.
- Common API obtain the user data (all data are provided in a common format).
- Additional opportunity to receive e-mail addresses, telephone numbers and other information about the user.
Before you start to use this module after installation, make sure you set the default usergroup in admin CP > System Settings > User Settings and set "To place users through ULogin in group:", otherwise you might end up give the users administrator account!

Demo: http://www.freefresh.in
Login Required!Only registered users can download files. Please register or Login

Update December 2014 by DLEStarter Team


We would like to keep original module above as record and still working on DLE 9.x for the time being.
====================================================
As off December 2, 2014 update information is below...
====================================================
Supported Social Networks
- VKontakte: vkontakte
- Twitter: twitter
- Mail.ru: mailru
- Facebook: facebook
- Classmates: odnoklassniki
- Yandex: yandex
- Google: google
- Steam: steam
- Soundcloud: soundcloud
- Last.FM: lastfm
- LinkedIn: linkedin
- Live ID: liveid
- Flickr: flickr
- uID: uid
- LiveJournal: livejournal
- Open ID: openid
- Webmoney: webmoney
- Youtube: youtube
- foursquare: foursquare
- tumblr: tumblr
- Google+: googleplus
- dudu: dudu
- Vimeo: vimeo
- Instagram: instagram
- Wargaming.net: wargaming

====================================================
== Installation ==
====================================================
1. Upload file ulogin.php to server location /engine/modules/

2. In your template file login.tpl above login form insert (or replace if you want to use social login only) :
<script src="http://ulogin.ru/js/ulogin.js"></script>
  <div id="uLogin" x-ulogin-params="display=small&lang=en&fields=first_name,last_name,photo,email,bdate,nickname&providers=twitter,facebook,google,linkedin&hidden=vkontakte,mailru,yandex,livejournal,openid&redirect_uri={ulogin}"></div>

Use custom button on your own buttons
<script src="http://ulogin.ru/js/ulogin.js"></script>
  <div id="uLogin" x-ulogin-params="display=buttons&lang=en&fields=first_name,last_name,photo,email,bdate,nickname&providers=twitter,facebook,google,linkedin&hidden=vkontakte,mailru,yandex,livejournal,openid&redirect_uri={ulogin}">
  <img src="{THEME}/images/twitter.png" data-uloginbutton="twitter" alt="Twitter" style="cursor:pointer" />
  <img src="{THEME}/images/facebook.png" data-uloginbutton="facebook" alt="Facebook" style="cursor:pointer" />
  <img src="{THEME}/images/google.png" data-uloginbutton="google" alt="Google" style="cursor:pointer" />
  <img src="{THEME}/images/linkedin.png" data-uloginbutton="linkedin" alt="LinkedIn" style="cursor:pointer" />
  </div>

uLogin supports the following languages: (as of today December 2, 2014 supports 6 languages)
"ru" - Russian
"en" - English
"uk" - Ukrainian
"fr" - French
"de" - German
"uz" - Uzbek (Cyrillic)

To specify your language you must use tag lang=xx (where xx is the 2 letters of supported languages above), For example lang=en includes the English localization widget for all users.

3. In your template file userinfo.tpl below
<tr><td class="label">Signature:</td><td><textarea name="signature" style="width:98%;" rows="5" class="f_textarea">{editsignature}</textarea></td></tr>
Add:
 [group=6]
	      <tr>
		  <td class="label">Synchronization profiles uLogin:</td>
		      <td>
			  <script src="http://ulogin.ru/js/ulogin.js"></script>
			  <div id="uLogin" x-ulogin-params="display=small&lang=en&fields=first_name,last_name,photo,photo_big,email,bdate,nickname&providers=twitter,facebook,google,linkedin&hidden=other&redirect_uri={ulogin_sync}"></div>
		      </td>
	      </tr>
  [/group]

Where group = 6 - number of usergroups Ulogin (on this, see step #9 below);

4. Open file index.php find
$tpl->set ( '{speedbar}', $tpl->result['speedbar'] );
add:
$tpl->set( '{ulogin}', urlencode('http://' . $_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI'] ));

5. Open file /engine/modules/profile.php find
$tpl->load_template( 'userinfo.tpl' );
add after:
$tpl->set( '{ulogin_sync}', urlencode('http://' . $_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI'] ));

6. Open file init.php from "engine" folder find r
equire_once ENGINE_DIR . '/modules/gzip.php';
add:
require_once ENGINE_DIR . '/modules/ulogin.php';

7. Open file engine/inc/options.php find
showRow( $lang['opt_sys_reggroup'], $lang['opt_sys_reggroupd'], makeDropDown( $sys_group_arr, "save_con[reg_group]", $config['reg_group'] ) );
add:
showRow( $lang['opt_sys_regulogin'], $lang['opt_sys_regulogind'], makeDropDown( $sys_group_arr, "save_con[reg_group_ulogin]", $config['reg_group_ulogin'] ) );

8. Open file language/English/adminpanel.lng find
'wysiwyg_language' => "en",
add:
'opt_sys_regulogin' => "Move a user is logged in through ULogin group:",
'opt_sys_regulogind' => "Select the group to which the users are authorized to be placed through ULogin",

9. Go to the Admin CP - System Settings - User settings (for DLE 10.x System Setup - Guests)
- Setting up the option "Move a user is logged in through ULogin group:"
- You can create a special or additional usergroup, for example "ULogin"
- After creating a group ULogin, change the group number in step #3 to the group ID Ulogin.

10. Check the settings in php plugins option allow_url_fopen (should be enabled) or the curl extension is enabled.

Social Login With Google Facebook Twitter

Login Required!Only registered users can download files. Please register or Login
Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.

Details

+17

Comments 42

privateagent1
Commented By privateagent1 on February 1, 2012 (12:10 am)
This Is Awesome Share dance
N/A 2Forum topics : 0Forum replies : 0Forum likes : 0
nellyville
Commented By nellyville on February 1, 2012 (9:55 am)
Thanks bro, working fine beer2 but i have a question, how i made that icons smaller? or how i eliminate yandex.ru ?
31 42Forum topics : 9Forum replies : 34Forum likes : 1

Check my website http://www.Jocuriarena.com
jopaulmj
jopaulmj
V.I.P.
Commented By jopaulmj on February 1, 2012 (10:17 am)
nellyville,
Check Developer Site

http://ulogin.ru/constructor.html

From There You Can Select Styles and Providers Simply Check And Uncheck

Then Generate Codes As Your Like look

In The Code There Is 2 Sections One Is Visible Other Is Hidden
<div id="uLogin"></div>
<script src="http://ulogin.ru/js/widget.js?display=panel&fields=first_name,last_name,bdate,email
,nickname,photo&providers=vkontakte,mailru,facebook,google,yandex&hidden=openid,odnoklassnik
i,livejournal,twitter&redirect_uri={ulogin}"> </script>
Just Remove "yandex" From The Code Or Replace To Hidden Area

Hidden Area Start From
 hidden= 
You Can Simply Coustmise By Replaicing Providers Visible To Hidden and Vice versa smoke
5 26Forum topics : 0Forum replies : 0Forum likes : 0
nellyville
Commented By nellyville on February 1, 2012 (12:38 pm)
jopaulmj,
Thanks, it's working! wink
31 42Forum topics : 9Forum replies : 34Forum likes : 1

Check my website http://www.Jocuriarena.com
spamhater
spamhater
DLE TEAM
Commented By spamhater on February 1, 2012 (1:06 pm)
good share man, I hate facebook connection pro module, finally we have something to do even better and lighter module...!
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
jopaulmj
jopaulmj
V.I.P.
Commented By jopaulmj on February 1, 2012 (9:19 pm)
spamhater,

We Got Updation After Some Days Their Wordpress Plugin Is Good That Grab Avathar And More Information From Social Networking Sites And Also Support Comments Area.I Think Now People Take Serious To Develop DLE Module

DLE TEAM Makes Datalife Engine Live applause
5 26Forum topics : 0Forum replies : 0Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on February 1, 2012 (9:22 pm)
Quote: jopaulmj
DLE TEAM Makes Datalife Engine Live applause
We appreciate you saying that...manner of fact we get busy now for the team so can't post much...but we will be back on post very soon...
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
nellyville
Commented By nellyville on February 2, 2012 (1:50 pm)
I have problem with this module, not working anymore for me... angry and i don't kwow why.
See here (right column)
31 42Forum topics : 9Forum replies : 34Forum likes : 1

Check my website http://www.Jocuriarena.com
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on February 2, 2012 (2:13 pm)
I just tested it, working fine to me, only thing you have to modify is to hide it after logged in, simply use tag
[group=5]your social log in code here[/group]
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
nellyville
Commented By nellyville on February 2, 2012 (3:10 pm)
jopaulmj,
I thing i'm not so lucky just like u, it's not working for me. But if this working for guests which visit my site is ok then, i don't need that Ulogin to acces my Login Panel.

tbenmcp,
I have insert and that code, same thing....
31 42Forum topics : 9Forum replies : 34Forum likes : 1

Check my website http://www.Jocuriarena.com
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on February 2, 2012 (3:36 pm)
don't see the problem at all..you can try in http://movies.dlestarter.com/

Use you own social account to login or try demo account (demo/demo)

no luck need for that...may either of you don't follow your own instruction... winked
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
romeoluv56
Commented By romeoluv56 on February 4, 2012 (1:39 am)
working perfecty, nice share, thanks buddy... applause
drinkordie
drinkordie
Members
Commented By drinkordie on February 13, 2012 (2:43 am)
WTF ! When someone use this to register script assigns him to the Administrators group !

You forget to add this in instruction:

You must go to System Settings > User Settings and change grup because default is Admins bazar

To place users through ULogin in group:
2 27Forum topics : 13Forum replies : 27Forum likes : 0

My new site - moviearchive.eu
maxvendy
maxvendy
Members
Commented By maxvendy on February 13, 2012 (3:28 am)
the passwort to open the file is ?????????
N/A 1Forum topics : 0Forum replies : 0Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on February 13, 2012 (12:17 pm)
drinkordie, you are right about...thank you for the info...

Also everyone need to know that if you limited the user registration number, this module simply ignore it, so it means this module will act without your authorization and my pass your settings...

maxvendy, This is not dle-en.com, never asked this question here...! unless you have problem with your eyes, in that case please visit vision doctor...
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
rumy1200
rumy1200
Members
Commented By rumy1200 on February 19, 2012 (3:04 am)
i can not fine the code
<h1 class="shd">[full-link]{title}[/full-link]</h1>

and <h1 class="shd">{title}</h1>
N/A 18Forum topics : 14Forum replies : 37Forum likes : 0
sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on February 19, 2012 (4:28 am)
you are confusing the instruction with some other module? because as far as I know there is no such thing in this module instruction

you are confusing the instruction with some other module? because as far as I know there is no such thing in this module instruction
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
deathbat6661
Commented By deathbat6661 on February 20, 2012 (9:11 pm)
Why this make 2 member? with username Ulogin, and name in Social Networking
how to fix it? I use DLE 9.5
N/A 6Forum topics : 3Forum replies : 9Forum likes : 0
sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on February 21, 2012 (1:48 pm)
because the ulogin use separated cookie
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
Commented By hiroshimamovies on February 23, 2012 (1:31 am)
hello,
it work for me, only modules twitter and gmail give me this error

{"error":"no token given"}

how to fix it ?
3 49Forum topics : 111Forum replies : 338Forum likes : 2
spamhater
spamhater
DLE TEAM
Commented By spamhater on February 23, 2012 (2:13 am)
hiroshimamovies,
that means the module cannot identify your site URL while login that's how you got this message http://ulogin.ru/token.php

did you install your dle in subdomain or subfolder? if that's the case try to add
RewriteBase /
under
RewriteEngine On
in .htaccess file
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
Commented By hiroshimamovies on February 23, 2012 (11:23 am)
spamhater,
thanks, it'right !
it's seem ulogin.ru to be down
3 49Forum topics : 111Forum replies : 338Forum likes : 2
drinkordie
drinkordie
Members
Commented By drinkordie on February 23, 2012 (11:20 pm)
I deleted this from my site - it consumes too much of server resources plus you must depend on other site.
2 27Forum topics : 13Forum replies : 27Forum likes : 0

My new site - moviearchive.eu
Commented By hiroshimamovies on February 24, 2012 (3:03 am)
How I can unistall this module ?
thanks
3 49Forum topics : 111Forum replies : 338Forum likes : 2
jopaulmj
jopaulmj
V.I.P.
Commented By jopaulmj on February 24, 2012 (3:24 am)
hiroshimamovies,

Remove The Code From Main.tpl
<div id="uLogin"></div>
<script src="http://ulogin.ru/js/widget.js?display=panel&fields=first_name,last_name,bdate,email
,nickname,photo&providers=vkontakte,mailru,facebook,google,yandex&hidden=openid,odnoklassnik
i,livejournal,twitter&redirect_uri={ulogin}"> </script>

Its Very Useful Module Unfortunately Website Is Down

Hope We Got API Of This Script
5 26Forum topics : 0Forum replies : 0Forum likes : 0
Commented By hiroshimamovies on February 24, 2012 (5:43 am)
thanks, but I have this in login.tpl
3 49Forum topics : 111Forum replies : 338Forum likes : 2
Mackay
Mackay
Members
Commented By Mackay on February 24, 2012 (6:10 am)
http://ulogin.ru is down and the script is down
help with js?
N/A 3Forum topics : 1Forum replies : 6Forum likes : 0
sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on February 24, 2012 (2:55 pm)
the js is using their own api for login, if the site down then nothing we can do...
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
mecho
mecho
Members
Commented By mecho on November 4, 2012 (4:50 am)
it works great ,

any way to have our own icons ???
N/A 3Forum topics : 9Forum replies : 27Forum likes : 0
vplaydotmy
vplaydotmy
Members
Commented By vplaydotmy on September 16, 2013 (7:03 am)
Hello, i've problem installing on dle 9.8. I following the instructions given but when i try go to System Setting.
I got this message


Parse error: syntax error, unexpected T_VARIABLE, expecting ')' in /home/vplay/public_html/engine/inc/options.php on line 611


Also when i check on language/English/adminpanel.lng

there is no
'wysiwyg_language' => "ru",
N/A 6Forum topics : 0Forum replies : 0Forum likes : 0
Information!Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.
DLEStarter Notice!Please note...Every hack and every module will get additional queries from your database and some hacks and some modules may result your server overload, so install only what you "need", remove any hacks and modules from your script when you don't need them, all hacks and modules appears in this website are not guaranteed by DLEStarter Team for your script security and compatibility, please read instruction carefully and use hacks and modules at your own risk...Thank you.