Jump to content

Community

Lavo

Sign in through Steam - IPB3

Recommended Posts

It's a regular user registration, not a registration using steam or linking steam.

If you have FB setup, the forums don't make you sign into FB unless you select it.

Share this post


Link to post
Share on other sites

Have you disabled the IPB Internal login? Or have other login methods enabled that are not configured?

Sounds like your board is defaulting to the steam sign in because it doesn't recognize any other valid login methods.

Share this post


Link to post
Share on other sites

ScVUHws.png' alt='' class='ipsImage' wid" alt="ScVUHws.png">

I turn off steam and registration works fine (redirect to forums after signed up). I turn it on, and when you register you are sent to the steam website to login.

Share this post


Link to post
Share on other sites

ScVUHws.png' alt='' class='ipsImage' wid" alt="ScVUHws.png">

I turn off steam and registration works fine (redirect to forums after signed up). I turn it on, and when you register you are sent to the steam website to login.

Can you click "Disabled" on the Steam login row, it should be showing as enabled.

EDIT: I may have misread something...

Share this post


Link to post
Share on other sites

When this is installed the validation for my site acts strange. A person registers and then the validation link sends them to the steam auth page.

The account still gets validated even if you close the steam auth page. I uninstalled this and my validation link works normally again.

-Newest version of all IPB software

-I didn't see this happen when my community didn't force guests to login.

-I also edited the plugin to use https:// images and the login page is https://

Any ideas why they'd get redirected into the steam auth page after clicking the validation link?

Share this post


Link to post
Share on other sites

When this is installed the validation for my site acts strange. A person registers and then the validation link sends them to the steam auth page.

The account still gets validated even if you close the steam auth page. I uninstalled this and my validation link works normally again.

-Newest version of all IPB software

-I didn't see this happen when my community didn't force guests to login.

-I also edited the plugin to use https:// images and the login page is https://

Any ideas why they'd get redirected into the steam auth page after clicking the validation link?

Could you post/pm me with your board url?

Share this post


Link to post
Share on other sites

http://indieindeed.net/

When you register and get the confirmation email- the link will redirect you to "sign in with steam" page.

Can confirm, could you post the order of what your login methods are in? If steam is at the top, move it down and make sure that the default one is up there instead.

Share this post


Link to post
Share on other sites

I'm assuming what could have broke is I edited the template files. I changed the button url to a static url that included "https:". That was to get rid of the ssl warning of unsecure object loading.

Might try and see if this was the case later on.

Share this post


Link to post
Share on other sites

I'm assuming what could have broke is I edited the template files. I changed the button url to a static url that included "https:". That was to get rid of the ssl warning of unsecure object loading.

Might try and see if this was the case later on.

That is most definitely not the problem, did you by anychance test without your forums member sign in required on?

Share this post


Link to post
Share on other sites

That is most definitely not the problem, did you by anychance test without your forums member sign in required on?

Ya. It did it again. It doesn't occur when the plugin is disabled. Maybe that means more to you than it does to me.

Share this post


Link to post
Share on other sites

This plugin no longer works on the latest IPB.

When a member tries to link their Steam account, after logging-in through Steam, it just doesn't do anything and takes back to "Link your Steam account" on the User CP.

When a member tries to register with Steam account, trying to log-in through Steam doesn't work. No matter how many times they try, they are sent back to "Steam Log-In page" on Steam website when they press log-in on Steam website.

Also, when a member logs in, when this plugin in enabled, it redirects to http://domain.com/forum_root/i, where it says there is nothing there (invalid page).

Share this post


Link to post
Share on other sites

This plugin no longer works on the latest IPB.

When a member tries to link their Steam account, after logging-in through Steam, it just doesn't do anything and takes back to "Link your Steam account" on the User CP.

When a member tries to register with Steam account, trying to log-in through Steam doesn't work. No matter how many times they try, they are sent back to "Steam Log-In page" on Steam website when they press log-in on Steam website.

Also, when a member logs in, when this plugin in enabled, it redirects to http://domain.com/forum_root/i, where it says there is nothing there (invalid page).

I'm responding to my own problem. This is for those who also encounter this problem in the future.

On Windows servers (IIS), $_SERVER['HTTPS'] returns "off" when it's not active.

The solution is quite simple: /admin/sources/loginauth/steam/lib/steam_openid.php

CHANGE LINE 23 TO:
 $returnTo = (!$returnTo) ? (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'] : $returnTo;


CHANGE LINE 29 TO:
'openid.realm'        => (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'],



WHAT IS BEING CHANGED:

FROM: (!empty($_SERVER['HTTPS']) ? 'https' : 'http')

TO: (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http')

Share this post


Link to post
Share on other sites

Hi if you can help me, I have made steam my primary login method on my board. But it seems when people login, they don't stay on the page they were on, they get redirected to the main forum page. Is there any way I can make it so it refreshes to the page they were on instead?

Much appreciated!

Share this post


Link to post
Share on other sites

Obligatory thanks and so on...

So, we made a major webserver and name jump a few days ago. Stomped out most of the bugs including the Steam login loop back to the steam page. And people said things were fine. And I suspect they are to a degree. I can create a new account with Steam login and I can logout and then login again with Steam no problems.

What's happening for one/some of our already exsting members who have used Steam login forever is that it kicks them to Steam as usual but when they come back to the forums it wants them to create a new account instead of logging them in.

I suspect with the name change from xxxxxxxx.com to yyyyyyyy.com there are some hashes or something somewhere in the db that need to be cleared or something? I'm still investigating but if someone already knows the answer feel free to spare me the work :)

Share this post


Link to post
Share on other sites

Hello,

I'd like to give my contribution to everyone who uses this hook.

You need to edit the following file in order to allow IPB to automatically delete incomplete users. Otherwise you will end up with hundreds (if not thousands) of ghost users in your database.

File:

/admin/applications/members/tasks/removevalidating.php

WHERE:

'where'		=> "p.partial_date<{$less_than} AND ( m.twitter_id<>'' OR m.fb_uid<>0 )"

CHANGE TO:

'where'		=> "p.partial_date<{$less_than} AND ( m.twitter_id<>'' OR m.fb_uid<>0 OR m.live_id<>'' OR m.steamid<>'' )"

Note how I also added the live_id, which is a bug from IPB, as it also doesn't automatically delete incomplete users from Windows Live, even though it is a built-in feature.

If you also have the >Sign in through Google hook, then the code should be like this:

'where'		=> "p.partial_date<{$less_than} AND ( m.twitter_id<>'' OR m.fb_uid<>0 OR m.live_id<>'' OR m.steamid<>'' OR m.google_uid<>'' )"

I hope I have helped the community by sharing this important piece of information.

Thanks,

Gabriel.

Share this post


Link to post
Share on other sites

thumb-e7ebfe9270a1ac3910eb0fb274e450db-s


File Name: Sign in through Steam

File Submitter: Lavo

File Submitted: 10 Apr 2012

File Category: Integration

Supported Versions: IP.Board 3.4.x


This plugin will allow users to sign into your forum through the steam open id authentication system. Existing users can link their steam accounts in the members control panel.



Donations are appreciated if you would like to fuel my Dr Pepper addiction click here.

This project is open source, you can find the GitHub repository here.


Click here to download this file

Very nice.

I do not see any install in ACP?

Share this post


Link to post
Share on other sites

Hello, 

I am currently experiencing the problem with this addon. When someone tries to link their account with Steam it redirects to Steam login page, but when someone clicks "Yes, Sign in" there is a freeze and I need it is not loading at all. Is anyone having the same problem as me?

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Is anyone else's "Avatar" broken when they register to their forums using this plugin? I thought it would fetch the Steam avatar from steam to the board. Or Is that something custom I need to write?

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...