Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Claude, OneAll on February 01, 2013, 03:57:31 PM

Title: Social Login
Post by: Claude, OneAll on February 01, 2013, 03:57:31 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3580)

Social Login

OneAll Social Login allows your users to connect with one click to your Simple Machines Forum by using their social network accounts.
Over thirty different social networks such as Facebook, Twitter, LinkedIn, Google, Yahoo, GitHub, Windows Live and others supported.

Users can connect with one click to your Simple Machines Forum by using their social network accounts.

(https://secure.oneallcdn.com/img/services/social_login/social-login-extension.jpg)



Social Login increases your registration rate
Social Login increases the user registration rate of your Simple Machines Forum by simplifying the registration process.
Get rid of long forms and complicated captchas by allowing new users to sign-up with their existing social network account.

Gather rich demographic information (age, gender, phone numbers ...) about your users without requiring them to fill out any forms.
Obtain pre-validated email addresses to increase your data quality and eliminate the long and tedious email confirmation process.


Social Login simplifies the login process
Your existing users can link their account to one or more social networks and can then use these social network accounts to login.
Eliminate the issues of forgotten usernames and passwords!


Social Login integrates with your existing system
Social Login seamlessly integrates into your Simple Machines Forum so you and your users don't have to start from scratch.


35+ Supported Social Networks
- Amazon
- Battle.net
- Blogger
- Discord
- Disqus
- Draugiem
- Dribbble
- Facebook
- Foursquare
- Github.com
- Google
- Instagram
- Line
- LinkedIn
- LiveJournal
- Mail.ru
- Meetup
- Odnoklassniki
- OpenID
- PayPal
- Pinterest
- Pixelpin
- Reddit
- Skyrock.com
- Soundcloud
- StackExchange
- Steam
- Twitch.tv
- Twitter
- Vimeo
- VKontakte
- Weibo
- Windows Live
- WordPress.com
- Yahoo
- YouTube


API Connection
The social network APIs are constantly changing and being updated. OneAll monitors these changes and automatically updates APIs,
so you can be sure Social Login will always run smoothly and with the most up-to-date API calls. 
In order to connect with the OneAll API, you have to create a new account at https://app.oneall.com/.


About Us
Social Login is maintained by OneAll, a technology company offering a set of web-delivered tools and services for establishing and
optimizing a site's connection with social networks.

Visit us at:
http://www.oneall.com (http://www.oneall.com)

Documentation
The Social Login documentation is available at:
http://docs.oneall.com/plugins/guide/social-login-smf/ (http://docs.oneall.com/plugins/guide/social-login-smf/)

Need help?
We are devoted to creating a positive experience for our customers and always try to go above and beyond your expectations.
Do not hesitate to contact us for questions about the Social Login Module, to give us your feedback or if you need any help
with the integration of the extension in your forum.

Our team answers your questions at:
http://support.oneall.com/ (http://support.oneall.com/)
Title: Re: Social Login
Post by: Mick. on February 01, 2013, 04:38:10 PM
Very cool guys. When login in with google i had an error.

I had the change the permission to 755 on oneall_social_login.callback.php  ;)

All good now.
Title: Re: Social Login
Post by: MaSSSS on February 01, 2013, 05:15:33 PM
I have just tried to set this up but something is wrong or Im making mistake somewhere.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffotkica.com%2Fimgs3%2F1_71566164_dbd427b2cf60cd50095e08a078b18044.png&hash=545fc6dd563b59aaff69907107a23625)

Its hanging there and nothing happens, and Ive got everything setup.
Title: Re: Social Login
Post by: Mick. on February 01, 2013, 05:17:41 PM
Make sure the subdomain name is the same on your dashboard.
Title: Re: Social Login
Post by: MaSSSS on February 01, 2013, 05:22:17 PM
It is but Im not sure if it makes any difference if its mydomain/forum/ or not. If so then I should add /forum ?

Also there is no subdomain, only tld

Edit: Osnap...I see that there is API subdomain entry...what now I need to create a subdomain for it?

Im sorry but this is not working for me for some reason. Its not verifying anything and it just hangs there. I made sure i got it all set right, API subdomain entry is the same as I have set on the dashboard.

If I need to create something else like a subdomain on my tld please say so, this way it will end up in the bin.
Title: Re: Social Login
Post by: NanoSector on February 01, 2013, 05:52:03 PM
Register on the OneAll site for an account, instructions will follow. :)
Title: Re: Social Login
Post by: MaSSSS on February 01, 2013, 06:02:53 PM
I have completed all of that and I have plugins setup already. Plugins I got set, I marked in the mod for activation, but as I said nothing happens.
Title: Re: Social Login
Post by: Mick. on February 01, 2013, 06:11:36 PM
I have completed all of that and I have plugins setup already. Plugins I got set, I marked in the mod for activation, but as I said nothing happens.

If you did everything step by step, try this..
change the permission to 755 on oneall_social_login.callback.php  and see if it helps. I had to.
Title: Re: Social Login
Post by: MaSSSS on February 01, 2013, 06:22:15 PM
I believe that would solve it but for some reason it wont let me do it...

Quote
Set permissions of '/forum/oneall_social_login.callback.php' to '755'
Command:   SITE CHMOD 755 oneall_social_login.callback.php
Response:   550 CHMOD 755 oneall_social_login.callback.php: Operation not permitted

In use?
Title: Re: Social Login
Post by: Mick. on February 01, 2013, 06:31:01 PM
I believe that would solve it but for some reason it wont let me do it...

Quote
Set permissions of '/forum/oneall_social_login.callback.php' to '755'
Command:   SITE CHMOD 755 oneall_social_login.callback.php
Response:   550 CHMOD 755 oneall_social_login.callback.php: Operation not permitted

In use?

Hmmm... i did mine thru cPanel.

Also, you dont have to create a subdomain.  My forum resides in /community and i didnt have to.
Title: Re: Social Login
Post by: MaSSSS on February 01, 2013, 06:34:43 PM
Ok thanks for all the help. Ill resolve this one tomorrow its late now.

If it works with this permission change Ill update it here so everyone know it is a real fix for it.

Cheers.

Well, looks like its working but it still not saying anything about API setting check and Connection handlers...same message like on image in my previous post.

What I had to do is to change permissions on file mentioned to 755, and along the line I fixed a few more errors I had, so not sure if that did the trick or not.

Social login buttons are shown in Account Settings in forum profile, and on registration menu like one below

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgyazo.com%2F7088d3f3c79179264c1e1e178e82db87.png&hash=3861d0c6eabf595a63bb7fcf132fa3e0)

or on the registration form.

Was a bit moderate to setup but worth a hustle...

Edit:

Ok I had to remove it. There is slight performance impact and if you have a lot of mods and are on shared hosting it might become a problem as it did for me.

One more problem is that I had user registration set On Admin Approval, which this plugin ignores and approves registration of users without even notifying admin of it. Thats bad and main reason I removed it. Its perfectly fine for open site and communities but its not for the closed ones.

Nevertheless its a very nice plugin, but adding these additional features might help making it even better.
Title: Re: Social Login
Post by: Claude, OneAll on February 03, 2013, 05:20:39 AM
Very cool guys. When login in with google i had an error.

I had the change the permission to 755 on oneall_social_login.callback.php  ;)

All good now.

Hi Mick,

thank you very much for this suggestion, I'll check if I can solve this issue.

Best Regards,

Claude
Title: Re: Social Login
Post by: Claude, OneAll on February 03, 2013, 05:25:57 AM
What I had to do is to change permissions on file mentioned to 755, and along the line I fixed a few more errors I had, so not sure if that did the trick or not.

One more problem is that I had user registration set On Admin Approval, which this plugin ignores and approves registration of users without even notifying admin of it. Thats bad and main reason I removed it. Its perfectly fine for open site and communities but its not for the closed ones.

Nevertheless its a very nice plugin, but adding these additional features might help making it even better.

Thank you very much for the confirmation and for the suggestion about the user registration.
I'll definitely improve this in the next version!

Best Regards,
Title: Re: Social Login
Post by: dimspace on February 04, 2013, 02:43:24 PM
Installed, but having numerous problems with this one.

First up:

clicking the "autodetect api connection handler" is doing nothing, nada, nil
clicking "verify api settings" is doing nothing either

Next:
When trying to link an existing profile to an account. Added facebook to my member account and get the error

Code: [Select]
Warning: Cannot modify header information - headers already sent by (output started at /home/vrforum/public_html/Sources/QueryString.php:567) in /home/vrforum/public_html/Sources/Subs.php on line 3081
=====================

3rd problem.

registration, in this ocassion i tried to register using google. Multiple errors when it access page oneall_social_login.callback.php


Warning: Cannot modify header information - headers already sent by (output started at /home/vrforum/public_html/Sources/QueryString.php:567) in /home/vrforum/public_html/Sources/Subs-Auth.php on line 129]

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/vrforum/public_html/Sources/QueryString.php:567) in /home/vrforum/public_html/Sources/Load.php on line 2506

Warning: Cannot modify header information - headers already sent by (output started at /home/vrforum/public_html/Sources/QueryString.php:567) in /home/vrforum/public_html/Sources/Load.php on line 2510

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/vrforum/public_html/Sources/Subs-Auth.php on line 170

Warning: Cannot modify header information - headers already sent by (output started at /home/vrforum/public_html/Sources/QueryString.php:567) in /home/vrforum/public_html/Sources/Subs.php on line 3081

However, must be pointed out, the registration IS succesful.

Have set permissions of root/oneall_social_login.callback.php to 755 via ftp
Title: Re: Social Login
Post by: dimspace on February 04, 2013, 04:38:05 PM
Ok. IGNORE THE ABOVE POST. But Im going to leave it there in case someone has the same issues.

First problem still stands, authorising things does nothing, but they do add to the db.

the rest, i ran the smf file checker utility, http://wiki.simplemachines.org/smf/File_check.php_-_What_is_it_and_what_does_it_do
and fixed all the files with utf-8 BOM (Which included subs.php)

and now it is linking accounts correctly.

fully working and tested, linking existing accounts, and registering as new member
Title: Re: Social Login
Post by: dimspace on February 04, 2013, 05:39:31 PM
I have however discovered a huge flaw.

if you are an existing member, and you go to the logon page, and even though youve not yet linked your twitter or facebook account to your user account, if you carry on and click "login with social network", it creates a whole new account.


Three of my members have just created new accounts by accident.

Logon routine should not be able to create new accounts.

it needs something built in that compares the login request with existing linked accounts and if none exist, then putting up an error message saying that the social account isnt linked to an existing account, please login normally or register for the forum.

pending that bugfix ive disabled for now, if three members (plus me) can create new accounts by accident in a matter of minutes, i dread to think how many there would be by the morning :D its got promise, but thats a bit of a faux pas.
Title: Re: Social Login
Post by: vbgamer45 on February 05, 2013, 11:33:15 AM
Bug fix for forums that do not allow guests to view
In oneall_social_login.callback.php
Find
Code: [Select]
// Security Check.
if (file_exists (dirname (__FILE__) . '/SSI.php') && !defined ('SMF'))
require_once(dirname (__FILE__) . '/SSI.php');
elseif (!defined ('SMF'))
die ('<strong>Unable to execute:</strong> Please make sure that you have installed Social Login correctly.');

Change to
Code: [Select]
// Allow Guests
$ssi_guest_access = true;
// Security Check.
if (file_exists (dirname (__FILE__) . '/SSI.php') && !defined ('SMF'))
require_once(dirname (__FILE__) . '/SSI.php');
elseif (!defined ('SMF'))
die ('<strong>Unable to execute:</strong> Please make sure that you have installed Social Login correctly.');

Title: Re: Social Login
Post by: SA™ on February 05, 2013, 02:08:29 PM
finaly another social login nice work OneAll :)
Title: Re: Social Login
Post by: DAVID. D.A on February 06, 2013, 08:12:14 PM
I had no problem with logging in as an existing user, it automatically link my account, but then, linking other accounts. Twitter; after you click the sign in button on the acceptance page, nothing happens. Google; gave the below error after linking, but linked successfully
Quote
Error 403

We're sorry, but we could not fulfill your request for /oneall_social_login.callback.php?oasl_source=profile;oasl_uid=7 on this server.

You do not have permission to access this server. Data may not be posted from offsite forms.

Your technical support key is: 59bb-8f98-cd36-1abb

You can use this key to fix this problem yourself.

If you are unable to fix the problem yourself, please contact the WEBMA5TER and be sure to provide the technical support key shown above.


Youtube; just left with a blank white page and yet no account linking.

Then the first error as dimspace pointed out, on verification, still exists, even after 755

Aside that, excellent mod!!!! excellent!


Just being over excited here though :) but, for theme's where login can be found on the homepage's header (attimes as drop down); how do you add the social login buttons there also?
Title: Re: Social Login
Post by: dimspace on February 06, 2013, 08:21:03 PM
I had no problem with logging in as an existing user, it automatically link my account, but then, linking other accounts. Twitter; after you click the sign in button on the acceptance page, nothing happens. Google; gave the below error after linking, but linked successfully
Quote
Error 403

We're sorry, but we could not fulfill your request for /oneall_social_login.callback.php?oasl_source=profile;oasl_uid=7 on this server.

You do not have permission to access this server. Data may not be posted from offsite forms.

Your technical support key is: 59bb-8f98-cd36-1abb

You can use this key to fix this problem yourself.

If you are unable to fix the problem yourself, please contact the WEBMA5TER and be sure to provide the technical support key shown above.


Youtube; just left with a blank white page and yet no account linking.

Then the first error as dimspace pointed out, on verification, still exists, even after 755

Aside that, excellent mod!!!! excellent!


Just being over excited here though :) but, for theme's where login can be found on the homepage's header (attimes as drop down); how do you add the social login buttons there also?

it linked accounts if they had an identical email, but how many people only have one email.

if you tried to login with an account that wasnt your default email it createed an account
Title: Re: Social Login
Post by: DAVID. D.A on February 07, 2013, 05:16:51 AM
I think the linking of account aspect should be looked into deeply.

Created a new account with an gmail(not my default), it also linked my other social networks having that email, but when i tried to unlink yahoo, same 403 error. and i guess same error would happen to other networks.

Basically, the end point of linking or unlinking accounts gives ERROR 403.
 
Twitter's problem still exists,  either as new registry or linking. - No response after you click the twitter sign in button on allow app permision page.


Also, a user can delete their account without typing a password i.e just blank box; should this be a problem?
Title: Re: Social Login
Post by: Srinib on February 07, 2013, 11:43:00 AM
Who ever is already using this MOD without any issues, can you please give me the URLs. So that i can have a feel of it and plan for my forum.
Title: Re: Social Login
Post by: Mick. on February 07, 2013, 11:43:45 AM
Who ever is already using this MOD without any issues, can you please give me the URLs. So that i can have a feel of it and plan for my forum.
no issues here. I dont think. ;)
Title: Re: Social Login
Post by: Srinib on February 07, 2013, 12:07:49 PM
Mick, Your homepage looks really cool. And your home office looks very neat. I happen to see a SimplePortal thing below the page. Did you do that with SimplePortal?
Title: Re: Social Login
Post by: Mick. on February 07, 2013, 12:11:24 PM
Mick, Your homepage looks really cool. And your home office looks very neat. I happen to see a SimplePortal thing below the page. Did you do that with SimplePortal?
yup.
Title: Re: Social Login
Post by: Srinib on February 07, 2013, 12:19:01 PM
If i login to a forum using any of these 20 social user/password, will i be a member to that forum? I mean, do my username show up in the member list?
Title: Re: Social Login
Post by: Mick. on February 07, 2013, 12:25:57 PM
Yes
Title: Re: Social Login
Post by: Srinib on February 07, 2013, 12:40:43 PM
How come i don't see Members button on any of the forums using Social Login?
Title: Re: Social Login
Post by: Mick. on February 07, 2013, 12:54:22 PM
How come i don't see Members button on any of the forums using Social Login?
  • Did they remove it? or
  • This button is not visible to temporary members(guest who login with Social Login)
some remove it.  I removed mine from the Subs.php file
Title: Re: Social Login
Post by: Claude, OneAll on February 08, 2013, 05:49:26 AM
If i login to a forum using any of these 20 social user/password, will i be a member to that forum? I mean, do my username show up in the member list?

Hi Srinib,

there is no difference between a member that has signed up by using Social Login and a member that has signed up by using the registration form.

Regards,

Title: Re: Social Login
Post by: Srinib on February 08, 2013, 08:14:32 AM
If i login to a forum using any of these 20 social user/password, will i be a member to that forum? I mean, do my username show up in the member list?

Hi Srinib,

there is no difference between a member that has signed up by using Social Login and a member that has signed up by using the registration form.

Regards,
I have two more questions on members.
Title: Re: Social Login
Post by: Mick. on February 08, 2013, 08:21:22 AM
Yes
Title: Re: Social Login
Post by: dimspace on February 08, 2013, 11:15:02 AM
This mod has now been updated to 2.1 and it fixes all the little bugs

+ if a user tries to logon with an unregistered account it says there is no account linked and to register or add it to their profile.

works absolutely superbly and a breeze to set up your social networks which is normally a total pain in the neck.

huge props to the guys at oneall as well who have been really quick to fix the bugs and communicated really well.
Title: Re: Social Login
Post by: DAVID. D.A on February 08, 2013, 12:45:50 PM
Please has anyone else tried this?

Tried logging in but
Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@threadn.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Social Login
Post by: DAVID. D.A on February 08, 2013, 01:21:18 PM
755 fixed it
Title: Re: Social Login
Post by: Mick. on February 08, 2013, 02:13:53 PM
Set permissions oneall_social_login.callback.php to 755.
Title: Re: Social Login
Post by: DAVID. D.A on February 08, 2013, 03:20:05 PM
Had the same ERROR 403 as before after that, but mod_security was the problem.
For anyone else that might encounter such problem:
http://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security
Title: Re: Social Login
Post by: DAVID. D.A on February 08, 2013, 03:30:24 PM
User tried unlinking facebook.
error:
Quote
An Error Has Occurred!

The database value you're trying to insert does not exist: identity_token

tho successful in the end
Title: Re: Social Login
Post by: Claude, OneAll on February 08, 2013, 03:49:18 PM
Quote
The database value you're trying to insert does not exist: identity_token
I've been able to reproduce this issue. It occurs when you click back in the browser after having unlinked a social network.
I'm working on a bugfix!

Thank you for your feedback!
Title: Re: Social Login
Post by: Claude, OneAll on February 08, 2013, 04:12:22 PM
I've uploaded version 2.2 now.
http://custom.simplemachines.org/mods/index.php?mod=3580

It should no longer be required to chmod the files and the database error when unlinking a social network has also been fixed.


Title: Re: Social Login
Post by: Mick. on February 08, 2013, 04:19:51 PM
I've uploaded version 2.2 now.
http://custom.simplemachines.org/mods/index.php?mod=3580

It should no longer be required to chmod the files and the database error when unlinking a social network has also been fixed.




Awesome. Chmoding the file is not an issue anymore.
Title: Re: Social Login
Post by: Sudhakar Arjunan on February 09, 2013, 10:45:22 AM
Dear One all Team,

First of all one all an amazing mod with each and every steps were clearly drafted. Nice team.

I have installed the latest 2.2 version for my smf 2.0.4 forum.

I use a windows dedicated server. Went through each and every process carefully and activated the facebook.

Tried a demo login was throwing a error as mentioned by other users.

After Facebook login success - forum/index.php?action=oasl_callback;oasl_source=registration

Server Error

403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.

Checked for a file named oneall_social_login.callback.php throughout forum/ , forum/source, forum/theme/default/ but no where the name is found.

Kindly help me to fix this error.
Title: Re: Social Login
Post by: Mick. on February 09, 2013, 11:07:21 AM
Dear One all Team,

First of all one all an amazing mod with each and every steps were clearly drafted. Nice team.

I have installed the latest 2.2 version for my smf 2.0.4 forum.

I use a windows dedicated server. Went through each and every process carefully and activated the facebook.

Tried a demo login was throwing a error as mentioned by other users.

After Facebook login success - forum/index.php?action=oasl_callback;oasl_source=registration

Server Error

403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.

Checked for a file named oneall_social_login.callback.php throughout forum/ , forum/source, forum/theme/default/ but no where the name is found.

Kindly help me to fix this error.

oneall_social_login.callback.php   is in the Sources folder.
Title: Re: Social Login
Post by: dimspace on February 09, 2013, 11:31:18 AM
As a tip to draw attention to how easy it is to register, i added a header box in simple portal with the social media icons highlighted (just added them as smileys), attached the set of all the 16px icons i used. all come from icon finder or similar and are creative commons.
Title: Re: Social Login
Post by: Claude, OneAll on February 09, 2013, 01:12:13 PM
oneall_social_login.callback.php  is in fact no longer needed and I have removed it from the package.
The modification now uses the SMF controller index.php which solves the chmod issues.

@A.SK
I've had a look at your forum.
It seems like the page http://discuss.itacumens.com/index.php does not accept POST requests.

Could you check if you have something that might block POST requests to your server?
Title: Re: Social Login
Post by: Mick. on February 09, 2013, 01:45:29 PM
oneall_social_login.callback.php  is in fact no longer needed and I have removed it from the package.
The modification now uses the SMF controller index.php which solves the chmod issues.

Which package is that? Is still on 2.2
Title: Re: Social Login
Post by: Sudhakar Arjunan on February 09, 2013, 04:01:37 PM
oneall_social_login.callback.php  is in fact no longer needed and I have removed it from the package.
The modification now uses the SMF controller index.php which solves the chmod issues.

@A.SK
I've had a look at your forum.
It seems like the page forum does not accept POST requests.

Could you check if you have something that might block POST requests to your server?

Do you mean my smf forum works without a post method.
I have checked with my server guys and found Get / Post is perfectly working in my server.
Kindly advice, or share me the old zip so that i will use it with 755 chmod for that file.
I do not want to disable this great working mod.

Which package is that? Is still on 2.2

Before 2.2 it was these i hope. Could you share me that zip you have Mick. Either pm or here.
Title: Re: Social Login
Post by: Dhayzon on February 09, 2013, 04:11:14 PM
se ve interesante el mod voy a probarlo
Title: Re: Social Login
Post by: Mick. on February 09, 2013, 05:28:19 PM
As.k, im using 2.2
Title: Re: Social Login
Post by: Sudhakar Arjunan on February 09, 2013, 05:48:23 PM
As.k, im using 2.2

Dear Mick,

I know you are using 2.2.
Kindly upload the file here or pm me the download link form idesgin.
Thank you.
Title: Re: Social Login
Post by: Mick. on February 09, 2013, 06:00:23 PM
As.k, im using 2.2

Dear Mick,

I know you are using 2.2.
Kindly upload the file here or pm me the download link form idesgin.
Thank you.

Im not sure what youre asking.  The mod link is on page 1.
Title: Re: Social Login
Post by: Sudhakar Arjunan on February 10, 2013, 03:20:00 AM
Im not sure what youre asking.  The mod link is on page 1.

Dear Mick, in mod page we have updated version of the software only.
But i need the older version of the 2.2 software you use on your forum.
Title: Re: Social Login
Post by: pastorvictor on February 11, 2013, 02:19:24 AM
How would someone make Facebook post a message to the person's timeline when they register? Something like "I have just registered on site.com!"
Title: Re: Social Login
Post by: Sudhakar Arjunan on February 11, 2013, 04:52:05 AM
oneall_social_login.callback.php  is in fact no longer needed and I have removed it from the package.
The modification now uses the SMF controller index.php which solves the chmod issues.

@A.SK
I've had a look at your forum.
It seems like the page forum does not accept POST requests.

Could you check if you have something that might block POST requests to your server?

Do you mean my smf forum works without a post method.
I have checked with my server guys and found Get / Post is perfectly working in my server.
Kindly advice, or share me the old zip so that i will use it with 755 chmod for that file.
I do not want to disable this great working mod.


Claude, am waiting for your reply here. All users after registering, they are getting 404 error.

Kindly help us.
Title: Re: Social Login
Post by: Claude, OneAll on February 11, 2013, 05:08:51 AM
@A.SK
You can download the previous version here:
http://public.oneallcdn.com/extensions/smf/social_login/2/social_login_2_0--smf_2.tar.gz

Please also have a look at the Bad Behaviour settings.

Quote
Allow Offsite Forms (default false):
Bad Behavior normally prevents your site from receiving data posted from forms on other web sites. This prevents spammers from, e.g., using a Google cached version of your web site to send you spam. However, some web applications such as OpenID require that your site be able to receive form data in this way. If you are running OpenID, enable this option.

Offsite Forms must be allowed or Social Login does not work properly.

@pastorvictor
In the file Subs-OneallSocialLogin.php you can find this line:

Code: [Select]
$user_token = $user->user_token;
You can use our API and this user_token to post to the user's wall.
http://docs.oneall.com/api/resources/users/write-to-users-wall/

Title: Re: Social Login
Post by: Sudhakar Arjunan on February 11, 2013, 07:21:00 AM
@A.SK
You can download the previous version here:
http://public.oneallcdn.com/extensions/smf/social_login/2/social_login_2_0--smf_2.tar.gz

Please also have a look at the Bad Behaviour settings.

Quote
Allow Offsite Forms (default false):
Bad Behavior normally prevents your site from receiving data posted from forms on other web sites. This prevents spammers from, e.g., using a Google cached version of your web site to send you spam. However, some web applications such as OpenID require that your site be able to receive form data in this way. If you are running OpenID, enable this option.

Offsite Forms must be allowed or Social Login does not work properly.

Claude i should say, it was an amazing mod. After enabling offsite forms in my bad behavior mod. Everything worked perfectly.

1) I want to check with you , whether enabling this option in bad behavior mod is safe and does not create any issues.
2) I found a big mistake via this mod, i have registered via google and logged in to my forum, luckily this mod picked up my old registered id and logged me with that id - Same i have logged out via forum also. But when i open a browser i found gmail is logged in.
3) I have used a different id - via yahoo - registered and logged in successfully to the forum - but no registered email has been sent to the yahoo email id. Same even after forum logout i noticed the yahoo id is still logged in on yahoo.com - is that not a security threat.
4) Old version is not required, since the new version works wonderfully.

Overall i should thanks this mod and steps on the site oneall.com was perfect for all webmaster's. Thanks. If my freemium plan is fully used, i will move to paid version.
Title: Re: Social Login
Post by: Claude, OneAll on February 11, 2013, 10:06:54 AM
Hi A.SK

Quote
1) I want to check with you , whether enabling this option in bad behavior mod is safe and does not create any issues.
Yes, this is absolutely safe. Disabling offsite forms does not offer any additional security - this protection can very easily be circumvented.

Quote
2) I found a big mistake via this mod, i have registered via google and logged in to my forum, luckily this mod picked up my old registered id and logged me with that id - Same i have logged out via forum also. But when i open a browser i found gmail is logged in.
For security reasons the login is always made by the social network itsself. If you login by Google, it's Google that takes care of the authentication.
Once you have logged in, we can unfortunately not log you out programmatically.

Quote
3) I have used a different id - via yahoo - registered and logged in successfully to the forum - but no registered email has been sent to the yahoo email id. Same even after forum logout i noticed the yahoo id is still logged in on yahoo.com - is that not a security threat.
Thank you. I will have a look at the email issue.

Quote
4) Old version is not required, since the new version works wonderfully.
Ok ;)
Title: Re: Social Login
Post by: pastorvictor on February 11, 2013, 08:54:58 PM
@pastorvictor
In the file Subs-OneallSocialLogin.php you can find this line:

Code: [Select]
$user_token = $user->user_token;
You can use our API and this user_token to post to the user's wall.
http://docs.oneall.com/api/resources/users/write-to-users-wall/

Thank you, Claude. I must not be very good at these things, but I'm wondering if you maybe have a more "narrowed down" version of that tutorial. I just don't understand where to put that code or where to get the user token. I also don't see where I would add the "I have just registered an account with site.com" line. in the code. Could you please help?

Thanks again.
Title: Re: Social Login
Post by: johnpaul2k2 on February 12, 2013, 02:25:37 AM
Good Mod, i  have little problems...

1. when i use some of the social login, this is what i got
(https://lh5.googleusercontent.com/-CRqJhDqv4_I/URnt2JJ2i6I/AAAAAAAAAx4/FTIjckqym5A/s535/Capture.PNG)

2. while some will keep on redirecting from now till infinity
(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

how will i solve this??
Title: Re: Social Login
Post by: Claude, OneAll on February 12, 2013, 04:25:02 AM
Hi johnpaul2k2,

1. when i use some of the social login, this is what i got
This error is displayed when someone tries to login without having registered first.
You first have to go to the registration page to register with your social network account.
Once you have registered you can use the login page

2. while some will keep on redirecting from now till infinity
Could you please open the Social Login config in your SMF admin panel and click on the Autodetect and Verify buttons?
Do you get two green mesages?

Regards,
Title: Re: Social Login
Post by: johnpaul2k2 on February 12, 2013, 09:37:53 AM
nothing like auto detect here
Title: Re: Social Login
Post by: johnpaul2k2 on February 12, 2013, 02:44:18 PM
i have some suggestions

1. why not make both the social login in both "login" and "register" the same? because the SA facebook that i am using is working on both login and register as one  (ie not  must u have to go through REGISTER first)

2. the REDIRECT is taking more than required, though if you refresh, it is already logged in

3. is there a simple way to add all these social button on the Front page???
Title: Re: Social Login
Post by: pastorvictor on February 12, 2013, 05:34:12 PM
If someone has been able to get Facebook to post a message upon registration, would you please lend me a hand with it? I'm confused by the instructions on the site.
Thanks in advance!
Title: Re: Social Login
Post by: dimspace on February 12, 2013, 08:05:14 PM
i have some suggestions

1. why not make both the social login in both "login" and "register" the same? because the SA facebook that i am using is working on both login and register as one  (ie not  must u have to go through REGISTER first)

2. the REDIRECT is taking more than required, though if you refresh, it is already logged in

3. is there a simple way to add all these social button on the Front page???

I would disagree with point 1, i think login and registration should be very clearly defined, it was causing a lot of confusion for my existing members prior to the "this account has not yet been associated with an account" on login was added. How do you differentiate between login and register, unless people happen to use the same email address for everything.

As an aside, im not sure running this in combination with SA facebook is a good idea. Might be wrong.

on the social buttons on front page, if you mean actually login buttons it would be entirely theme dependant, and the code could be done i guess for curve but how many are running curve. I have a register prompt for guests that lists teh icons of the networks they can login via using a simple portal block
Title: Re: Social Login
Post by: DAVID. D.A on February 13, 2013, 04:08:09 AM
any way to integrate the login module into simple portal's login box?
Title: Re: Social Login
Post by: SA™ on February 13, 2013, 10:45:57 AM
Quote
As an aside, im not sure running this in combination with SA facebook is a good idea. Might be wrong.

very bad idea it will just confuse your members more choose the one that works best for your needs and stick wih it :)
Title: Re: Social Login
Post by: SA™ on February 13, 2013, 10:48:19 AM
If someone has been able to get Facebook to post a message upon registration, would you please lend me a hand with it? I'm confused by the instructions on the site.
Thanks in advance!

why would you want to do this? not every member would  wont that puplished on there page i know i wouldent each to there own tho i suppose good luck
Title: Re: Social Login
Post by: DAVID. D.A on February 13, 2013, 01:55:15 PM
In addition to my other question, how can you redirect newly registered users to their profile settings, so they can add an avatar, signature, etc. Cause new members have no avatar, just a blank error/non loading image.
Title: Re: Social Login
Post by: johnpaul2k2 on February 18, 2013, 02:44:30 PM
Quote
As an aside, im not sure running this in combination with SA facebook is a good idea. Might be wrong.

very bad idea it will just confuse your members more choose the one that works best for your needs and stick wih it :)
I am using both but i disable FACEBOOK LOGIN under this mod

Very cool guys. When login in with google i had an error.

I had the change the permission to 755 on oneall_social_login.callback.php  ;)

All good now.


Please, mine is acting JANGO UNCHANGED  . if i try to register or login , after forwarding or taking data from a particular SOCIAL BUTTON , it will continue to redirect till Jesus comes except you stop it.
Another funny thing is when you open the  forum index, you will be logged in. why can't the REDIRECT just take you to the forum instead stopping and going to the Forum index yourself.  i tested your own, it's working fine.

please what will i do??
Title: Re: Social Login
Post by: Claude, OneAll on February 19, 2013, 05:25:36 AM
@ johnpaul2k2
Could you please check if you have errors in the SMF error log?
Title: Re: Social Login
Post by: johnpaul2k2 on February 19, 2013, 06:41:29 AM
@ johnpaul2k2
Could you please check if you have errors in the SMF error log?

i have checked no Social login error in my smf error log
Title: Re: Social Login
Post by: jashars on February 23, 2013, 09:13:17 PM
ok I have the same error as johnpaul described for almost every google un youtube accaunts
This social network has not yet been linked to an account.

Even in registration page they are not allowed to sign in, it says
An Error Has Occurred!
You need to fill in a username.

No errors in error log

Is there any way to allow sign in from login page or then at least to remove those buttons from login page, because only 1 facbook accaunt from about 15 O tested(google, twitter, facebook, youtube) worked..


EDITED
Ok, so problem about this error about non existing user is not Social login mod fault. It shows up if this user does not have Name, Surname or Nickname in his user(forxample google) accaunt. So this problem is solved.
Ok I removed those buttons from login lage now - because they are useless there.

So my next question is:

How to redirect those buttons from login page to registration page? And also how to add these buttons to main index or at least image with redirected link to registration page?



Alfter some research I can say that registration bar mod solved this problem - you can add custom text or image, which will take you to the registration page. I hope this helps someone

Title: Re: Social Login
Post by: johnpaul2k2 on February 28, 2013, 01:33:07 AM
please one more thing,

i am using wap2 for my mobile view and this is what i see when i try to login with SOCIAL LOGIN
(https://lh5.googleusercontent.com/-H8R3UTnva70/US742NW2f4I/AAAAAAAABAg/A6VhmmmJZro/s499/Capture.PNG)



the facebook integration (another mod) is working perfectly ok but yours is blank, is there anyway to improve on this???
Title: Re: Social Login
Post by: Claude, OneAll on February 28, 2013, 04:14:46 AM
@johnpaul2k2

The OneAll social library is missing in your WAP2 theme.
Please add this code inside the <head>...</head> section of your mobile theme:

Code: [Select]
<script type="text/javascript" src="//topnichez.api.oneall.com/socialize/library.js"></script>
Regards,
Title: Re: Social Login
Post by: johnpaul2k2 on February 28, 2013, 04:46:51 AM
now working

thanks :D :D
Title: Re: Social Login
Post by: johnpaul2k2 on February 28, 2013, 12:36:39 PM
Update: it worked on the registration but i couldn't find it within LOGIN
Title: Re: Social Login
Post by: Mick. on March 04, 2013, 12:04:23 PM
@Claude,  you changed the redirection to the board index in this last update. Before it changed to $scripturl.  Where in your codes can i change it to redirect to whatever page i want?
Title: Re: Social Login
Post by: S Mac on March 06, 2013, 02:35:04 PM
Someone please help! I've downloaded, installed it and set it up..or I thought I had. But every time I click to login through Twitter I get this message:

"This social network has not yet been linked to an account.

Please use the registration form to create a new account. If you already have an account, open your profile settings to connect the social network to it."

I went through the process of creating my oneall account again but I'm just going round in circles.
Title: Re: Social Login
Post by: johnpaul2k2 on March 06, 2013, 04:35:21 PM
Someone please help! I've downloaded, installed it and set it up..or I thought I had. But every time I click to login through Twitter I get this message:

"This social network has not yet been linked to an account.

Please use the registration form to create a new account. If you already have an account, open your profile settings to connect the social network to it."

I went through the process of creating my oneall account again but I'm just going round in circles.

i had the same too but here is how to use it

when you want to use the Social Login for the first time. you MUST go through REGISTER , not going to login  because LOGIN and REGISTER are not the same.

Go through Register and use it if you are using it for the first time, it will work. after that , you can login through LOGIN .

You can read some of the comments, because i complained about it before i learn it
Title: Re: Social Login
Post by: S Mac on March 07, 2013, 02:48:04 PM
Thank you! You're right, I didn't read it properly. It works just fine now :)
Title: Re: Social Login
Post by: Dylert on March 16, 2013, 01:33:49 PM
When I try to login to my site with my Facebook account I get the redirect message and it spins and spins. I never get redirected, but I'm logged in. How can I be redirected to my site?

(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

When I click autodetect and verify I get green messages:
The API Connection Handler has been detected and updated successfully!
The API Settings have been verified and updated successfully!
Title: Re: Social Login
Post by: johnpaul2k2 on March 17, 2013, 11:14:51 AM
it was happening to me  but later it stopped

maybe you have to give it some time

When I try to login to my site with my Facebook account I get the redirect message and it spins and spins. I never get redirected, but I'm logged in. How can I be redirected to my site?

(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

When I click autodetect and verify I get green messages:
The API Connection Handler has been detected and updated successfully!
The API Settings have been verified and updated successfully!
Title: Re: Social Login
Post by: deeclub on March 28, 2013, 01:59:56 AM
Code: [Select]
{"response":{"request":{"date":"Thu, 28 Mar 2013 06:58:40 +0100","resource":"\/","status":{"flag":"error","code":405,"info":"The method POST is not allowed for this resource. Allowed methods: GET"}}}}

้help me please
Title: Re: Social Login
Post by: CepoSK on April 16, 2013, 03:40:38 PM
(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

This popups on registration and then it just redirects users to the login screen. No account is created. The user has approved the app on FB ofc. Any ideas?
Title: Re: Social Login
Post by: johnpaul2k2 on April 17, 2013, 03:33:48 AM
(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

This popups on registration and then it just redirects users to the login screen. No account is created. The user has approved the app on FB ofc. Any ideas?

You must first of all, go through "register" , choose any social login you want. after registering with your desired social network and it works. you can then "login" the next time without going through "register" again :)
 
Title: Re: Social Login
Post by: CepoSK on April 17, 2013, 05:10:01 AM
(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

This popups on registration and then it just redirects users to the login screen. No account is created. The user has approved the app on FB ofc. Any ideas?

You must first of all, go through "register" , choose any social login you want. after registering with your desired social network and it works. you can then "login" the next time without going through "register" again :)

Ok just noticed its actually isn't that pic. After i click "Or simply register using your social network account " FB icon, the login window for FB popups, i login there and then it just redirects me to the /index.php?action=oasl_callback;oasl_source=registration - login screen but it says "That username does not exist." which is true cause no new user is added.

Actually you can try it out your self: http://forum.hmfalpha.sk
Title: Re: Social Login
Post by: johnpaul2k2 on April 17, 2013, 06:20:47 AM
(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

This popups on registration and then it just redirects users to the login screen. No account is created. The user has approved the app on FB ofc. Any ideas?

You must first of all, go through "register" , choose any social login you want. after registering with your desired social network and it works. you can then "login" the next time without going through "register" again :)

Ok just noticed its actually isn't that pic. After i click "Or simply register using your social network account " FB icon, the login window for FB popups, i login there and then it just redirects me to the /index.php?action=oasl_callback;oasl_source=registration - login screen but it says "That username does not exist." which is true cause no new user is added.

Actually you can try it out your self: http://forum.hmfalpha.sk




cross the followings.............
 API Subdomain:
API Public Key:
API Private Key:

also make sure you followed the instructions on how to get any of the social networks working

check my forum and try to register. everything is working perfectly ok (http://www.topnichez.com/index.php)
Title: Re: Social Login
Post by: CepoSK on April 17, 2013, 06:30:32 AM
"The API Settings have been verified and updated successfully!" As it was before.

EDIT: Just tried the other FB integration mod and it worked, but that's too complex for what i need.
Title: Re: Social Login
Post by: Sudhakar Arjunan on April 21, 2013, 03:54:36 PM
hi could you tell me what is the update in this version.
Title: Re: Social Login
Post by: TheListener on April 22, 2013, 12:40:01 AM
I like the possiblity of the mod on the forum.

However can the log in buttons such as the facebook one on your forum be shrunk slightly?
Title: Re: Social Login
Post by: Wully on April 22, 2013, 01:42:55 PM
Hello,
Would someone be able to give me a hand installing this,
I installed it as normal through the package manager and it installed without errors, all the correct files were writable by the looks of it.

However theres no configuration menu where the tutorial on the oneall website shows it should be.

Any ideas? Thanks.
Title: Re: Social Login
Post by: TheListener on April 22, 2013, 10:25:56 PM
Which theme do you use?

Nothing showing in your admin section at all?
Title: Re: Social Login
Post by: Wully on April 23, 2013, 07:16:33 AM
I'm using the default theme, nothing comes up in the admin section at all for configuring the mod.
I'm using the latest version of SMF 2.0.4.

This is my first time using this forum software so I'm still trying to find my way around it. I also had the bug where the temp directory in the Packages folder needed to be created manually each time. I don't know if that may of caused problems, I will attempt a clean reinstall and try again.
Title: Re: Social Login
Post by: yasoymama on April 23, 2013, 02:37:21 PM
Hello everybody!
I have just installed this mod, i think it is fantastic but does not work on my site. I created the facebook and disqus application, i configured every fiel... and when you try regitering with facebook or any other social network, it says:

You are being redirected, and appears this adress: myweb.com/forum/index.php?action=oasl_callback;oasl_source=registration

And nothing else happens, only white screen.

Any idea?
Title: Re: Social Login
Post by: CepoSK on April 23, 2013, 02:40:30 PM
I have exactly the same problem. Even contacted the Oneall support about it. Haven't been able to sort it yet, tho.
Title: Re: Social Login
Post by: Claude, OneAll on April 24, 2013, 09:44:47 AM
Hello,

there is unfortunately a bug in the module and it does not work when guest access is disabled.
Thanks to the help of CepoSK I have been able to find and fix the issue.

You have to open the index.php file of your forum:

Find this part:

Code: [Select]
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn'))))
{
   require_once($sourcedir . '/Subs-Auth.php');
   return 'KickGuest';
}


And change it to this (the change is highlighted) :

Code: [Select]
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('oasl_registration', 'oasl_callback', 'coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn'))))
{
   require_once($sourcedir . '/Subs-Auth.php');
   return 'KickGuest';
}


I will release a new version that includes this fix too.
Title: Re: Social Login
Post by: Claude, OneAll on April 24, 2013, 10:17:02 AM
A new version (2.3) with this bugfix included is now available here:
http://custom.simplemachines.org/mods/index.php?mod=3580
Title: Re: Social Login
Post by: yasoymama on April 24, 2013, 12:03:33 PM
Claude, I have installed the new version and the problem continues... and my forum has guest access enabled. I hope you can solve this.... i want this mod!  :P
Title: Re: Social Login
Post by: Claude, OneAll on April 24, 2013, 01:30:33 PM
Hi yasoymama,

I've send you a private message with a link to contact me.

Regards,

Title: Re: Social Login
Post by: TheListener on April 27, 2013, 05:59:11 PM
After viewing the amount of form filling (so to speak) and seeing how confusing everything is just so people can log in using facebook etc I have decided not to continue with this mod for the time being.
Title: Re: Social Login
Post by: dimspace on April 27, 2013, 06:46:21 PM
After viewing the amount of form filling (so to speak) and seeing how confusing everything is just so people can log in using facebook etc I have decided not to continue with this mod for the time being.

took me about ten minutes.. its fairly straightforward but you have to be very precise in the order you do things
Title: Re: Social Login
Post by: TheListener on April 27, 2013, 06:48:45 PM
After viewing the amount of form filling (so to speak) and seeing how confusing everything is just so people can log in using facebook etc I have decided not to continue with this mod for the time being.

took me about ten minutes.. its fairly straightforward but you have to be very precise in the order you do things

That's just it. A new user would be very consused with it all.
Title: Re: Social Login
Post by: dimspace on April 27, 2013, 06:52:06 PM
After viewing the amount of form filling (so to speak) and seeing how confusing everything is just so people can log in using facebook etc I have decided not to continue with this mod for the time being.

took me about ten minutes.. its fairly straightforward but you have to be very precise in the order you do things

That's just it. A new user would be very consused with it all.

one of the joys unfortunately of teh various apis they all use.. the actual installation is easy, its setting up the various social networks is a bit involved.. i come from teh side that has battled in the past with the darned facebook api so in comparison this was simple, but yes, to a new user its quite involved..

maybe there should be ratings on modifications...

newbie
experienced user..
Title: Re: Social Login
Post by: TheListener on April 27, 2013, 06:56:22 PM
The ratings idea was discussed by team members . It would be used unfairly in many cases.

The mods author should show an image on what the mod looks like on the forumas well as in the admin area.
Title: Re: Social Login
Post by: Arantor on April 27, 2013, 07:11:20 PM
It wasn't just a case of being discussed, it actually used to be the case that modifications were rated. But mods that didn't just install cleanly (often due to other mods that clashed) would just get a rating of 1/5 even when there was absolutely nothing wrong with the mod.
Title: Re: Social Login
Post by: dimspace on April 27, 2013, 07:18:30 PM
yeh, user based ratings are largely pointless. For everyone that says its great, there is one who says "doesnt work, load of rubbish"...

was thinking more when submitting the mod creator checks the relevant box and whoever approves it checks that.. but largely its pointless.. i just click parse before downloading a mod and decide from that If im going to or not..

that said, i admit to being defeated by facebook integration. 
Title: Re: Social Login
Post by: la muerte on April 30, 2013, 01:02:27 PM
Steam Community support? I LOVE YOU.
Title: Re: Social Login
Post by: Claude, OneAll on May 02, 2013, 04:38:15 AM
After viewing the amount of form filling (so to speak) and seeing how confusing everything is just so people can log in using facebook etc I have decided not to continue with this mod for the time being.

I'm very sorry that the setup was confusing for you. Unfortunately we cannot do much about it.
Most of the social networks require the webmasters to register their websites before being able to use their services.

We have tried to make this registration as easy as possible by providing tutorial guides and videos.
But it's true that you still have to follow the guides very carefully.

Do not hesitate to contact me if I can be of any assistance!
Title: Re: Social Login
Post by: johnpaul2k2 on May 02, 2013, 10:00:14 AM
After viewing the amount of form filling (so to speak) and seeing how confusing everything is just so people can log in using facebook etc I have decided not to continue with this mod for the time being.
i was able to register almost all the social networks except 3 of them ( one is paypal, the rest with language problems lol)

it wouldn't take you more than 30 minutes to configure all ;)
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 02:04:31 AM
Works great on my test site.

I have tried other social login type mods in the past and found them difficult to get set up.
The step by step instruction provided for this mod is great!

Before I install it on my main site I'm wondering if this mod makes it easier for spammers to register too?
Anyone notice a increase in spamming activity on their site after installing this mod?

What are the limits using this mod with the free account at https://app.oneall.com?
The basic plan for $8/month says, "5,000 Users".

Does that mean 5,000 members can login with it during one month and then it stops working or what?

What if I decide to stop using this mod and uninstall it?
What happens to the members that registered with one of their social accounts?

Will the members that registered using this mod still be able to login to our site if I uninstall the mod?

Thanks,




Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 02:12:58 AM
More questions... ;)

When I go to register using my Twitter account the popup login box says...

Quote
Authorize DiyApplianceRepair.com to use your account?

This application will be able to:

    Read Tweets from your timeline.
    See who you follow, and follow new people.
    Update your profile.
    Post Tweets for you.

Update your profile?
Post Tweets for you?

Why would anyone go through with registering for our site with their twitter account after reading that?
Also how would I be able to update their twitter profile and post tweets for them?

I'm I missunder standing something?

Thanks,
Title: Re: Social Login
Post by: dimspace on May 09, 2013, 09:38:15 AM
More questions... ;)

When I go to register using my Twitter account the popup login box says...

Quote
Authorize DiyApplianceRepair.com to use your account?

This application will be able to:

    Read Tweets from your timeline.
    See who you follow, and follow new people.
    Update your profile.
    Post Tweets for you.

Update your profile?
Post Tweets for you?

Why would anyone go through with registering for our site with their twitter account after reading that?
Also how would I be able to update their twitter profile and post tweets for them?

I'm I missunder standing something?

Thanks,

I think thats more a flaw in the twitter API. Facebook has multiple permissions to check friends list, post on wall etc and asks each one seperately. Twitter has seemingly about 1 level of access, full access or none at all.. twitter users are kinda used to that..

twitter of all the social networks is about the most anonymous and theres not much in the way of privacy concerns.
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 10:38:14 AM
Sounds good dimspace, thanks for the reply.

Now I could use some help getting the social login icons to display on another part of our site.
For example in the News area of the SMF default theme.

When I login to my account at https://app.oneall.com and go to Plugin Wizards>Social Login Wizard

It says...

Quote
Copy the code below to the head section of your page:

and shows this code...

Code: [Select]
<script type="text/javascript">
 var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http");
 document.write(unescape("%3Cscript src='" + oneall_js_protocol + "://diyappliancerepair.api.oneall.com/socialize/library.js' type='text/javascript'%3E%3C/script%3E"));
</script>

I'm having trouble adding it. Do I add it before the closing head tag in the index.template.php file?

I have tried different ways, like using echo and what not, but I keep getting different errors.

Could someone give me a example of just how I add that code to head of SMF?

Thanks,
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 10:47:11 AM
Usually I put my scripts before the closing body tag for faster page load.
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 10:51:29 AM
Hi Mick,

Ok, I took a look at the closing body tag and run into the same problem with not knowing just exactly where to add the code.

Here is what I have at the closing body tag in index.template.php

Code: [Select]
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo '
</body></html>';
}

and here is what I'm trying to add...

Code: [Select]
<script type="text/javascript">
 var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http");
 document.write(unescape("%3Cscript src='" + oneall_js_protocol + "://diyappliancerepair.api.oneall.com/socialize/library.js' type='text/javascript'%3E%3C/script%3E"));
</script>

Do I need to add it inside the echo that is there now or create another echo?

thanks,
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:00:39 AM
All my javascripts i place them here:

Code: [Select]
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo '

<script type="text/javascript">
 var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http");
 document.write(unescape("%3Cscript src='" + oneall_js_protocol + "://diyappliancerepair.api.oneall.com/socialize/library.js' type='text/javascript'%3E%3C/script%3E"));
</script>

</body></html>';
}
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 11:02:54 AM
When I place it there I end up getting this error.

Quote
Template Parse Error!

There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:03:24 AM
When I place it there I end up getting this error.

Quote
Template Parse Error!

There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP

Right... hang on
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:04:32 AM
Try this:
Code: [Select]
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo '

<script type="text/javascript">
 var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http");
 document.write(unescape("%3Cscript src="" + oneall_js_protocol + "://diyappliancerepair.api.oneall.com/socialize/library.js" type="text/javascript"%3E%3C/script%3E"));
</script>

</body></html>';
}
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 11:09:58 AM
That seems to work, thanks!

Now I added the other code they give you to display the social login icons to the "News" area (just to test it), but nothing shows up.

Code: [Select]
[html]
<!-- The plugin will be embedded into this div //-->
<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  'providers' :  ['facebook', 'twitter'],
  'callback_uri': 'INSERT YOUR CALLBACK URI HERE'
 });
</script>
[/html]

I would like to add them to the top left under the other user login info sooner or later, but thought I would just  past the code into the "News" area box in admin panel to test it out.

Maybe it don't work like I'm thinking to add the additional login buttons?

Thanks for the help...

Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:11:41 AM
News area, you mean the news box up top?
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 11:12:39 AM
News area, you mean the news box up top?

Yes
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:15:21 AM
The news box used use html but for some reason now it uses bbc.

Add this to where you added the other script above the body closing tag.

Code: [Select]
<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
 "providers" :  ["facebook", "twitter"],
  "callback_uri":"INSERT YOUR CALLBACK URI HERE"
 });
</script>

(It shouldnt break. I cleaned the code.)

And add this either above or below the news code in the index.template
Code: [Select]
<div id="social_login_container"></div>
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:18:13 AM
Like this:
Code: [Select]
// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';
// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '</form>';

        echo '

                 <div id="social_login_container"></div>';

// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<h2>', $txt['news'], ': </h2>
<p>', $context['random_news_line'], '</p>';

echo '
</div>
</div>
<br class="clear" />';


Or like this:
Code: [Select]
// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';
// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '</form>';


// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<h2>', $txt['news'], ': </h2>
<p>', $context['random_news_line'], '</p>';

        echo '

                 <div id="social_login_container"></div>';

echo '
</div>
</div>
<br class="clear" />';
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:19:44 AM
lol..... or try adding this to the news?

Code: [Select]
[html]<div id="social_login_container"></div>[/html]
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 11:26:45 AM
Ok, all the above seems to work fine, thanks!

I see too where I had problems with the original code and how you cleaned it up by replacing the ' with " Thanks!

Now that I (you) got it working on my test site I can play around some more with the location in the template before putting in on our main sit.

Thanks again!

Do you or anyone else happen to know how quickly the Social Insights \ Summary page updates on the OneAll.com site?

I keep looking at it after I get a new member to see if it shows anything, but have not seen any stats for today yet.
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:31:25 AM
Ok, all the above seems to work fine, thanks!

I see too where I had problems with the original code and how you cleaned it up by replacing the ' with " Thanks!

Now that I (you) got it working on my test site I can play around some more with the location in the template before putting in on our main sit.

Thanks again!


Awesome.  Yes, on javascripts that uses ' needs to be replaced with " or put a \ in front of the ' like this \'
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 11:34:12 AM
Cool, thanks!
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 11:53:31 AM
Mike, could you share with me where I would place the code so the buttons show up under the login info at the top left of the default theme?

I think it would be ideal for the social login buttons to show if they are guest only, if that makes sense. Unless there is a better idea.

Thanks,
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 11:55:57 AM
Mike, could you share with me where I would place the code so the buttons show up under the login info at the top left of the default theme?

I think it would be ideal for the social login buttons to show if they are guest only, if that makes sense. Unless there is a better idea.

Thanks,

above, under or between the:
Welcome, Guest. Please login or register.
Did you miss your activation email?
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 12:05:07 PM
I was thinking of adding the text...

Quote
Or simply login or register using your social network account

and under that adding the buttons as I tried to show in the attachment.

Thanks,

Title: Re: Social Login
Post by: Mick. on May 09, 2013, 12:09:50 PM
Hmmm, it seems to me that Claude has them to display in the center when you want it float:left;

Im thinking you may have to add a css to the code and see if it moves?

Maybe something like this:
Code: [Select]
.slogin {
     float: left;
}

...and wrap the code with:
Code: [Select]
<div class="slogin">the code</div>
Not sure tho.
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 12:13:20 PM
I should note that in the attachment I posted the social login icons are still in my News Area.

I just left theme there so I could point where I wanted them well I made the attachment.

So at this point I need to be pointed where in the index.template.php file I even go to add them under the login area like I'm looking to do.

Thanks,
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 12:14:31 PM
Ah ok,... hang on.
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 12:16:25 PM
After this:
Code: [Select]
<div class="info">', $txt['quick_login_dec'], '</div>
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 01:16:57 PM
Awesome!

One last question...

In this code.

Code: [Select]
<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
 "providers" :  ["facebook", "twitter", "google", "yahoo", "openid"],
  "callback_uri":"INSERT YOUR CALLBACK URI HERE"
 });
</script>

Do I need to enter my CALLBACK URI?
Where do I get my callback URI?

Thanks a million
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 01:28:31 PM
Awesome!

One last question...

In this code.

Code: [Select]
<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
 "providers" :  ["facebook", "twitter", "google", "yahoo", "openid"],
  "callback_uri":"INSERT YOUR CALLBACK URI HERE"
 });
</script>

Do I need to enter my CALLBACK URI?
Where do I get my callback URI?

Thanks a million

That i dont know man since i dont use those custom codes.
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 01:37:41 PM
I must not have something right yet, as when I try and login using the twitter button I placed under the login area I get redirect to a blank white page that has this one it.

Quote
{"response":{"request":{"date":"Thu, 09 May 2013 19:33:45 +0200","resource":"\/socialize\/INSERT%20YOUR%20CALLBACK%20URI%20HERE","status":{"flag":"error","code":404,"info":"The specified resource does not exist: http:\/\/docs.oneall.com\/"}}}}

Thought I was so close, lol...
Title: Re: Social Login
Post by: Mick. on May 09, 2013, 01:44:27 PM
Looks like you do need the call back id
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 05:49:57 PM
Ok, I used the Social Login Wizard steps at OneAll.com

I put this code where I want the social login buttons to display under the user login at the top left of the SMF default theme.

Code: [Select]


echo'
<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  "providers" :  ["facebook", "twitter", "google", "yahoo", "openid"],
  "callback_uri": "http://appliancejunk.com"
 });
</script>';

I put it just after...

Code: [Select]
<div class="info">', $txt['quick_login_dec'], '</div>';

Then I put this code it gives me just before the closing head tag as it says to do.

Code: [Select]
<script type="text/javascript">
 var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http");
 document.write(unescape("%3Cscript src="" + oneall_js_protocol + "://appliancejunk.api.oneall.com/socialize/library.js" type="text/javascript"%3E%3C/script%3E"));
</script>

Everything looks good on the site, like I want it to and it seems as if it's going to work as I can click the facebook or twitter and I get the message that I'm logging in using twitter, but then it just takes me back to our site without being logged in.

Edited to add: The social buttons on the regular login and register pages seem to work perfect.
Just not the ones I put in the location under the user login area.

Title: Re: Social Login
Post by: Mick. on May 09, 2013, 06:35:12 PM
Let's put the scripts together...

Code: [Select]
<script type="text/javascript">
 var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http");
 document.write(unescape("%3Cscript src="" + oneall_js_protocol + "://appliancejunk.api.oneall.com/socialize/library.js" type="text/javascript"%3E%3C/script%3E"));
</script>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  "providers" :  ["facebook", "twitter", "google", "yahoo", "openid"],
  "callback_uri": "http://appliancejunk.com"
 });
</script>

...and let's try it differently.....

Find:
Code: [Select]
<input type="submit" value="', $txt['login'], '" class="button_submit" /><br />
<div class="info">', $txt['quick_login_dec'], '</div>';

Replace with:
Code: [Select]
<input type="submit" value="', $txt['login'], '" class="button_submit" /><br />
<div class="info">', $txt['quick_login_dec'], '</div>
                                        <div id="social_login_container"></div>';
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 06:54:48 PM
Same results... :(

Title: Re: Social Login
Post by: Claude, OneAll on May 09, 2013, 07:13:43 PM
Hello,

you have to use the following callback_uri:
http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register


Title: Re: Social Login
Post by: Mick. on May 09, 2013, 07:18:25 PM
Hmmmm,...... It works everywhere else but the buttons added.   :o

Are we missing some sort line like this?

Code: [Select]
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 07:27:10 PM
Hello,

you have to use the following callback_uri:
http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=login


That seem to do the trick, thanks!

Now how did you or how could I have come up with that?

When using the Social Login Wizard there is a box that says...

Setup your callback URL:

I just put in my website URL and then it created this line in the code it created after I reselect the buttons I want to use.

Code: [Select]

  'callback_uri': 'http://appliancejunk.com'


Guessing I needed to do some more reading someplace.


Title: Re: Social Login
Post by: Claude, OneAll on May 09, 2013, 07:27:57 PM
I've had a look at appliancejunk.com.

To add the buttons on top, you need to replace oasl_source=login with oasl_source=register.

Like this:
http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register

Or you will get this error for new users: This social network has not yet been linked to an account.
You can also enter this callback_uri in the wizard.

The callback_uri is a full url to a script on your server. This script is called be the OneAll API.
The callback script comes with the SMF module and you call it by using /index.php?action=oasl_callback

 
Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 07:33:42 PM
Quote
This social network has not yet been linked to an account.

Yes, at times I seen that message too.

Tried so many different things and between a few different browsers I'm not even sure when I seen that message anymore, lol..

Sometimes it seemed I would get that message and sometimes it would just take me back to the site after it said I was logging in with Facebook/Twitter? yet I would not be logged in.

All seems good now. :D

Not sure if you had the chance to read some of my other questions in my above post yet.

What are the limitations on the free account at OneAll.com compared to say the Basic $8/month (All Social Networks
5,000 Users) package?

What does 5,000 Users mean?

Really impressed with your mod and OneAll.com

Title: Re: Social Login
Post by: Claude, OneAll on May 09, 2013, 07:39:36 PM
I still see this on top of your forum:

Code: [Select]
<script type="text/javascript">
oneall.api.plugins.social_login.build("social_login_container", {
"providers" : ["facebook", "twitter", "google", "yahoo", "openid"],
"callback_uri": "http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=login"
});
</script>

There you need to replace oasl_source=login by oasl_source=register.

You will probably not notice the error yourself because you have already registered before.
New users will however see the error.

With the Basic plan you can remove the branding, customize the icons and raise the user limitation.
5,000 means that 5,000 unique users can register per year through Social Login.
Multiple logins count only once and the counter is reset each year.

I'm glad to hear that you like our services :) Thank you!



Title: Re: Social Login
Post by: ApplianceJunk on May 09, 2013, 07:49:16 PM
Quote
There you need to replace oasl_source=login by oasl_source=register.

Ok, I changed it. Could you please check it again to see if I have it correct now, thanks!

Quote
5,000 means that 5,000 unique users can register per year through Social Login.

Here I was thinking it meant 5,000/month lol...

Being able to customize it would be cool.

What are the limitations for the free account then?

Also when I go to my Forum Profile page I see the social networks I'm using as shown in the attachment.
As the forum admin will I be able to see this information in other members Forum Profiles if they used one of the social networks to create a account on our site?



Title: Re: Social Login
Post by: ApplianceJunk on May 10, 2013, 11:17:54 AM
Trying to use smaller buttons now. Thinking I have to do it with css as talked about on this page.

http://docs.oneall.com/services/customization/social-login/stylesheet/

I copy and pasted the css code they have on that page so I could past the link to my css file into the Social Login Wizard at oneall.com
I can see how the Social Login Wizard is now using the info in my css file on our site, but it looks like I need to create the css info from scratch along with uploading my own images to use.

Would like to take what I have shown now in the attachment, make the buttons a little smaller, little closer together and remove the text from under them.

Any help with the css would be greatly appreciated.

Thanks,
Title: Re: Social Login
Post by: ApplianceJunk on May 12, 2013, 09:17:42 PM
No joy over the weekend. :(
Title: Re: Social Login
Post by: David111567 on May 12, 2013, 11:45:34 PM
Can't log in with Twitter.  Created the app properly. All should work fine.  When you try to log on, nothing happens.  No error given, but no log-in either. it just sits there.
Title: Re: Social Login
Post by: ApplianceJunk on May 14, 2013, 10:28:43 AM
Well I seem to have received more support before I purchased a subscription from oneall.com :(

Being I have yet to receive any replies from my email to them from last week I will try here again.

Today I noticed these errors in our log.

Quote
http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register
2: First parameter must either be an object or the name of an existing class
File: /home/applianc/public_html/forums/Sources/OneallSocialLogin.sdk.php
Line: 130

and

Quote
http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register
8: Trying to get property of non-object
File: /home/applianc/public_html/forums/Sources/OneallSocialLogin.sdk.php
Line: 79

Any idea why?

Thanks,
Title: Re: Social Login
Post by: Claude, OneAll on May 16, 2013, 02:59:32 AM
Hello,

sorry for the delay in answering your email.
I've send you an email with the CSS code to use!

Thank you also for the bug report. 
I've had a look and this error probably occurs when a somebody uses the browser's back button after having connected with Social Login.

I will try to get this fixed as soon as possible!

Regards,
Title: Re: Social Login
Post by: ApplianceJunk on May 16, 2013, 08:46:27 AM
Claude was very helpful in creating the .css file for me to get our social buttons looking exactly like I wanted on our site.

Love oneall.com and this mod, thanks!
Title: Re: Social Login
Post by: Claude, OneAll on May 16, 2013, 12:16:12 PM
Thank you very much! ;)
Title: Re: Social Login
Post by: Raths Rants on May 16, 2013, 01:48:28 PM
Claude was very helpful in creating the .css file for me to get our social buttons looking exactly like I wanted on our site.

Love oneall.com and this mod, thanks!

Here is a question. I am using SimplePortal. I read all the posts but did not see this answer. I would like to use a portal block instead of using a file edit. SimplePortal allows you to add custom code boxes in BBC, HTML, PHP.

Is there something I could past into one of these formats to create the block and it work correctly without having to do all the file edits?

My reasoning behind this is you can set the portal block to "Guest" for users to sign in / register. Once they are logged in they will not see the portal block again until they log out.
Title: Re: Social Login
Post by: Claude, OneAll on May 17, 2013, 08:04:46 PM
Hello,

please try this code:

Code: [Select]
<div id="social_login"></div>
<script type="text/javascript">
oneall.api.plugins.social_login.build("social_login", {
"providers" : ["facebook", "twitter", "google", "yahoo"],
"callback_uri": "http://ddcgaming.com/site/index.php?action=oasl_callback;oasl_source=login"
});
</script>

The Social Login mod must be installed and setup for this to work.
Title: Re: Social Login
Post by: Raths Rants on May 18, 2013, 11:36:29 AM
Will do!
Title: Re: Social Login
Post by: Swayforth on May 18, 2013, 12:42:07 PM
This is exactly what i am looking for. The walk through instructions were outstanding, the best i have seen. No issues to report thus far.

I am wondering, is there a way to restrict registration through social media only?

-Background info-
I am setting up a community that is based on a google game. All users must have a gmail account to play the game. I want to restrict registration to only be done through the gmail integration of your mod. Is there a setting i can set to make this happen?

I have tried turning off registration but then no one can register. I knew this but i had to try right? :)

I appreciate your help with this.
Title: Re: Social Login
Post by: dimspace on May 19, 2013, 05:00:41 PM
just go to your smf admin panel, look for oneall social login, and disable everything except google..
Title: Re: Social Login
Post by: Swayforth on May 22, 2013, 12:36:58 AM
dimspace, thanks for the reply. I had already did that. I would like Google to be the only choice for logging in and registration. In other words remove the forum login option all together. Same with registration.

I guess i could just try to find the code to remove it from the login and registration page. hmmmm
Title: Re: Social Login
Post by: Claude, OneAll on June 07, 2013, 07:54:00 PM
That's a good idea. We will try to add this in one of the next versions!
Title: Re: Social Login
Post by: phantomm on June 09, 2013, 03:26:32 PM
What happens if site with free account will use all 2500 registrations? New registrations with social networks will be disabled? All accounts activated before will work?
maybe this are stupid questions, but still I want to ask before I use this mod :)
Title: Re: Social Login
Post by: Claude, OneAll on June 12, 2013, 06:03:09 AM
Hi Phantomm,

the freemium plans allows up to 2500 unique users per year.
Once the limit is reached, no new users can signup but the existing account still work as expected.

Regards,
Title: Re: Social Login
Post by: Realinfo on June 16, 2013, 03:00:03 AM
Claude was very helpful in creating the .css file for me to get our social buttons looking exactly like I wanted on our site.

Love oneall.com and this mod, thanks!


I also want this at www.realinfo.tv plase guide me to do it in very same way A J abled to do

thanks

2.0.4 Default theme
Title: Re: Social Login
Post by: Realinfo on June 16, 2013, 09:16:38 AM
sometimes i got this

SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
Title: Re: Social Login
Post by: Smasher on June 17, 2013, 12:19:30 PM
Does this offer a "Social Login" only feature?
Title: Re: Social Login
Post by: dimspace on June 17, 2013, 12:34:14 PM
Does this offer a "Social Login" only feature?

well registration using social network
and login using social network

it doesnt offer any form of social integration like like buttons, etc.
Title: Re: Social Login
Post by: Smasher on June 17, 2013, 12:43:42 PM
I wish to have a Facebook only sign on which checks to see if a person is friends with me before letting them sign into my site. There was another mod that I was using but was never able to make it happen. At this point I am ok with just the ability to have my users able to log on through facebook only - disabled original login. I am not in need of any of the social features (likes, chat etc) that go with it.
Title: Re: Social Login
Post by: Sgt.Soldier™ on June 26, 2013, 09:02:36 AM
Any thoughts on adding to profile/posts something like social media icons where it will direct to linked account's profile? (For Steam,YouTube etc)
That's like the only thing missing from this mod I want  :)
Title: Re: Social Login
Post by: Claude, OneAll on July 02, 2013, 10:06:09 AM
Thank you for the suggestion!
I will think about it!
Title: Re: Social Login
Post by: Manicred on July 09, 2013, 05:56:54 AM
Just wanted to say thank you for all your hard work with this app! It works brilliantly! Can I just ask, how do I insert the different login buttons to the top of the homepage under the login/register section? Just thought it might prompt users to register and improve registration rates.

Thanks!
Title: Re: Social Login
Post by: Manicred on July 10, 2013, 12:23:58 PM
Guys, I am trying to add the social buttons as ApplianceJunk has do, am I doing this correctly:

Before the </head> tag in index.template.php I add the following:

Code: [Select]
<script type="text/javascript">
 var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http");
 document.write(unescape("%3Cscript src='" + oneall_js_protocol + "://shanklyslegacy.api.oneall.com/socialize/library.js' type='text/javascript'%3E%3C/script%3E"));
</script>

and after
Code: [Select]
<div class="info">', $txt['quick_login_dec'], '</div>'; I add:

Code: [Select]
<!-- The plugin will be embedded into this div //-->
<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  'providers' :  ['blogger', 'facebook', 'foursquare', 'google', 'openid', 'twitter', 'windowslive', 'wordpress', 'yahoo', 'youtube'],
  'callback_uri': 'http://shanklyslegacy.co.uk/index.php?action=forum'
 });
</script>
I keep gettting


Code: [Select]
Template Parse Error!

There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
Title: Re: Social Login
Post by: Manicred on July 10, 2013, 01:11:22 PM
Managed to get this working but with twitter and facebook I am getting the following error:

{"response":{"request":{"date":"Wed, 10 Jul 2013 19:09:47 +0200","resource":"\/socialize\/INSERT%20YOUR%20CALLBACK%20URI%20HERE","status":{"flag":"error","code":404,"info":"The specified resource does not exist: http:\/\/docs.oneall.com\/"}}}}

The callback URL I am using is "callback_uri": "http://shanklyslegacy.co.uk/index.php?action=oasl_callback;oasl_source=login"
Title: Re: Social Login
Post by: ApplianceJunk on July 17, 2013, 08:26:38 AM
Hi,

I added this code to the end of my index.css file.

Code: [Select]
/* Styles for Social Login Buttons */

.plugin #providers .provider {
  width: 50px !important;
  margin-bottom: 2px !important;
  padding: 2px 4px 4px;
}
 
.plugin #providers .provider .name {
  display: none !important;
}
 
.plugin #providers .provider .button {
  background: url("http://appliancejunk.com/images/social/facebook_24x24.gif") no-repeat scroll 0 0 transparent !important;
  height: 24px !important;
  width: 24px !important;
}

and I added this code to my index.template.php file

Code: [Select]

<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  "providers" :  ["facebook", "twitter", "google", "yahoo", "openid", "windowslive"],
  "callback_uri": "http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register",
  "css_theme_uri": "http://appliancejunk.com/forums/social_login.css"
  });
</script>';


It was added right after this code in my index.template.php file.

Code: [Select]

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
elseif (!empty($context['show_login_bar']))
{
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<div class="info">', sprintf($txt['welcome_guest'], $txt['guest_title']), '</div>
<input type="text" name="user" size="10" class="input_text" />
<input type="password" name="passwrd" size="10" class="input_password" />
<select name="cookielength">
<option value="60">', $txt['one_hour'], '</option>
<option value="1440">', $txt['one_day'], '</option>
<option value="10080">', $txt['one_week'], '</option>
<option value="43200">', $txt['one_month'], '</option>
<option value="-1" selected="selected">', $txt['forever'], '</option>
</select>
<input type="submit" value="', $txt['login'], '" class="button_submit" /><br />
<div class="info">', $txt['quick_login_dec'], '</div>';



  echo'


Hope that helps.
Title: Re: Social Login
Post by: Manicred on July 17, 2013, 03:36:44 PM
Thanks for your help mate, but even though the buttons now show up, I still get this error:

{"response":{"request":{"date":"Wed, 17 Jul 2013 21:35:58 +0200","resource":"\/socialize\/INSERT%20YOUR%20CALLBACK%20URI%20HERE","status":{"flag":"error","code":404,"info":"The specified resource does not exist: http:\/\/docs.oneall.com\/"}}}}

Any ideas?
Title: Re: Social Login
Post by: ApplianceJunk on July 17, 2013, 04:46:46 PM
Not sure off hand, sorry.

The owner of the mod helped me get it set up on my site like I wanted it.

I'm very happy with this mod. We not only get new members that login to our site with it daily, but new members that post in our forum daily after logging in using the social login mod!

btw, I pay monthly, not sure off hand if being able to customize things the way I wanted was just a option for paid members or not.
Anyway I'm more then happy with how this mod has been working for our forum.

Best of luck.

Title: Re: Social Login
Post by: awolexpat on July 30, 2013, 04:11:47 AM
I have some questions for Claude (or anyone else who may know) - I am already using the Oneall Wordpress plugin on my main site, and my SMF forum is linked to Wordpress via the BlogBridger plugin on SMF (with some slight modifications). I also currently have SA Facebook and SA Twitter installed and enabled to allow registration/login via those networks. If I want to install Social Login on my SMF accessing my existing Oneall setup, do you foresee any problems? I imagine I would have to turn off the login/registration features of the SA mods but would there be any issue with BlogBridger? Also would existing users on SMF who have already linked their SMF account to their Facebook/Twitter be affected - would they have to link them again with Social Login?

I know from when I installed your system on Wordpress how good your help is, and I am hopeful that I will be able to install this on my SMF without too many issues, but I don't want to proceed without clarifying things first.
Title: Re: Social Login
Post by: keng_113 on August 06, 2013, 09:02:49 AM
Hi guys,

Is this a stable mod? Have any of you guys encountered problems after installing? My forum: http://pinoyshoegame.org/index.php is new a I think this mod will be helpful to attract member. I just want to make sure if it's already stable to make sure I won't screw things up.

Thanks.
Title: Re: Social Login
Post by: tassie73 on August 14, 2013, 08:38:11 PM
Anyone seen an increase in new members over and above "normal" expectations?

I have installed it, just need to do some customisation on the buttons :)

Chris
Title: Re: Social Login
Post by: uny2bld on August 30, 2013, 03:54:45 PM
Anyone seen an increase in new members over and above "normal" expectations?

I have installed it, just need to do some customisation on the buttons :)

Chris
Bump ?
Title: Re: Social Login
Post by: tassie73 on September 01, 2013, 03:26:31 AM
With minimal promotion of it I have seen 8 new members.

I have been a bit sidetracked with work but have plans to promote it a lot more in the near future as I see it as a great tool and feature for the site.

Thanks to Claude and his team for the mod
Title: Re: Social Login
Post by: lurkalot on September 01, 2013, 10:45:49 AM
Looks like a great mod.  I see it says there's a limit of 2500 users with the free version, so what happens after you have 2500 members sign up with it, does it just stop working, or does it self destruct ?
Title: Re: Social Login
Post by: Motorhed on September 02, 2013, 02:10:43 AM
I got stuck at registering my site.

It "only" takes a few hours to set up?

I'm a novice at anything related to API, etc. - I guess I have to pass.

Edit: Scratch that, SMF wasn't listed on the button for pre-existing templates (probably the wrong term) but I found it anyway.
Title: Re: Social Login
Post by: vbgamer45 on September 02, 2013, 11:09:35 PM
Looks like a great mod.  I see it says there's a limit of 2500 users with the free version, so what happens after you have 2500 members sign up with it, does it just stop working, or does it self destruct ?
Doesn't allow more people to register. Afterword you would have to pay.
Title: Re: Social Login
Post by: smiley7 on September 17, 2013, 01:26:00 PM
Very cool guys. When login in with google i had an error.

I had the change the permission to 755 on oneall_social_login.callback.php  ;)

All good now.

Hey, Mick.

Where should this file be located? I searched for it through cPanel, but I got nothing.

Thanks in advance.

Regards,
smiley7


Edit: After re-reading this thread I found out that the file was no longer necessary and was removed from the package. Now I'm even more confused...

I'm using SMF 2.0.5 and the latest version of Social Login (2.5). I can login to the forum through "register", but not through "login" on the main page. I get an error, saying "The user whose profile you are trying to view does not exist."

What am I missing?
Title: Re: Social Login
Post by: ncsg on October 10, 2013, 06:20:44 AM
I have installed, tested API key, setup google and linkedin, when new user registers passed authentication, redirected, then see a blank page, same for Google and Linkedin.

 
Title: Re: Social Login
Post by: phantomm on October 20, 2013, 04:24:08 PM
Is there any way to check which users created/linked account with social site?
Title: Re: Social Login
Post by: tigerheart on December 03, 2013, 12:09:58 AM
i got question does your mod support other language other than English because i cant set it up after i register  new account using google it goes to index.php?action=oasl_callback;oasl_source=registration with database error please try again later i did all what have been asked from me to the mod even OneallSocialLogin.sdk.php 755 i have set Google api on one all cpanel i am frustrated i am using right to left language if that will help
Title: Re: Social Login
Post by: NanoSector on December 03, 2013, 01:31:43 AM
Hi tigerheart, welcome to SMF.

Please calm down, take a cup of coffee, and provide us with the complete error. You might need to go to your error log for this.
Title: Re: Social Login
Post by: freestyler7 on December 04, 2013, 05:23:13 AM
Thanks Claude, works great. :) I just can not do the Twitter, it says "Invalid URL".
Title: Re: Social Login
Post by: stuart71 on December 04, 2013, 01:27:37 PM
I have this installed & works perfect

Is there a way to move the social network buttons ?

Would like them at the top of the home page where it says login or register
Title: Re: Social Login
Post by: stuart71 on December 05, 2013, 01:16:07 PM
Any ideas with this ?
Title: Re: Social Login
Post by: synewave on December 07, 2013, 11:14:51 PM
Thanks for this mod. Downloaded and installed as per the instructions.

One question I currently have relates to the option Use the user picture from the social network as forum avatar?

When users login with Facebook, it doesn't seem to use the cropped profile picture that appears as their Facebook avatar but rather the uploaded Facebook profile picture before it is cropped.

How can I get the mod to use the Facebook cropped profile image?

Many thanks :)
Title: Re: Social Login
Post by: laurentl on January 24, 2014, 05:05:30 PM
It's a nice concept but doesn't instantly log people in, still requires new users to create a profile which defeats the purpose.
repro: click Steam login
result: This social network has not yet been linked to an account.
Please use the registration form to create a new account. If you already have an account, open your profile settings to connect the social network to it.
Title: Re: Social Login
Post by: desai_amogh on March 05, 2014, 04:04:57 AM
i installed this mod and registered most of the socila networks (yahoo, google, fb, linkedin, etc). The mod works and I can login to the forum as well as register. but the problem is , the forum profiles are not updated with the social network data.  When I go to Profile => Forum profile, all the fields are empty. I want my users to  have most of the forum profile fields updated through the social networks and not update it manually. shouldnt this work by default ?? do i need to make any changes ??
Title: Re: Social Login
Post by: Myrrdin on March 05, 2014, 11:35:55 AM
Whenever a user tries to register, login or link their account, they get taken to a blank page.
The url of the page depends on what your action is. It does however display the "you are being redirected" message for a microsecond before the fully blank page appears.

Registration: index.php?action=oasl_callback;oasl_source=registration
Login: index.php?action=oasl_callback;oasl_source=login
Linking: index.php?action=oasl_callback;oasl_source=profile;oasl_uid=2

I followed all of the instructions point by point and have ensured that the settings are correct (tested the api settings etc too and they are all green).

Any ideas?

In the dashboard it says that there are two new users and that there are 5 returning ones.
I'm sure it's just a very simple error and I don't want to sign up for a monthly payment plan just to have one it solved.

Edit:
It turns out that the problem was that we did not have JSON installed.
Be sure to check your smf and/or apache errorlog for the webserver.

The OP was instrumental in finding this solution.
Many thanks!
Title: Re: Social Login
Post by: AutoCultivo on March 17, 2014, 05:01:05 PM
Hi Claude  :) , great mod. Works fine. Thanks for it.

In Free plan allow 2000 registrations per year, is true?

Thanks
Title: Re: Social Login
Post by: johnpaul2k2 on March 18, 2014, 09:43:36 AM
Hi Claude  :) , great mod. Works fine. Thanks for it.

In Free plan allow 2000 registrations per year, is true?

Thanks

yes
Title: Re: Social Login
Post by: lurkalot on March 18, 2014, 02:03:58 PM
Hi Claude  :) , great mod. Works fine. Thanks for it.

In Free plan allow 2000 registrations per year, is true?

Thanks

Looks like a great mod.  I see it says there's a limit of 2500 users with the free version, so what happens after you have 2500 members sign up with it, does it just stop working, or does it self destruct ?
Doesn't allow more people to register. Afterword you would have to pay.
Title: Re: Social Login
Post by: desai_amogh on March 25, 2014, 08:33:19 AM
i installed this mod and registered most of the socila networks (yahoo, google, fb, linkedin, etc). The mod works and I can login to the forum as well as register. but the problem is , the forum profiles are not updated with the social network data.  When I go to Profile => Forum profile, all the fields are empty. I want my users to  have most of the forum profile fields updated through the social networks and not update it manually. shouldnt this work by default ?? do i need to make any changes ??

bump ??
Title: Re: Social Login
Post by: InsaneMustang on April 02, 2014, 01:02:53 PM
I have a custom theme installed, and this mod works perfectly fine on the registration page.  But on the login page the icons don't display.  There is text that says, "Login with your social network" but no buttons.  It works fine on the default theme.  Any help using a custom theme and trying to log in?
Title: Re: Social Login
Post by: fapencio on April 18, 2014, 01:46:33 PM
When I try to login to my site with my Facebook account I get the redirect message and it spins and spins. I never get redirected, but I'm logged in. How can I be redirected to my site?

(https://lh3.googleusercontent.com/-9DEt2VIgRpA/URnt2E0FhGI/AAAAAAAAAx8/ROeCDWg9Mwo/s385/Capture1.PNG)

When I click autodetect and verify I get green messages:
The API Connection Handler has been detected and updated successfully!
The API Settings have been verified and updated successfully!

this error happen when you have installed the mod: "Remember Position After Login/Logout"
just you uninstall that mod, that's all   :laugh:
Title: Re: Social Login
Post by: Realinfo on April 20, 2014, 07:11:52 AM
can i get 2.5 version
Title: Re: Social Login
Post by: Surgical on April 20, 2014, 09:29:46 AM
does this work on 2.0.7?
Title: Re: Social Login
Post by: tassie73 on April 28, 2014, 06:15:10 PM
I have a custom theme installed, and this mod works perfectly fine on the registration page.  But on the login page the icons don't display.  There is text that says, "Login with your social network" but no buttons.  It works fine on the default theme.  Any help using a custom theme and trying to log in?

Have the button images moved across into the file for the custom theme?

You may need to manually move them across to the correct folder if they haven't. Have had to do this for a few mods over time.

Hope this helps.

Cheers

Chris
Title: Re: Social Login
Post by: DjMorley on May 13, 2014, 08:20:52 AM
does this work on 2.0.7?

I can say this works fine on 2.0.7 as iv just installed it
Title: Re: Social Login
Post by: Padre gremista on May 16, 2014, 12:26:55 PM
Great MOD!
Title: OneallSocialLogin.spanish_es-utf8
Post by: fapencio on May 21, 2014, 03:58:00 PM
Hi, great mod, thanks

add this:

OneallSocialLogin.spanish_es-utf8
OneallSocialLogin.spanish_latin-utf8

in attachments.

regards.
Title: Re: Social Login
Post by: Claude, OneAll on May 26, 2014, 11:19:11 AM
Hello,

@Realinfo
Why would you like to use an older version?

@Surgical
Yes it has successfully been tested with 2.0.7.

@fapencio
Thank you! I'll have a look.



Today I have added version 3.0

New Social Networks

 - Amazon
 - Blogger
 - Disqus
 - Instagram
 - Vimeo
 - Twitch.tv

New Option

In the Social Login settings you can now find an option to choose how new users have to be activated.

Method of registration employed for new members?
- Automatically approve users that register with Social Login
- Use the system-wide setting from Administration \ Registration \ Settings
- Use email activation (New users receive an email with an activation link)
- Use admin approval (New users have to be approved by an administrator)
- Registration of new members is disabled


Bugfix "This social network has not yet been linked"

The following option was reversed in the previous version:
Allow the registration of new users through the login page

Ticking the checkbox disabled the option instead of enabling it (and vice versa).
This bug has now been fixed.

If you have an older version (< 3.0) then keep this bug in mind if you want to disable this message on the login page:

This social network has not yet been linked to an account.
Please use the registration form to create a new account. If you already have an account,
open your profile settings to connect the social network to it.




I try to check the forum regularly, but if it's urgent do not hesitate to contact our support here:
http://www.oneall.com/company/contact-us/

Regards,
Title: Re: Social Login
Post by: OverTa[k]e on May 29, 2014, 04:09:10 AM
Help please :-\

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpostimg.com%2F151000%2Fer1-150526.jpg&hash=7e0d616f779540c85b70aca2a4bc9a9f)

Edit: Thanks ;)
Title: Re: Social Login
Post by: Claude, OneAll on June 07, 2014, 08:48:36 AM
Thank you very much for the bug report.
This is in fact a compatibilty problem with PHP 5.4

I have now added version 3.1 which is fully compatible with PHP 5.4
http://custom.simplemachines.org/mods/index.php?mod=3580
Title: Re: Social Login
Post by: baocaosu on June 07, 2014, 11:06:09 AM
I installed this mod (3.0) and configured successfully in package manager of smf (2.0.6), then I logged out and never be able to login again with any SMF account. All the login links with direct to the blank page with the url domain_name/login2.
Please help me!
Title: Re: Social Login
Post by: Claude, OneAll on June 07, 2014, 08:09:12 PM
The plugin does not modify the existing authentication system in any way, so I don't think that this issue is related to Social Login.
Could you post a link to your forum?
Title: Re: Social Login
Post by: baocaosu on June 07, 2014, 08:49:26 PM
My forum URL is: motoviet.net
No social login button appears in the home page but appears in the registration page.
Title: Re: Social Login
Post by: Ninja ZX-10RR on June 08, 2014, 04:03:48 PM
This mod fails VERY HARD to me giving a white screen of death claiming this whenever I try to edit any option of the mod itself --> Fatal error: Call to undefined function oa_social_login_get_disabled_functions() in /Sources/OneallSocialLogin.sdk.php on line 734
Title: Re: Social Login
Post by: JOSHSKORN on June 19, 2014, 08:07:35 AM
Note: I've edited this over the course of a day or so.

I have four questions about this mod:

Title: Re: Social Login
Post by: Semetery on June 22, 2014, 05:43:55 PM
First, I love the plugin, it's really nice to be able to have lazy users login easily. Haha. I think it definitely ups the registration rate!

But I do have a couple of problems if anyone can help.

1. No matter what service used, when a user registers, their avatar comes across as just an X (broken link to the image). I'm not sure what is causing it.

2. When a user registers with Disqus, their username doesn't convert properly, it gives them disqus_(a bunch of random numbers and letters).

3. What usergroup are people who register with social sites defaulted to? I noticed that, by default, neither of my test accounts were able to post.

I'm using 2.0.7 for reference, the install went fine as did all of the setup. Thanks!
Title: Re: Social Login
Post by: konstantinos2424 on July 28, 2014, 09:57:10 AM
Hello, can someone please tell me where oneall_social_login.callback.php is located?  :)
Title: Re: Social Login
Post by: vbgamer45 on July 28, 2014, 11:50:17 AM
Hello, can someone please tell me where oneall_social_login.callback.php is located?  :)
Should be in the root directory of your forum I belive.
Title: Re: Social Login
Post by: konstantinos2424 on July 28, 2014, 04:10:33 PM
No it's mote there and I can't find it anywhere. I tried to register with my facebook account but its says an error occur, please try later!
Title: Re: Social Login
Post by: InebriatedChaos on July 31, 2014, 11:21:28 PM
I need some help, I installed this mod tonight and now I am getting the following error;

Fatal error: Cannot redeclare template_oneall_social_login() (previously declared in /home/~~~~/public_html/gamers-nation.com/Sources/Load.php(2233) : eval()'d code:331) in /home/~~~~/public_html/gamers-nation.com/Sources/Load.php(2233) : eval()'d code on line 440

I need some help as soon as possible, this has brought my website down to a screaming hault.

Thank you in advance.
Title: Re: Social Login
Post by: InebriatedChaos on August 01, 2014, 11:28:11 AM
From what little I know about coding, it seems like the mod is installed twice? Any ideas on how to remove a mod when you cant log in to the admin portal?
Title: Re: Social Login
Post by: InebriatedChaos on August 01, 2014, 12:04:34 PM
Nevermind, found the manual install instructions and just did them backwards. Works like a champ now!!!
Title: Re: Social Login
Post by: allkary on August 22, 2014, 05:41:54 AM
Hello. First of all thank you for your plugin, I really need to get it working on my site as most of my users are Facebook addicted and very lazy when in need to try something different.
Unfortunately it doesn't work.
When I try to login it says I have no administration right to get to the page and it doesn't allow me to register. When I login using my main account after trying the social login, it send me directly to the oneall admin panel.
Can you help please?
Title: Re: Social Login
Post by: allkary on August 22, 2014, 06:31:58 AM
It does sent me to the admin panel even when I try to connect my forum account to my Facebook profile, but nothing else happens.
Title: Re: Social Login
Post by: coru-mx on August 23, 2014, 06:25:58 AM
His possible to choose the avatar from a certain social network after linking to various social networks? Like I have a url avatar in the forum and I want to make my twitter ou facebook avatar to be the one active.
Title: Re: Social Login
Post by: fapencio on September 05, 2014, 01:25:09 PM
when a user logs into the forum via twitter, and the option to write the email to have on; just below this option is enabled and one SELECTED box the following function:

Allow other users to send me emails:  check on

please help me I want that box to stay off by default, unselected.
Title: Re: Social Login
Post by: thelastlokean on October 01, 2014, 08:31:43 PM
I simply cannot make this work.  My forum is vapecraftmods.com.

I am using the default theme, I pretty much have only this mod installed at this point.

It seemingly installs fine, the settings show up in the admin section.  It also adds a section to the register page and account settings, however it is missing all buttons/links to function.  I have read this entire thread, tried everything, attempted to contact oneall on their website...  No luck.

Any Help?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fvapecraftmods.com%2Fissue.png&hash=b29d48c184f5e8fd60a865aed992c805)

Edit: The problem seems to be firefox.
Title: Re: Social Login
Post by: suresh1983 on November 13, 2014, 01:02:59 AM
Hi,

I am getting the below error

"Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

My website url is forum.unicornridersclub.com

In facebook app, in the website section I have tried "http://forum.unicornridersclub.com/" and "forum.unicornridersclub.com". But I am getting the above mentioned error.

Request you to guide me on where am I doing wrong.
Title: Re: Social Login
Post by: beanflying on February 01, 2015, 12:05:06 AM
Really useful mod  8)

Installed fine with zero issues on a 2.0.9 forum using Dream Portal and a few dozen mods and some hand coded changes so if you are having problems with it I suspect they existed on your forums or setup prior to installing this mod.

Instructions on the Oneall site to install the individual Social networks are fairly comprehensive and easy to follow albeit it a slow slog if you want to install a fair few of them but a couple of hours work will see it done with a few interruptions even if you don't have accounts on those social networks to start with.
Title: Re: Social Login
Post by: saurabh1938 on February 06, 2015, 03:11:38 AM
I have installed social login. It has worked in the past.

But now I am not able to login using this. Users just redirect to forum page but don't get logged in.

my site is www.gotripperz.com

Please help me as I am losing much members because of this because few of my members use just this medium to login to my site
Title: Re: Social Login
Post by: saurabh1938 on February 17, 2015, 02:12:39 AM
Any help will be appreciated. I have a dependency now on this Mod.. posted an issue on GITHUB also but no response.
Please help me resolve this matter, I am daily loosing my members. Some of the active mmebers used your Mod to register on my account and now they have lost their account till the time they again don't login to my site using their Social Networks
Title: Re: Social Login
Post by: Sh@mbles on February 17, 2015, 02:27:52 AM
^-- Tried a few things on your site like your Contact Us (http://gotripperz.com/gt/contact/) link but Pretty Urls took me somewhere else. Maybe sort that out first?
Title: Re: Social Login
Post by: DSystem on February 17, 2015, 07:57:46 AM
Already for some time I look at this mod. But now I decided to wait.

The NIBOGO (smfpacks) doing a no monthly fee.

http://www.smfpacks.com/b147/facebook-immediate-register/2867/


Title: Re: Social Login
Post by: saurabh1938 on February 17, 2015, 12:49:01 PM
^-- Tried a few things on your site like your Contact Us (http://gotripperz.com/gt/contact/) link but Pretty Urls took me somewhere else. Maybe sort that out first?

That link is working fine now. Somehow today my htaccess file was updated, corrected it and now links are working fine
Title: Re: Social Login
Post by: saurabh1938 on February 17, 2015, 02:34:42 PM
I caught the issue, while I try to redirect mysite.com/index.php to mysite.com through an htaccess redirect. Social Login is not logging me in. All runs perfect but in the end user don't get logged in.

I used below code in htaccess for index.php redirection

Code: [Select]
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ http://www.gotripperz.com/$1 [R=301,L]

Can you please suggest me the alternate code for this redirection as I am risking for the duplicate content to run Social Login, if I remove index.php redirection.
Title: Re: Social Login
Post by: saurabh1938 on February 21, 2015, 06:57:25 PM
Any help in this, I want to get rid of this /index.php from my url with social login working perfectly
Title: Re: Social Login
Post by: saurabh1938 on February 24, 2015, 03:21:10 PM
I still don't have resolution for removing /index.php with social login working. Please help
Title: Re: Social Login
Post by: saurabh1938 on March 02, 2015, 12:13:49 PM
Anyone ... please help?
Title: Re: Social Login
Post by: markus001 on March 12, 2015, 09:44:24 AM
Guys, anyone of you have tried loginradius's Social login plugin? Source: loginradius.com/social-login
Title: Re: Social Login
Post by: ⓜⓤⓡⓐⓣ on April 01, 2015, 04:20:24 AM
Hi, Simpleportal to Easier add icons to social login.

Add new block and slect "PHP content"

Add this code
Code: [Select]
{
global $txt, $modSettings, $boardurl;

if (!empty ($modSettings['oasl_api_key']) && !empty ($modSettings['oasl_enabled_providers']))
{
// Extract the chosen providers.
$providers = explode (',', trim ($modSettings['oasl_enabled_providers']));

// Create Random integer to prevent id collision.
$rand = mt_rand (99999, 9999999);

// Separe from the traditional login.
echo '<hr />';

// Display error messages if there are any.
if ( isset ($_REQUEST['oasl_err']))
{
switch ($_REQUEST['oasl_err'])
{
case 'user_does_not_exist':
echo '<p class="error">'.$txt['oasl_user_does_not_exist'].'</p>';
break;

case 'user_require_activation':
echo '<p class="error">'.$txt['oasl_user_require_activation'].'</p>';
break;

case 'user_registration_disabled':
echo '<p class="error">'.$txt['oasl_user_may_not_register'].'</p>';
break;
}
}

if ( ! empty ($modSettings['oasl_settings_login_caption']))
{
echo '
<p style="text-align:left;">
<strong>', $modSettings['oasl_settings_login_caption'], '</strong>
</p>';
}

echo '
<p style="text-align:left;">
<div class="oneall_social_login_providers" id="oneall_social_login_providers_', $rand, '"></div>
<script type="text/javascript">
oneall.api.plugins.social_login.build("oneall_social_login_providers_', $rand, '", {
"providers": [\'', implode ("', '", $providers), '\'],
"callback_uri": \'', $boardurl, '/index.php?action=oasl_callback;oasl_source=login\',
});
</script>
<!-- OneAll.com / Social Login for SMF -->
</p>';
}
}

According to the portal structure, specify the location.

Title: Re: Social Login
Post by: mystik1 on April 06, 2015, 10:57:56 PM
I am getting the problem of it no longer logging users in.  It says they have been logged in, and proceeds to redirect, but they are not actually logged in.  So, it just goes back to the main/login page.    Any ideas on a fix?
Title: Re: Social Login
Post by: ⓜⓤⓡⓐⓣ on April 08, 2015, 05:05:11 AM
I tried to do the translation in Turkish. 100%


Before the
Code: [Select]
?> tag in Modifications.turkish-utf8.php I add the following:
Code: [Select]
// OneAll Social Login (https://docs.oneall.com/plugins/)
$txt['oasl_title'] = 'Sosyal giriş';
$txt['oasl_config'] = 'Yapılandırma';
$txt['oasl_settings_descr'] = 'Sosyal giriş Ayarları';
$txt['oasl_user_does_not_exist'] = "<strong>Bu sosyal ağ henüz bir hesaba bağlanmış değil.</strong><br /><br />Yeni bir hesap oluşturmak için kayıt formunu kullanınız. Zaten bir hesabınız varsa, bunu sosyal ağa bağlanmak için Lütfen profil ayarlarınızı açın.";
$txt['oasl_user_may_not_register'] = 'Üzgünüz, yetkili yeni kullanıcılar için kayıt devre dışı bıraktı. ';
$txt['oasl_user_require_activation'] = 'Hesabınız oluşturuldu fakat doğrulanması gerekiyor. Posta kutunuzu kontrol edin ve doğrulama e-postadaki linke tıklayınız.';
// OneAll Social Login (https://docs.oneall.com/plugins/)
Title: Re: Social Login
Post by: mystik1 on April 09, 2015, 11:29:51 AM
I had to abandon this mod.  Sorry; it stopped working.  Switched to this one in case others are having the same problem I was:

http://www.smfpacks.com/sociallogin

It works great!
Title: Re: Social Login
Post by: roshaoar on April 24, 2015, 04:57:13 AM
Hello,

When I installed and uninstalled this mod, it left an orphan "openID" login form field on index. How would I remove it, please?

Thank you for your time
Title: Re: Social Login
Post by: Dylert on May 08, 2015, 05:13:00 PM
Great mod! Thank you!

When poeple register with Facebook the avatars don't work. The avatar adress is like this: http://hellasforum.net/avatars/https://graph.facebook.com/10153345686416663/picture?type=large
(my domain is www.hellasforum.net) How can I get the right avatar path?

And: How can I change the icons? It would have been nice with something like this: http://www.auction-gaming.com/img/facebook-connect.png

Thanks in advanve! :)
Title: Re: Social Login
Post by: DSystem on May 20, 2015, 05:39:55 PM
Already for some time I look at this mod. But now I decided to wait.

The NIBOGO (smfpacks) doing a no monthly fee.

http://www.smfpacks.com/b147/facebook-immediate-register/2867/

Got ready and I am already using. -> http://www.smfpacks.com/sociallogin
Title: Re: Social Login
Post by: Nibogo on May 21, 2015, 12:13:45 AM
Thanks for your feedback mate, I'm glad you are enjoying the mod :)
Title: Re: Social Login buttons not showing up on index page
Post by: discusstalk.com on June 11, 2015, 12:17:07 PM
Hello guys,

I am new to this forum and new to SMF. I have installed SMF and moved my MyBB forum to SMF. Had few glitches but finally got it going.

I have installed the Social Login plugin and configured it but I am not seeing the Login buttons next to the traditional login buttons

Here is the link to my forum discusstalk dot com

As you can see- the buttons are only visible after user clicks on Login

I want to have them on main page so users will know that the option to login with Google,  Facebook and Yahoo IDs is available

Please help
Title: Re: Social Login
Post by: Kindred on June 16, 2015, 12:49:09 PM
This mod has temporarily been removed from distribution pending confirmation of the existence of a potential security issue (or lack thereof - in which case, the mod will be restored)
Title: Re: Social Login
Post by: DJ Omnimaga on July 08, 2015, 12:54:00 AM
Is there a way to quickly disable this mod when OneAll server is extremely slow or down? When that happens, my site takes forever to load.

Or maybe there should be some sort of timeout feature that we can set in the admin panel so that when the SMF install can't establish a connection with OneAll server, it just acts like if the mod was not installed.
Title: Re: Social Login
Post by: 420Connect.co.uk on July 27, 2015, 06:59:33 AM
Can anyone help in centering the social media icons that are displayed?

it's driving me nuts trying to figure it out  :P

The icons are in a few places but I think solving one set will shift them all / I can copy the example but you can see what I mean if you scroll down the page here: http://www.420connect.co.uk/index.php?action=register

Kind Regards

edit:

I was able to center the one one the registration page but am still struggling to center the one on the login page / in my custom Simple Portal block..

both use:

Code: [Select]
{
global $txt, $modSettings, $boardurl;

if (!empty ($modSettings['oasl_api_key']) && !empty ($modSettings['oasl_enabled_providers']))
{
// Extract the chosen providers.
$providers = explode (',', trim ($modSettings['oasl_enabled_providers']));

// Create Random integer to prevent id collision.
$rand = mt_rand (99999, 9999999);

// Separe from the traditional login.
echo '<hr />';

// Display error messages if there are any.
if ( isset ($_REQUEST['oasl_err']))
{
switch ($_REQUEST['oasl_err'])
{
case 'user_does_not_exist':
echo '<p class="error">'.$txt['oasl_user_does_not_exist'].'</p>';
break;

case 'user_require_activation':
echo '<p class="error">'.$txt['oasl_user_require_activation'].'</p>';
break;

case 'user_registration_disabled':
echo '<p class="error">'.$txt['oasl_user_may_not_register'].'</p>';
break;
}
}

if ( ! empty ($modSettings['oasl_settings_login_caption']))
{
echo '
<p style="text-align:left;">
<strong>', $modSettings['oasl_settings_login_caption'], '</strong>
</p>';
}

echo '
<p style="text-align:left;">
<div class="oneall_social_login_providers" id="oneall_social_login_providers_', $rand, '"></div>
<script type="text/javascript">
oneall.api.plugins.social_login.build("oneall_social_login_providers_', $rand, '", {
"providers": [\'', implode ("', '", $providers), '\'],
"callback_uri": \'', $boardurl, '/index.php?action=oasl_callback;oasl_source=login\',
});
</script>
<!-- OneAll.com / Social Login for SMF -->
</p>';
}
}
Title: Re: Social Login
Post by: 420Connect.co.uk on July 27, 2015, 08:12:03 AM
Solved with the help of Claude!  O:)

add this to the end of your index.css


Code: [Select]
.oneall_social_login_providers {
margin: 0 auto;
width: 152px;
}
Title: Re: Social Login
Post by: ⓜⓤⓡⓐⓣ on August 12, 2015, 01:24:19 AM
Solved with the help of Claude!  O:)

add this to the end of your index.css


Code: [Select]
.oneall_social_login_providers {
margin: 0 auto;
width: 152px;
}
Good job, thank you.
Title: Re: Social Login
Post by: Jade Elizabeth on August 20, 2015, 02:33:50 AM
Hey for some reason it's not grabbing avatars, it's setting it to no avatar.

I'd also like to be able to specify to take the large picture not the small one. I know you can do this because I have OneAll on my other non SMF websites and it is a setting on all of them. Are you able to look into it please? :)
Title: Re: Social Login
Post by: stefan357965 on September 14, 2015, 11:37:56 AM
Solved with the help of Claude!  O:)

add this to the end of your index.css


Code: [Select]
.oneall_social_login_providers {
margin: 0 auto;
width: 152px;
}

Great! I was so scared, but this fixed it :D
Title: Re: Social Login
Post by: ⓜⓤⓡⓐⓣ on November 02, 2015, 01:07:41 AM
Hello, profile from facebook not get the picture. The avatar ftp folder is empty.

Search way that Internet browsers.:
Code: [Select]
<img class="avatar" src="http://pcdmisforum.org/avatars/https://graph.facebook.com/10153587892709089/picture?type=large" alt="">
Title: Re: Social Login
Post by: MarkoKg on December 27, 2015, 06:43:48 PM
Hey Guys,

Is there a way to add login buttons under the "login box" that I have on top-right corner in header? I don't know which code should I add to index.template, I tried with a code from oneall site, and the buttons is showing but it won't log me in at all using those buttons. I guess that the callback url is wrong, i used ...index.php?action=oasl_callback;oasl_source=login
Any advice please?
Title: Re: Social Login
Post by: Jade Elizabeth on March 08, 2016, 09:07:34 PM
Are you able to make this take the required rego fields into account? It sometimes asks for an email address so why can't it pop up with the required profile fields on rego? :)
Title: Re: Social Login
Post by: 420Connect.co.uk on March 11, 2016, 01:54:08 PM
Would you guys mind updating the 'G' used for the google symbol to match their new stylee!  O:)

Thank you in advance!
Title: Re: Social Login
Post by: Jade Elizabeth on March 27, 2016, 03:15:57 AM
Heads up: When you promote a social login peep to admin and have admin security requiring passwords to enter admin they can't get in.

You may wish to look into that :).
Title: Re: Social Login
Post by: Jade Elizabeth on March 27, 2016, 03:38:40 AM
Hi,

I added this code to the end of my index.css file.

Code: [Select]
/* Styles for Social Login Buttons */

.plugin #providers .provider {
  width: 50px !important;
  margin-bottom: 2px !important;
  padding: 2px 4px 4px;
}
 
.plugin #providers .provider .name {
  display: none !important;
}
 
.plugin #providers .provider .button {
  background: url("http://appliancejunk.com/images/social/facebook_24x24.gif") no-repeat scroll 0 0 transparent !important;
  height: 24px !important;
  width: 24px !important;
}

and I added this code to my index.template.php file

Code: [Select]

<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  "providers" :  ["facebook", "twitter", "google", "yahoo", "openid", "windowslive"],
  "callback_uri": "http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register",
  "css_theme_uri": "http://appliancejunk.com/forums/social_login.css"
  });
</script>';


It was added right after this code in my index.template.php file.

Code: [Select]

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
elseif (!empty($context['show_login_bar']))
{
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<div class="info">', sprintf($txt['welcome_guest'], $txt['guest_title']), '</div>
<input type="text" name="user" size="10" class="input_text" />
<input type="password" name="passwrd" size="10" class="input_password" />
<select name="cookielength">
<option value="60">', $txt['one_hour'], '</option>
<option value="1440">', $txt['one_day'], '</option>
<option value="10080">', $txt['one_week'], '</option>
<option value="43200">', $txt['one_month'], '</option>
<option value="-1" selected="selected">', $txt['forever'], '</option>
</select>
<input type="submit" value="', $txt['login'], '" class="button_submit" /><br />
<div class="info">', $txt['quick_login_dec'], '</div>';



  echo'


Hope that helps.

I can't get this to work, is it still the right code? :)
Title: Re: Social Login
Post by: Cyber-Box on April 03, 2016, 05:09:33 PM
I installed this plugin and it seems to work great but it removed the Display Name option for the members.  I can change the Display Name from the admin side but they aren't able to do it themselves.  Is there a way around to fix this other than to uninstall the plugin?



EDIT:  NEVER MIND!  I feel like an a$$. =oS  I clicked it off in my admin section and didn't even realize it.  So sorry everyone.  =o)
Title: Re: Social Login
Post by: Looking on April 08, 2016, 04:19:29 PM
What's the recommended way to update this Mod or is it the traditional uninstall and install latest version?
Title: Re: Social Login
Post by: jaisi on April 28, 2016, 01:27:50 PM
I have uninstalled this mod and after that im getting below error
Apply Filter: Only show the error messages of this action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: oasl_configApply Filter: Only show the errors from this file File: /home/*****/Sources/Admin.php
Line: 243

Can you help me how to resolve this issue .

Thanks In Advance
Jaisi
Title: Re: Social Login
Post by: Sh@mbles on April 28, 2016, 02:11:25 PM
Just remove the few lines in Admin.php that were added (but unfortunately not removed) by this mod (details are in the mod parser on the mod download page).

If you're not comfortable editing the file, attach it to a post and someone will edit the lines out for you. Be aware that there may be other places/files which haven't had the mod contents removed during your uninstall (I'm guessing you were shown errors during the uninstall but proceeded anyway?).
Title: Re: Social Login
Post by: jaisi on April 29, 2016, 12:43:49 PM
Thank you for replying i have try to remove that code but not able to find that code .

please find the admin. php

Thanks in advance
Jaisi
Title: Re: Social Login
Post by: Sh@mbles on April 29, 2016, 12:51:31 PM
The redundant code is at lines 238-250

Here's your Admin.php with the offending lines commented out.
Title: Re: Social Login
Post by: jaisi on April 29, 2016, 01:02:02 PM
The redundant code is at lines 238-250

Here's your Admin.php with the offending lines commented out.

Thank you very much now its working fine thanks again ...

Title: Re: Social Login
Post by: KingPablo on June 26, 2016, 05:17:06 PM
First of all, sorry for my bad English language.

I have one problem with this mod.


When I login of my forum with this mod (facebook, twitter, steam, etc.) and when I wrote post it didn't count and show in my profile box.

Example.

Before I wrote post I had 21.474 posts, and after I write post the number is still same in my profile box.

When I use classic login (not by Social Login mod), everything is fine, and every new post count at my profil box Posts statistic.

Anybody can help?
Title: Re: Social Login
Post by: badon on August 09, 2016, 12:50:53 AM
What happens to the accounts if the mod is uninstalled? Do they somehow get prompted to reset a password?
Title: Re: Social Login
Post by: BellGab.com on August 26, 2016, 12:16:08 AM
First of all, sorry for my bad English language.

I have one problem with this mod.


When I login of my forum with this mod (facebook, twitter, steam, etc.) and when I wrote post it didn't count and show in my profile box.

Example.

Before I wrote post I had 21.474 posts, and after I write post the number is still same in my profile box.

When I use classic login (not by Social Login mod), everything is fine, and every new post count at my profil box Posts statistic.

Anybody can help?

do the posts appear in the "show posts" section if they're submitted while logged in via social?
Title: Re: Social Login
Post by: Ezaco on August 26, 2016, 03:10:23 PM
Is it possible that this mod integrates with other Social Mods that add profile fields to include things like Steam name/ID? Or does anyone know of other mods that integrate with this one?

I know there is a couple mods that adds the Steam ID to the profile field and display the Steam Profile, but you have to enter those manually. I was hoping to find anything that allows this sign in with those Social Networks to have that information integrated.
Title: Re: Social Login
Post by: BellGab.com on September 14, 2016, 04:39:34 PM
I've been using this mod for a couple weeks now, allowing login via Twitter, FB, Google, MS, and Yahoo.  Works flawlessly so far.  Thanks.  I'm surprised at how seamless it all is.  I wish I'd implemented something like this long ago.  I think my forum would be much larger if I had.
Title: Re: Social Login
Post by: uamsameter on September 19, 2016, 06:31:42 PM
What happens to the accounts if the mod is uninstalled? Do they somehow get prompted to reset a password?

I'm also interested in this question.
please anybody know the answer?
Title: Re: Social Login
Post by: Jade Elizabeth on September 21, 2016, 12:40:25 PM
Is it possible to have this mod work with the Stop Spammer mod? I just had a spammer get through and they posted hundreds of times. I deleted them and their posts. They were using a fake google account which was deleted and I assume that would have stopped them coming back but it would be good to have it check with Stop Spammer first :).

What happens to the accounts if the mod is uninstalled? Do they somehow get prompted to reset a password?

I'm also interested in this question.
please anybody know the answer?

I assume it would say their password was wrong and they'd need to reset it.
Title: Re: Social Login
Post by: Jade Elizabeth on November 16, 2016, 12:28:11 AM
I am just wondering if it's possible to change a members username after they've signed up, but not break the social login?

Some of my members have really convoluted usernames and they need to use them to get into other software that's integrated with forum memberships. It would be great if I could request they make a username/display name choice as well as some have gotten upset FB login uses their real name (what were they thinking it would use? lol) and if they can pick a username to log in with that would really help make it easier for them to log in elsewhere.
Title: Re: Social Login
Post by: badon on January 01, 2017, 03:30:02 PM
I am just wondering if it's possible to change a members username after they've signed up, but not break the social login?

Some of my members have really convoluted usernames and they need to use them to get into other software that's integrated with forum memberships. It would be great if I could request they make a username/display name choice as well as some have gotten upset FB login uses their real name (what were they thinking it would use? lol) and if they can pick a username to log in with that would really help make it easier for them to log in elsewhere.

I agree with this. I'm personally annoyed at social login systems because I want to keep access to different sites...different. That way if I hack occurs, only 1 site is affected. But, the speed and ease with registration using an existing account's credentials will undeniably improve the odds someone will decide to participate on a forum. Pro and cons. Having the choice is good.
Title: Re: Social Login
Post by: landyvlad on January 22, 2017, 11:21:06 PM
Seriously considering this as an option for my forum.
Anyone installed recently (say last 12months) and more importantly any issues or does it all work smoothly / easily?

What feedback have you got from your members on your forums about it?
Title: Re: Social Login
Post by: landyvlad on January 27, 2017, 09:30:52 AM
Well, for anyone else who comes along.. in answer to my own question..

This MOD is Brilliant ! 
Title: Re: Social Login
Post by: Claude, OneAll on February 13, 2017, 09:47:00 AM
What happens to the accounts if the mod is uninstalled? Do they somehow get prompted to reset a password?

Hello,

the mod creates regular SMF user accounts. It's the same account type that is also being created
for users that register using the regular registration page.

If you remove the mod, your users will no longer be able to login with their social network accounts.
The user accounts however remain and the users can then use the "Lost Password" link in your forum
to get a username/password to login instead of using a social network account login.
Title: Re: Social Login
Post by: Claude, OneAll on February 13, 2017, 09:47:39 AM
Well, for anyone else who comes along.. in answer to my own question..

This MOD is Brilliant !

Thank you very much  :)
Title: Re: Social Login
Post by: GeneralMitch on February 16, 2017, 07:02:12 PM
Im really having a problem    when I try to access the Config for One Social login it gives me this error

Fatal error: require_once(): Failed opening required '/usr/www/mydomain/public/Sources/Subs-OneallSocialLogin.php' (include_path='.:/usr/share/php5:/usr/share/php') in /usr/www/mydomain/public/Sources/Admin.php on line 519

:[
Title: Re: Social Login
Post by: Sh@mbles on February 17, 2017, 03:56:42 AM
Quote from: GeneralMitch
... '/usr/www/mydomain/public/Sources/Subs-OneallSocialLogin.php' ...

Have you checked if that file is in your Sources folder?

Also check that OnallSocialLogin.sdk.php exists in your Sources folder.

If they don't, extract the file(s) from the mod package and upload them - then see what happens.
Title: Re: Social Login
Post by: tanawat on March 13, 2017, 12:05:19 PM

i set
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupic.me%2Fi%2Fb1%2Fsddfsaffdfg.png&hash=3fedb17fab15d56b7a4aac9c3da04598) (http://upic.me/show/60474716)

but when user register with facebook (if register with google it not ask email)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupic.me%2Fi%2Fda%2Funtitledsds.png&hash=f2dd876d2b86fa1c9634288917163a76) (http://upic.me/show/60474717)

can anybody help me plese?
Title: Re: Social Login
Post by: humbleworld on March 15, 2017, 01:11:25 PM
Hello Friends,

How shall I place the social log-in prompt in every page of the forum site for all guests/unregistered members. I want to place it on the right block of Simple Portal.

Thank you.
Title: Re: Social Login
Post by: gorbi on May 15, 2017, 03:10:20 PM
Is this mod compatible with the SMF 2.0.14?
Title: Re: Social Login
Post by: Kindred on May 15, 2017, 07:00:29 PM
I do not believe so...  as a matter of fact, I believe that this current mod will break the forum on 2.0.14
Title: Re: Social Login
Post by: Br0ski47 on May 25, 2017, 10:52:53 AM
I do not believe so...  as a matter of fact, I believe that this current mod will break the forum on 2.0.14

That is exactly why I am here... Went to update and got this test failed image: (Attached OneAllPlugin2.png)
Checked the file and shows (Attached OneAllPlugin.png)

So it looks like it's about to lock me out with no way of retrieving a changed password.
(Man, I love SMF)

Guess I will hang tight until they come up with a solution.
Great plugin but right now seems it's not working with 2.0.14.
Title: Re: Social Login
Post by: Dzonny on June 15, 2017, 11:46:51 AM
Just wanted to confirm that mod is working nicely with 2.0.14 without problems.
Problem described above which occurs on installation exist, but what should be done is just to manually add that code in Login.template.php file, as 2.0.14 version has a bit different code, for example search for this:
Code: [Select]
<p class="smalltext"><a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a></p><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
<input type="hidden" name="hash_passwrd" value="" />
And after that add:
Code: [Select]
';

// OneAll Social Login (https://docs.oneall.com/plugins/)
template_oneall_social_login();

echo '
That would be all, depending on your theme it might be a bit different, but the mod overall works fine.
Title: Re: Social Login
Post by: Gwenwyfar on June 26, 2017, 07:14:50 PM
Is this mod compatible with the SMF 2.0.14?
I have this mod installed in 2.0.14, it doesn't seem to be causing any problems in my forum either.
Title: Re: Social Login
Post by: newbieforumaster on July 08, 2017, 01:15:55 PM
Hi I really like the social login mod but is setting up the api at https://app.oneall.com/ for the different social networks free?
How much does it cost?

Thanks
Title: Re: Social Login
Post by: Gwenwyfar on July 09, 2017, 08:51:12 AM
Yes, registering and using it for a small community is free. You need to pay to use all features and get extra users, a free account allows up to 2500:

http://www.oneall.com/pricing-and-plans/
Title: Re: Social Login
Post by: spiros on July 13, 2017, 04:13:00 AM
Does this mod have a user limit for the free version? I see on the site a pricing scheme.
Title: Re: Social Login
Post by: Ninja ZX-10RR on July 13, 2017, 09:01:47 AM
Then you should probably read that page...
Title: Re: Social Login
Post by: Veee on August 24, 2017, 06:03:03 AM
Thank you so much for keeping this mod updated! I had it on my forum but did a fresh install recently and I forgot the name of it. I am going to be installing it again. Thanks a lot! :)
Title: Re: Social Login
Post by: tanawat on September 13, 2017, 10:07:04 PM
i uninstall previous version and install current version.

thare have old login icon and cannot remove.

can you help me plese?
Title: Re: Social Login
Post by: tanawat on October 03, 2017, 01:34:36 PM
It's Ok now

/Themes/default/index.template.php

Code: [Select]
<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  "providers" :  ["facebook", "google", "yahoo", "youtube"],
  "callback_uri": "http://yourweb.com/index.php?action=oasl_callback;oasl_source=register",
  "css_theme_uri": "http://yourweb.com/social_login.css";
  });
</script>

edit or remove it

Thank you very much "Claude_Schlesser"

From:
https://support.oneall.com/forums/discussion/5685/old-login-icon-remain-after-i-remove-oneall#latest
Title: Re: Social Login
Post by: MarkoKg on November 17, 2017, 12:13:50 PM
Any suggestion about how to add smaller icons in index.template.php? Here's attached what its currently looking, and the code I used:
Code: [Select]
<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  "providers" :  ["facebook", "twitter", "google", "yahoo", "openid", "windowslive"],
  "callback_uri": "http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register",
  "css_theme_uri": "http://appliancejunk.com/forums/social_login.css"
  });
</script>';
Title: Re: Social Login
Post by: landyvlad on December 18, 2017, 07:37:24 AM
What is the update process please?  Is it just upload and install the new one, or do I uninstall./delete the old one first?
(It'd be cool if this info was included in the description of the mod, for easy reference)

Thanks
Title: Re: Social Login
Post by: Dzonny on December 23, 2017, 06:35:30 PM
I assume that you'd need to uninstall firstly, and then install the new version.
Title: Re: Social Login
Post by: landyvlad on January 16, 2018, 11:22:25 PM
Thanks :)
Title: Re: Social Login
Post by: jack001 on February 02, 2018, 11:26:13 PM
Any suggestion about how to add smaller icons in index.template.php? Here's attached what its currently looking, and the code I used:
Code: [Select]
<div id="social_login_container"></div>

<script type="text/javascript">
 oneall.api.plugins.social_login.build("social_login_container", {
  "providers" :  ["facebook", "twitter", "google", "yahoo", "openid", "windowslive"],
  "callback_uri": "http://appliancejunk.com/forums/index.php?action=oasl_callback;oasl_source=register",
  "css_theme_uri": "http://appliancejunk.com/forums/social_login.css"
  });
</script>';
after what you write those codes?
Title: Re: Social Login
Post by: Margus on February 03, 2018, 02:51:15 AM
I am using 2.1 b3 version, questions are about that version.

Q1:
Greetins,
Is it possible to buy full licence one time price?
We might not have so many clients but do not like to tie our self to monthly payments.

Q2: Is it possible to install Your mod and http://custom.simplemachines.org/mods/index.php?mod=2322 / SA Facebook Integration mod same time?

Q3: is it possible to pull other info like contact lists and send invites to contacts in your future versions (like some SA FB inegration mods) ?

Q4: What would be the aprox price for service to get Your mod working / your mod working with SA FB Integration same time (if possible) in clean forum ?
Title: Re: Social Login
Post by: gorbi on February 08, 2018, 03:25:52 AM
When you can expect the inclusion of the Telegram ID?
Title: Re: Social Login
Post by: landyvlad on March 14, 2018, 11:45:59 PM
I am using 2.1 b3 version,

Where can I get the SMF 2.1 b3 compatible version of this mod pelase ?
Title: Re: Social Login
Post by: tanawat on March 19, 2018, 02:26:08 PM
when user click link from ? facebook app (or use facebook app instead web browser) , they cannot login by One all (it will blank)

Anybody help me ?

Title: Re: Social Login
Post by: SirLouen on June 23, 2018, 02:03:12 PM
For some reason, Oneall has stopped working suddenly after some years
When I try to log in, through OneAll it seems to do it right, because the Usage summary goes up (Returning Users). But the user does not login. It just returns to the main site
But with the standard login, it works flawlessly

Versions: Social Login: 3.6
SMF Version: 2.0.15

I'm looking in both SMF logs and Apache log and there is nothing regarding this issue. I'm completely missing something.
I've tested both API Settings though SMF and API Connection Handler and it's working fine
Also checked both Facebook App and Google+ API Console and everything is right.
Title: Re: Social Login
Post by: SirLouen on June 24, 2018, 06:20:35 AM
For some reason, Oneall has stopped working suddenly after some years
When I try to log in, through OneAll it seems to do it right, because the Usage summary goes up (Returning Users). But the user does not login. It just returns to the main site
But with the standard login, it works flawlessly

Versions: Social Login: 3.6
SMF Version: 2.0.15

I'm looking in both SMF logs and Apache log and there is nothing regarding this issue. I'm completely missing something.
I've tested both API Settings though SMF and API Connection Handler and it's working fine
Also checked both Facebook App and Google+ API Console and everything is right.

Solved, it was a cache issue.
Title: Re: Social Login
Post by: landyvlad on June 24, 2018, 10:03:12 PM
Question:  If I uninstall this mod, will people who have previously logged in using their FB account, still have forum access by using the usual login/password method?  Or will it boot them / deactivate their account or.. ?
Title: Re: Social Login
Post by: SirLouen on June 25, 2018, 07:24:53 AM
Question:  If I uninstall this mod, will people who have previously logged in using their FB account, still have forum access by using the usual login/password method?  Or will it boot them / deactivate their account or.. ?

When you use this plugin it creates 2 tables: one that links a OneAll SMF ID with a SMF user, and one that links a OneAll internal ID with a OneAll SMF ID. Simultaneously, it creates a new user in the SMF member table (and it asks the user which email wants to be used for this thing if you specify it in the options)

Therefore if you uninstall this plugin, all users will remain on your members table. The problem is that they won't know their password at first, so they will have to do a "password recovery" action in order to retrieve their password back and still have access to the forum (unless they did this in the past).
Title: Re: Social Login
Post by: SirLouen on June 25, 2018, 07:28:41 AM
I've found that I can't use Social Login with Firefox. I've deleted the forum cookies and all that but still not working

Versions: Social Login: 3.6
SMF Version: 2.0.15

I've tested with latest Chrome, Edge and IE 11 and it's working well ... any reported issues?
Title: Re: Social Login
Post by: landyvlad on June 25, 2018, 08:10:20 PM
SirLouen - thanks.
Title: Re: Social Login
Post by: landyvlad on July 08, 2018, 09:34:33 PM
In attempting to uninstall this mod, it shows the following errors:

Quote
7. Execute Modification ./Themes/default/Login.template.php Test failed

  1. Add Before ./Themes/default/Login.template.php Test successful
  2. Replace ./Themes/default/Login.template.php Test failed
  3. Replace ./Themes/default/Login.template.php Test failed
 

Given that this involves the login template I want to be absolutely SURE that when I go to uninstall the mod I don't do anything which will prevent the normal SMF login process from working as it should.

Is it simply a matter of making the changes to that file manually -or is there something else to note?
Post the uninstall does it give a choice to remove any related files (if there are any?) and if so, should I tick yes?

Thanks for your help :)
Title: Re: Social Login
Post by: Rock Lee on July 10, 2018, 02:12:28 PM
In attempting to uninstall this mod, it shows the following errors:

Quote
7. Execute Modification ./Themes/default/Login.template.php Test failed

  1. Add Before ./Themes/default/Login.template.php Test successful
  2. Replace ./Themes/default/Login.template.php Test failed
  3. Replace ./Themes/default/Login.template.php Test failed
 

Given that this involves the login template I want to be absolutely SURE that when I go to uninstall the mod I don't do anything which will prevent the normal SMF login process from working as it should.

Is it simply a matter of making the changes to that file manually -or is there something else to note?
Post the uninstall does it give a choice to remove any related files (if there are any?) and if so, should I tick yes?

Thanks for your help :)

I understand when taking the issue of social login registered users under this modality disappear, and do not know to what extent the database changes ... That error usually happens when there is no such line specified Oh, any recent changes?


Regards!
Title: Re: Social Login
Post by: GigaWatt on July 10, 2018, 06:42:20 PM
The mod author hasn't responded since the beginning of last year, so... maybe someone using this mod could help.
Title: Re: Social Login
Post by: landyvlad on July 10, 2018, 07:38:52 PM
That'd certainly be appreciated.

