Jump to content

Community

Sign in through Steam - IPB3


Lavo
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • 3 weeks later...

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?

Link to comment
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?

Link to comment
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?

Link to comment
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).

Link to comment
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')
Link to comment
Share on other sites

  • 3 weeks later...
  • 5 weeks later...

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!

Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

  • 1 month later...

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?

Link to comment
Share on other sites

  • 4 weeks later...

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!

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy