Advertisement:

Author Topic: Social Login  (Read 171641 times)

Offline Claude, OneAll

  • Semi-Newbie
  • *
  • Posts: 36
    • @oneall on Twitter
    • OneAll
Re: Social Login
« Reply #340 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,


Offline pocttopus

  • Jr. Member
  • **
  • Posts: 357
  • Low pressure
    • @pocttopus on Twitter
Re: Social Login
« Reply #341 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/

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,609
  • Gender: Male
    • Kindred-999 on GitHub
Re: Social Login
« Reply #342 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.)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Claude, OneAll

  • Semi-Newbie
  • *
  • Posts: 36
    • @oneall on Twitter
    • OneAll
Re: Social Login
« Reply #343 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>

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 357
  • Low pressure
    • @pocttopus on Twitter
Re: Social Login
« Reply #344 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.  :-\

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,781
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Social Login
« Reply #345 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?

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 977
Re: Social Login
« Reply #346 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.

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 357
  • Low pressure
    • @pocttopus on Twitter
Re: Social Login
« Reply #347 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/

Offline SychO

  • On Hiatus
  • SMF Hero
  • *
  • Posts: 1,544
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Social Login
« Reply #348 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
Take the initiative

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 357
  • Low pressure
    • @pocttopus on Twitter
Re: Social Login
« Reply #349 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...

Offline SychO

  • On Hiatus
  • SMF Hero
  • *
  • Posts: 1,544
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Social Login
« Reply #350 on: August 24, 2018, 06:06:30 AM »
The mod installed correctly, did you adjust the mod's settings ?
Take the initiative

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 357
  • Low pressure
    • @pocttopus on Twitter
Re: Social Login
« Reply #351 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.  :-\

Offline Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,077
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Social Login
« Reply #352 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.  ;)

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,781
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Social Login
« Reply #353 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.

Offline Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,077
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Social Login
« Reply #354 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.

Offline SychO

  • On Hiatus
  • SMF Hero
  • *
  • Posts: 1,544
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Social Login
« Reply #355 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
Take the initiative

Offline Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,077
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Social Login
« Reply #356 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.

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 357
  • Low pressure
    • @pocttopus on Twitter
Re: Social Login
« Reply #357 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/

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 329
  • Gender: Male
Re: Social Login
« Reply #358 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 )
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 357
  • Low pressure
    • @pocttopus on Twitter
Re: Social Login
« Reply #359 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.