I'm not comfortable with social network integration any longer, but want to remove it in such a way that
1. It doesn't break the forum (obviously); and
2. Ideally, doesn't 'kill' any members.


Also I tried to manually parse the code (for 2.0.15 and then 2.0.14) to see what changes those actually comprise - and got an error on this site along the lines of 'the mod is not compatible with that version' - and it didn't show the code changes.
I'm hoping that's just a glitch?
Title: Re: Social Login
Post by: GigaWatt on July 10, 2018, 07:52:55 PM
I'll try and help out, but I can't promise anything since I've never used this mod.

See in which places of the code the mod fails to uninstall (the notepad icon on the left side of those files will tell you what the uninstall process is trying to modify but can't find it). Post the results here, we'll see if we can solve this painlessly ;).
Title: Re: Social Login
Post by: landyvlad on July 10, 2018, 09:55:37 PM
OK here 'tis


Code: ((Find)) [Select]

<p class="smalltext"><a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a></p>';

// OneAll Social Login (https://docs.oneall.com/plugins/)
template_oneall_social_login();

echo '

Code: ((Replace)) [Select]

<p class="smalltext"><a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a></p>


and

Code: ((Find)) [Select]

<p class="centertext"><input type="submit" value="', $txt['login'], '" class="button_submit" /></p>
<p class="centertext smalltext"><a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a></p>';

// OneAll Social Login (https://docs.oneall.com/plugins/)
template_oneall_social_login();

echo '


Code: ((Replace)) [Select]

<p class="centertext"><input type="submit" value="', $txt['login'], '" class="button_submit" /></p>
<p class="centertext smalltext"><a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a></p>



[Kindred edit - please use actual code tags]
Title: Re: Social Login
Post by: GigaWatt on July 11, 2018, 04:37:45 AM
OK, I'm guessing this is from the first error in Login.template.php. Could you please attach this file too (sorry, I forgot to mention it in my previous post). It's located in /forum_root/Themes/default/.
Title: Re: Social Login
Post by: landyvlad on July 11, 2018, 08:00:54 PM
OK will do tonight if I can. Ta.
Title: Re: Social Login
Post by: landyvlad on July 12, 2018, 05:37:41 AM
attached per request :)

Title: Re: Social Login
Post by: GigaWatt on July 12, 2018, 09:46:59 AM
Well, here's your problem. In the first code snippet, Login.template.php actually has this code instead of the code the uninstaller is looking for.

Code: (Login.template.php (first code snippet)) [Select]
<p class="smalltext"><a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a></p><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />';

// OneAll Social Login (https://docs.oneall.com/plugins/)
template_oneall_social_login();

echo '

And in the second code snippet, Login.template.php has this instead of what the uninstaller requires.

Code: (Login.template.php (second code snippet)) [Select]
<p class="centertext"><input type="submit" value="', $txt['login'], '" class="button_submit" /></p>
<p class="centertext smalltext"><a href="', $scripturl, '?action=reminder">', $txt['forgot_your_password'], '</a></p><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />';

// OneAll Social Login (https://docs.oneall.com/plugins/)
template_oneall_social_login();

echo '

These must be edits from some mod. I edited Login.template.php in 2 different ways. You'll use Login.template.php.for.social.login.uninstall to uninstall the mod and Login.template.php.after.social.login.uninstall after you've uninstalled the mod.

So, the procedure would go like this.

01) Copy your original Login.template.php and name it Login.template.php.bak1.

02) Copy both Login.template.php.for.social.login.uninstall and Login.template.php.after.social.login.uninstall in the same directory (/forum_root/Themes/default/).

03) Delete Login.template.php.

04) Rename Login.template.php.for.social.login.uninstall to Login.template.php.

05) Uninstall the mod. The tests should pass now.

06) Rename Login.template.php to Login.template.php.bak2

07) Rename Login.template.php.after.social.login.uninstall to Login.template.php.

08) Check if everything works OK (logging in and out). Test the forum for a day or two, see if any members report any login/logout issues. If not, that's it.

Just in case, keep Login.template.php.bak1 and Login.template.php.bak2. After a few months, if there are no issues, you could probably delete them, but keep a local backup of the forum's files (like one named "before social login uninstall" and the other one "after social login uninstall") ;).
Title: Re: Social Login
Post by: GigaWatt on July 12, 2018, 09:54:54 AM
Actually, I just noticed this, but it looks like the mod was last updated before the 2.0.14+ login fix, so that is what's causing the problem, this additional piece of code.

Code: [Select]
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
Title: Re: Social Login
Post by: landyvlad on July 12, 2018, 08:14:37 PM
Firstly thanks for all the work in the big post, much appreciated.

However I'm not sure what you mean in the second brief post. Does that imply there is something much simpler that I need to do? Or something additional?
Title: Re: Social Login
Post by: GigaWatt on July 12, 2018, 09:56:55 PM
What I meant was, the Social Login mod was updated before the 2.0.14+ login fix (https://wiki.simplemachines.org/smf/Login_error_2.0.14), but you must have installed it before the 2.0.14 login fix.

Hmmm... do you have the this (http://custom.simplemachines.org/mods/index.php?mod=4167) mod installed?
Title: Re: Social Login
Post by: landyvlad on July 13, 2018, 12:37:12 AM
Yes social login has been installed since 2.0.13.

I wasn't aware of any 2.0.14+ login issues ?

No, I don't have that mod installed.
Title: Re: Social Login
Post by: GigaWatt on July 13, 2018, 05:35:16 AM
They weren't login issues... well, they were if you upgraded to 2.0.14 but only if you had a theme or a portal that wasn't up to date. That was a security login patch (released as a mod for those who didn't want or didn't know hot to manually patch their themes) and is theme dependent (you have to apply it on your theme).

So, you probably have the 2.0.14 and 2.0.15 small upgrade packages installed, you're using Curve and that might explain how the fix got in the code (SMF also patches it's own theme files).

There's no easy way around it. You'll have to follow the steps I wrote in my previous post. Just don't forget to be logged in when you do all of that editing. So, basically, you should have your FTP program running and be logged in the forum before you do any of that, because you wouldn't be able to log in once you remove that piece of code :S.
Title: Re: Social Login
Post by: landyvlad on July 17, 2018, 10:07:34 PM
OK thanks

Quote
you probably have the 2.0.14 and 2.0.15 small upgrade packages installed, you're using Curve

Precisely the case :)

Any issues with putting the forum into maintenance mode while I do those things suggested? I assume it's OK but I figure I'd check first :)

Title: Re: Social Login
Post by: GigaWatt on July 18, 2018, 05:13:35 AM
Any issues with putting the forum into maintenance mode while I do those things suggested? I assume it's OK but I figure I'd check first :)

Yes, that's not a problem ;). Actually, it's preferred since users that might try to log in, won't be able to because... well, that code is the login fix :S. Without it, nobody would be able to log in :S.

Just make sure you bring the code back before you log out ;). So, basically, do all of the edits while you're logged in, uninstall the mod from the Admin panel, bring back all of the code that you removed (i.e. the 2.0.14+ login fix) and then logout ;).
Title: Re: Social Login
Post by: landyvlad on July 18, 2018, 09:07:24 PM
bring back all of the code that you removed (i.e. the 2.0.14+ login fix) and then logout ;).

Umm, I never installed any login fix.
Title: Re: Social Login
Post by: Arantor on July 19, 2018, 02:53:32 AM
You never tweaked the login form on any of your themes, either manually or through a mod?

Because 2.0.14 introduced a security change that stopped most custom themes working correctly for login boxes...
Title: Re: Social Login
Post by: landyvlad on July 19, 2018, 03:01:54 AM
No aside from social login none of the mods I've installed would have (as far as I can imagine) made any changes to the login stuff.

I ONLY use curve theme (with responsive curve mod installed). No other themes.



Title: Re: Social Login
Post by: Arantor on July 19, 2018, 03:44:12 AM
Ok, so that would imply no fix required since Curve did get the relevant change. Something weird is afoot.
Title: Re: Social Login
Post by: landyvlad on July 19, 2018, 06:52:29 AM
GigaWatt if you happen to be online can you pop acorss and have a look here please:
https://www.simplemachines.org/community/index.php?topic=561276.0
Just in case the two issues are related?
Cheers
Title: Re: Social Login
Post by: landyvlad on July 19, 2018, 10:34:25 AM
OK well after some dramas it's now gone and uninstalled and deleted and.. gone.  Thanks all for your help.
Title: Re: Social Login
Post by: GigaWatt on July 19, 2018, 05:32:34 PM
Glad you have it sorted out ;)... and sorry for the inconvenience :S.
Title: Re: Social Login
Post by: SilverKnight on August 06, 2018, 01:55:59 AM
Needs to be updated to support discord, one all already supports that
Title: Re: Social Login
Post by: Claude, OneAll on August 21, 2018, 11:50:34 AM
Hello,

I have now updated the plugin. I have added Discord, Meetup, Line, Soundcloud and Weibo
and made some changes so to that it works with PHP 7.2.

Best Regards,

Title: Re: Social Login
Post by: pocttopus on August 21, 2018, 01:29:21 PM
Hello,

I had removed previous version 3.5 to be able to install the latest 3.7 but somehow there are two login forms on the page.  :-\
How can I remove one and leave the other one. We don't need two login forms on the same page.  :o

http://forum.mkreef.com/login/
Title: Re: Social Login
Post by: Kindred on August 21, 2018, 02:05:03 PM
You would have to manually edit the code...

(and when a mod gives you an error on install or uninistall, understand that means exactly what the message says -- the mod will not fully install (or uninstall) and you will have to manually edit the code that failed the automatic process.)
Title: Re: Social Login
Post by: Claude, OneAll on August 22, 2018, 03:23:44 AM
Hello,

you have probably modified the login template after having install Social Login 3.5. This is why it was not correctly removed when you uninstalled it now.
In your theme directory you need to open Login.template.php. There you need to remove this block:

Code: [Select]
<p style="text-align:left;">
<div class="oneall_social_login_providers" id="oneall_social_login_providers_', $rand, '"></div>
<script type="text/javascript">
oneall.api.plugins.social_login.build("oneall_social_login_providers_', $rand, '", {
"providers": [\'', implode ("', '", $providers), '\'],
"callback_uri": \'', $boardurl, '/index.php?action=oasl_callback;oasl_source=login\',
});
</script>
<!-- OneAll.com / Social Login for SMF -->
</p>
Title: Re: Social Login
Post by: pocttopus on August 22, 2018, 04:47:35 AM
Hello,

you have probably modified the login template after having install Social Login 3.5. This is why it was not correctly removed when you uninstalled it now.
In your theme directory you need to open Login.template.php. There you need to remove this block:

Code: [Select]
<p style="text-align:left;">
<div class="oneall_social_login_providers" id="oneall_social_login_providers_', $rand, '"></div>
<script type="text/javascript">
oneall.api.plugins.social_login.build("oneall_social_login_providers_', $rand, '", {
"providers": [\'', implode ("', '", $providers), '\'],
"callback_uri": \'', $boardurl, '/index.php?action=oasl_callback;oasl_source=login\',
});
</script>
<!-- OneAll.com / Social Login for SMF -->
</p>
Thanks for your response but now icons are missing.  :-\
Title: Re: Social Login
Post by: Study Force on August 22, 2018, 11:36:23 AM
A few questions before setting up:

What happens immediately after registration?

Are members given the opportunity to select a password? A Username?

Does their avatar from their social profile get linked?

Can they still login without their social login?
Title: Re: Social Login
Post by: njtweb on August 22, 2018, 02:31:16 PM
A few questions before setting up:

What happens immediately after registration?

Are members given the opportunity to select a password? A Username?

Does their avatar from their social profile get linked?

Can they still login without their social login?

Great questions, I've been mulling over allowing twitter and FB login, I'm following.
Title: Re: Social Login
Post by: pocttopus on August 24, 2018, 04:08:10 AM
A few questions before setting up:

What happens immediately after registration?

Are members given the opportunity to select a password? A Username?

Does their avatar from their social profile get linked?

Can they still login without their social login?

They can register immediately with SocialLogin without asking for pass/username.
Yes, they can use their avatars from social network as well.

Now the login form for SocialLogin is not working properly because is missing and therefor no one can login through SocialLogin. :(
http://forum.mkreef.com/login/
Title: Re: Social Login
Post by: SychO on August 24, 2018, 04:35:26 AM
Now the login form for SocialLogin is not working properly because is missing and therefor no one can login through SocialLogin. :(
http://forum.mkreef.com/login/

Attach your Login.template.php file here, let me take a look at it
Title: Re: Social Login
Post by: pocttopus on August 24, 2018, 05:22:28 AM
Now the login form for SocialLogin is not working properly because is missing and therefor no one can login through SocialLogin. :(
http://forum.mkreef.com/login/

Attach your Login.template.php file here, let me take a look at it
Here...
Title: Re: Social Login
Post by: SychO on August 24, 2018, 06:06:30 AM
The mod installed correctly, did you adjust the mod's settings ?
Title: Re: Social Login
Post by: pocttopus on August 24, 2018, 09:31:34 AM
The mod installed correctly, did you adjust the mod's settings ?
Yes... but somehow the icons for logins are missing.  :-\
Title: Re: Social Login
Post by: Mick. on August 24, 2018, 11:08:01 AM
@Claude this mod is pretty straight forward. Easy to set up and configure....and the steps by steps are spot on. Right on brother.  ;)
Title: Re: Social Login
Post by: Study Force on August 24, 2018, 11:52:52 AM
@Claude this mod is pretty straight forward. Easy to set up and configure....and the steps by steps are spot on. Right on brother.  ;)

Mick. Given you have it installed, can you answer my questions above.

Biggest concern is, how to login if the mod fails in the future. Can you set your own password? I know you can login with an email address as your username.
Title: Re: Social Login
Post by: Mick. on August 24, 2018, 12:04:17 PM
@Claude this mod is pretty straight forward. Easy to set up and configure....and the steps by steps are spot on. Right on brother.  ;)

Mick. Given you have it installed, can you answer my questions above.

Biggest concern is, how to login if the mod fails in the future. Can you set your own password? I know you can login with an email address as your username.
You know what? I dont have the answer. good question but i would think that if the mod fails, the user can still login with the user name used in the past and password. Like if i used facebook to login in the past, you should be able to login using your facebook name and password. Well i'm thinking that that would be reasonably.  I guess you could untick the facebook icon in admin and try to login with your facebook name and password via smf login and see if that works. If it does, then everything should work if the mod fails. Then tick the facebook icon back on. Hence, using the mod it automaticly registers users. Now, i have not done this.
Title: Re: Social Login
Post by: SychO on August 24, 2018, 12:11:45 PM
there is no way your facebook password can be used, if that were the case, hacking'd be pretty ez
Title: Re: Social Login
Post by: Mick. on August 24, 2018, 12:14:42 PM
there is no way your facebook password can be used, if that were the case, hacking'd be pretty ez
alright, well, thats out the window.
Title: Re: Social Login
Post by: pocttopus on August 25, 2018, 02:36:31 AM
Ermmm... what about my issue!?  :-[ :-\
The icons/buttons are missing in login form...  :-\
http://forum.mkreef.com/login/
Title: Re: Social Login
Post by: diegolyanky on August 25, 2018, 06:48:24 PM
Great MOD !...

Will work on 1.1.21 ? ... ( I Have 1.1.21 working under PHP 7.1 )
Title: Re: Social Login
Post by: pocttopus on August 27, 2018, 03:56:31 AM
Can someone help me... the forum is broken.
I went to uninstall the mod and everything was fine. Then I installed again and now is broken.  :-\
http://forum.mkreef.com/login/
Code: [Select]
Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.
Title: Re: Social Login
Post by: SychO on August 27, 2018, 04:53:41 AM
Can someone help me... the forum is broken.
I went to uninstall the mod and everything was fine. Then I installed again and now is broken.  :-\
http://forum.mkreef.com/login/
Code: [Select]
Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.

Looks like you figured it out
Title: Re: Social Login
Post by: pocttopus on August 27, 2018, 06:26:38 AM
Can someone help me... the forum is broken.
I went to uninstall the mod and everything was fine. Then I installed again and now is broken.  :-\
http://forum.mkreef.com/login/
Code: [Select]
Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.

Looks like you figured it out
Yes... solved. :)
Thanks @SychO... I appreciate your concern.  :)
Title: Re: Social Login
Post by: Study Force on September 03, 2018, 02:52:50 PM
A few questions before setting up:

What happens immediately after registration?

Are members given the opportunity to select a password? A Username?

Does their avatar from their social profile get linked?

Can they still login without their social login?

bump
Title: Re: Social Login
Post by: landyvlad on September 04, 2018, 01:44:01 AM
Study Force please don't assume I am correct, someone who KNOWS will come along in due course, but I THINK...

What happens immediately after registration? Not sure what you mean here.

Are members given the opportunity to select a password? A Username?
If the facebook name is fred nirk then the username becomes fred.nirk

Does their avatar from their social profile get linked? No I don't think so.

Can they still login without their social login? Again, not sure.
Title: Re: Social Login
Post by: landyvlad on September 04, 2018, 02:13:19 AM
I assume that ALL the changes made when installing social login are shown in the 'parse manually' function.

However, does social login make any changes to SMF files subsequently?  i.e When activated or when a user joins via social media for the first time?

I've uninstalled the mod but am not 100% sure that things are as they were before, and I need to be certain.


Thanks
Title: Re: Social Login
Post by: Study Force on September 04, 2018, 02:19:41 PM
So many unknowns!!!
Title: Re: Social Login
Post by: Study Force on September 05, 2018, 08:29:08 PM
I have finally got around to installing this and have several answers:

What happens immediately after registration?

You are redirected to your profile. At least in my forum where it's programmed to do that.

Are members given the opportunity to select a password? A Username?

No. The username is generated based on your social media account. The password is auto-generated as a number, but the user doesn't get to see it. Therefore, if the software stops working, those members are doomed.

There's a simple work around though. What I did was create an auto-generated password that's easy to remember, and upon successful login, that password is sent to the user within a personal message explaining their backup login credentials.

Does their avatar from their social profile get linked?

Yes, which I find quite nice.

Can they still login without their social login?

Out of the box, they can't, but I've worked around it (read above).
Title: Re: Social Login
Post by: EthanR on September 05, 2018, 10:17:44 PM
Thanks for the research, clears up some questions I had :)