News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Social Login

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

Previous topic - Next topic

dimspace

Quote from: Old Fossil 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.

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

TheListener

Quote from: dimspace on April 27, 2013, 06:46:21 PM
Quote from: Old Fossil 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.

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.

dimspace

Quote from: Old Fossil on April 27, 2013, 06:48:45 PM
Quote from: dimspace on April 27, 2013, 06:46:21 PM
Quote from: Old Fossil 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.

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

TheListener

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.

Arantor

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.

dimspace

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. 

la muerte

Steam Community support? I LOVE YOU.

Claude, OneAll

Quote from: Old Fossil 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.

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!

johnpaul2k2

Quote from: Old Fossil 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.
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 ;)

ApplianceJunk

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,





ApplianceJunk

More questions... ;)

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

QuoteAuthorize 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,

dimspace

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

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

ApplianceJunk

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

QuoteCopy the code below to the head section of your page:

and shows this code...

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

Mick.

Usually I put my scripts before the closing body tag for faster page load.

ApplianceJunk

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

function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

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


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

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

Mick.

All my javascripts i place them here:

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>';
}


ApplianceJunk

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

Mick.

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

Right... hang on

Mick.

Try this:
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>';
}

ApplianceJunk

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.

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


Advertisement: