News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Social Login

Started by Claude, OneAll, February 01, 2013, 03:57:31 PM

Previous topic - Next topic

dimspace

just go to your smf admin panel, look for oneall social login, and disable everything except google..

Swayforth

#161
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

Claude, OneAll

That's a good idea. We will try to add this in one of the next versions!

Adrek

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 :)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Claude, OneAll

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,

Realinfo

Quote from: 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!


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

Realinfo

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.

Smasher

Does this offer a "Social Login" only feature?
Site in Development

Powered by SMF 2.0.4
     - EzPortal 1.0
     - SA Facebook Integration

dimspace

Quote from: Smasher on June 17, 2013, 12:19:30 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.

Smasher

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.
Site in Development

Powered by SMF 2.0.4
     - EzPortal 1.0
     - SA Facebook Integration

Sgt.Soldier™

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  :)

Claude, OneAll

Thank you for the suggestion!
I will think about it!

Manicred

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!

Manicred

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:

<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 <div class="info">', $txt['quick_login_dec'], '</div>'; I add:

<!-- 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


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.

Manicred

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"

ApplianceJunk

Hi,

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

/* 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



<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.



// 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.

Manicred

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?

ApplianceJunk

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.


awolexpat

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.

keng_113

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.

Advertisement: