1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Steam Community OpenID Login

Discussion in 'Add-on Releases [Archive]' started by Luke F, Aug 17, 2011.

  1. Luke F

    Luke F Well-Known Member

    This addon adds a [​IMG] button which functions pretty much the same as the existing Facebook login button.


    • Prepopulated username from user's Steam name.
    • Downloads and uses Steam avatar for new users.
    • Integrates with my Steam Identity Service addon to populate Steam ID for both new and existing users.
    • As with the existing Facebook integration, supports both new and existing users.

    1. Install Steam Identity Service
    2. Upload contents of upload folder to your forum root
    3. Install addon-SteamLogin.xml file
    4. Edit login_bar_form template - Add:
      <xen:include template="dark_steam_login_button" />
    Please don't forget to donate :) (see my sig)

    Attached Files:

    Saber425, Klaudius, Chazman and 21 others like this.
  2. Luke F

    Luke F Well-Known Member


  3. jonatan.wb

    jonatan.wb Member

    works fine!! :D
    Darkimmortal likes this.
  4. Steve F

    Steve F Well-Known Member

    Awesome addon Darkimmortal!

    Was actually working on sending you a PC last night about possibly doing this exact addon! Anyhow I sent a donation your way, really appreciate the work you have done! :)
    Shelley and Darkimmortal like this.
  5. bottiger

    bottiger Active Member

    Very nice.

    Is there a way to login to a forum account that already has an ID set by "Steam Identity Service"? I just tested it, and it prompts me to create a new account.

    Is it possible to disable people manually entering a random ID in their contact details?
  6. Steve F

    Steve F Well-Known Member

    You can click the Tab next to the "Create New Account", it should say Associate Account.
  7. bottiger

    bottiger Active Member

    Ah ok thanks.

    So does anyone know how to disable letting people enter random IDs in their profile?

    Right now I think it allows people to login someone else's account by putting their Steam ID in your contact details. Never mind it looks like login Steam ID is stored again in xf_user_external_auth. It would still be nice to disallow editing of the ID in the profile.
  8. bottiger

    bottiger Active Member

    I've modded the 2 plugins.

    If you are testing the Identity Steam ID updates by editing the database entry, you will need to refresh the user cache before the changes show up in the database and in your Identities edit box.

    Please let me know if there are any bugs.

    Attached Files:

    lasertits likes this.
  9. Luke F

    Luke F Well-Known Member

    Why would you want to stop people changing it?

    Surely it will never change?
  10. bottiger

    bottiger Active Member

    I don't want any impersonation of Steam IDs.

    It will change if either one of the following happens:
    • Someone wants to switch accounts. The person is already logged into the forum, and logs into Steam under a new account.
    • The person deleted his steam account for privacy reasons, and wishes to update his Steam ID again.
  11. bottiger

    bottiger Active Member

    I found another bug. Inside kyouko.php this line should be moved up into the if statement above.

    $avatarModel->applyAvatar($user['user_id'], $avatarFile);
  12. Vincent

    Vincent Well-Known Member

    I am logged in fine, and when I then click the "Login" button it redirects me to my site and says "Invalid login. Is your Steam profile public?" And yes it's public.
    blackvoid likes this.
  13. blackvoid

    blackvoid Active Member

    Same thing for me and many reports with the same error.
  14. Hillbilly

    Hillbilly Member

    To you guys running it, is it stable enough to put up on a production site yet? I'm about to launch a site, and the ability to log-in via steam is going to be a must have.

    I've been toying with the add-on locally on my own test forum and it seems to be working fine. I'm still learning the code base so I'm not as good at debugging as I once was so I was hoping for an outside opinion as I see a few people seem to be having issues with it.

    Great add-on btw, Dark :).
  15. Steve F

    Steve F Well-Known Member

    The addon seems fine on my site so far for me, although not many users yet. At least 8 members have used it without a hitch. Your welcome to test it out if you wish, link in sig.
  16. blackvoid

    blackvoid Active Member

    I solved the problem.

    Replace in the function _genUrl in the variable $returnTo and $params['openid.realm'] :
    isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on"
  17. Trekkan

    Trekkan Well-Known Member

    Installed, works great!
  18. bottiger

    bottiger Active Member

    They either need to logout and sign in through steam so they can click on the "associate account" tab.

    Or... you need to stick a link to http://your_xenforo_forum.com/register/steam?reg=1 so people can sign in through steam while logged into xenforo.

    Take a look at this tutorial.

  19. Vincent

    Vincent Well-Known Member

    This doesn't fix it for me :(
  20. Hillbilly

    Hillbilly Member

    Working great for me thus far! :)

    Thanks for this modification, my users are going to love it!

Share This Page