Steam Authentication & Integration

Steam Authentication & Integration 1.6.3

No permission to download
Sorry for the double, but just wanted to announce that Steam Auth version 1.3.0 is around the corner. Just doing some final testing on Xenforo 1.2 and making sure the addon can remain compatible with Xenforo 1.1.x

If you feel brave, the release candidate is on the develop branch of github. Remember that no support is provided for development versions. Use at your own risk.

EDIT: IE compatibility should be improved in this upcoming version as well. I used IE 10's developer mode and SteamProfiles seem to render fine on 9, 8, and 7.
 
Sorry for the double, but just wanted to announce that Steam Auth version 1.3.0 is around the corner. Just doing some final testing on Xenforo 1.2 and making sure the addon can remain compatible with Xenforo 1.1.x

If you feel brave, the release candidate is on the develop branch of github. Remember that no support is provided for development versions. Use at your own risk.

EDIT: IE compatibility should be improved in this upcoming version as well. I used IE 10's developer mode and SteamProfiles seem to render fine on 9, 8, and 7.
Any comments on my previous post?
 
Alright I guess I'll have to apply my file to everything each release then.
Hopefully valve get's the idea to add support :P
 
HowIChrgeLazer updated Steam Authentication & Integration with a new update entry:

Version 1.3.0 Changelog

THIS VERSION SUPPORTS XENFORO 1.1.x AND 1.2.x

* Added the ability to filter games shown on the steam stats pages
* Another empty index fix for SteamProfile (Thanks, Chris Deeming!)
* Added option to show in-game banners on SteamProfile (1 API request per user in game)
* Removed unnecessary divs in SteamProfile XML
* Fixed SteamProfile javascript for Xenforo 1.2 support
* Fixed a bug with IE rendering issues for...

Read the rest of this update entry...
 
Could you make this addon display a user's Steam card instead of their avatar in certain forums (PC gaming in our case) if they choose to do so? Even for users who registered normally and enter their steam name in a custom field?
 
Could you make this addon display a user's Steam card instead of their avatar in certain forums (PC gaming in our case) if they choose to do so? Even for users who registered normally and enter their steam name in a custom field?

I'll look into it and see what's possible for selective nodes.

If you're using a custom field only with no steam addon, you'd probably have to do SQL queries to import their steamids into a usable format for the addon. Kind of like when people moved from Luke Foreman's steam addon to this one:

http://xenforo.com/community/threads/steam-authentication-integration.27790/page-10#post-356578

@HowIChrgeLazer so I take it that this mod no longer requires TMS in 1.2, correct?

This addon still uses the template hooks to be compatible with 1.1.x, so if you're putting the SteamProfiles in special locations that are not in those template hooks, you'll need to mess with the template modification system implemented in XenForo 1.2, or wait for TMS to be updated for XenForo 1.2.
 
I'll look into it and see what's possible for selective nodes.
Great, thanks. We currently use vbulletin and give members the option to enter Xbox, PSN and steam ids and the choice whether to display those gamer cards instead of avatars. The gamer cards are resized so they fit where the avatar would
 
Great, thanks. We currently use vbulletin and give members the option to enter Xbox, PSN and steam ids and the choice whether to display those gamer cards instead of avatars. The gamer cards are resized so they fit where the avatar would

Ah, I see what you mean now. Replacing avatars with a steam profile would require a bit more finesse and your theme needs to have the space for it. You'd have to create a template modification like I mentioned to Icewolf in the above post. There are no hooks for replacing avatars (as far as I know).

To give you an idea about the width and height required, here's what our steam profiles look like:
http://ragecagegaming.com/forum/members/howichrgelazer.3/

Of course, you can always edit the stylesheet to fit your needs.

EDIT: There's a hook for the avatar location, but a template edit would still be required to remove the XenForo avatar. As for doing that on a per node basis, I'm not sure how extensive the built in TMS is. Haven't had a lot of time to tinker with it yet.
 
hi @HowIChrgeLazer,
I recieve the error below when I activate the "Display SteamProfile in-game banners" and the add-on does not work. When I turn off the "Display SteamProfile in-game banners" option, it works properly.

Server Error Log
Error Info
Code:
ErrorException: curl_setopt_array() [<a href='function.curl-setopt-array'>function.curl-setopt-array</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set - /home/xxx/public_html/js/steam/jsonproxy.php:57
Generated By: Unknown Account, Yesterday at 9:46 PM
Stack Trace
Code:
#0 [internal function]: XenForo_Application::handlePhpError(2, 'curl_setopt_arr...', '/home/xxx/...', 57, Array)
#1 /home/xxx/public_html/js/steam/jsonproxy.php(57): curl_setopt_array(Resource id #24, Array)
#2 /home/xxx/public_html/js/steam/jsonproxy.php(112): get_web_page('http://api.stea...')
#3 {main}
Request State
Code:
array(3) {
  ["url"] => string(78) "http://www.xxx.net/js/steam/jsonproxy.php?steamids=76561198039566146"
  ["_GET"] => array(1) {
    ["steamids"] => string(17) "76561198039566146"
  }
  ["_POST"] => array(0) {
  }
}
 
Thank you for the bug report, going to fix that right now. Looks like I only have the json data being grabbed by cURL. If you don't have it or if it is disabled, it'll fail for the in-game banners.
 
Thanks for Great Addon ! but now statistics of steam not show on navbar tab(already tick on this check box).
How to enable it ?

Thanks
 
Thanks for Great Addon ! but now statistics of steam not show on navbar tab(already tick on this check box).
How to enable it ?

Thanks

You also have to enable it in permissions per user or per group, this allows for better control. I'll update the main resource page to reflect this better and change the text in the steam auth options.
 
Please help i got this error
Error Info
ErrorException: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution - library/Steam/ControllerPublic/Register.php:87
Generated By: Unknown Account, Today at 7:09 AM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'file_get_conten...', '/home4/theblazi...', 87, Array)
#1 /home4/theblazi/public_html/forums/library/Steam/ControllerPublic/Register.php(87): file_get_contents('http://api.stea...')
#2 /home4/theblazi/public_html/forums/library/XenForo/FrontController.php(337): Steam_ControllerPublic_Register->actionSteam()
#3 /home4/theblazi/public_html/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home4/theblazi/public_html/forums/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(820) "http://www.theblazingtech.com/forum...andle&openid.sig=JXQy8duZAGp1iwYH4Clq85G8zb4="
["_GET"] => array(11) {
["redirect"] => string(37) "http://www.theblazingtech.com/forums/"
["openid_ns"] => string(32) "http://specs.openid.net/auth/2.0"
["openid_mode"] => string(6) "id_res"
["openid_op_endpoint"] => string(39) "https://steamcommunity.com/openid/login"
["openid_claimed_id"] => string(53) "http://steamcommunity.com/openid/id/76561198051090045"
["openid_identity"] => string(53) "http://steamcommunity.com/openid/id/76561198051090045"
["openid_return_to"] => string(108) "http://www.theblazingtech.com/forums/register/steam?redirect=http://www.theblazingtech.com/forums/"
["openid_response_nonce"] => string(48) "2013-08-03T11:09:33Z5YJnueZFOXHvRZXzqqc6bErrfGA="
["openid_assoc_handle"] => string(10) "1234567890"
["openid_signed"] => string(76) "signed,op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_handle"
["openid_sig"] => string(28) "JXQy8duZAGp1iwYH4Clq85G8zb4="
}
["_POST"] => array(0) {
}
}


and this

ErrorException: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: php_network_getaddresses: getaddrinfo failed: Name or service not known - library/Steam/ControllerPublic/Register.php:593
Generated By: Unknown Account, Today at 7:06 AM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'file_get_conten...', '/home4/theblazi...', 593, Array)
#1 /home4/theblazi/public_html/forums/library/Steam/ControllerPublic/Register.php(593): file_get_contents('https://steamco...', false, Resource id #115)
#2 /home4/theblazi/public_html/forums/library/Steam/ControllerPublic/Register.php(40): Steam_ControllerPublic_Register->_validate()
#3 /home4/theblazi/public_html/forums/library/XenForo/FrontController.php(337): Steam_ControllerPublic_Register->actionSteam()
#4 /home4/theblazi/public_html/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /home4/theblazi/public_html/forums/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
["url"] => string(846) "http://www.theblazingtech.com/forum...andle&openid.sig=SBtKjYJhJxfMNNTX2gs/y9aGt+o="
["_GET"] => array(11) {
["redirect"] => string(44) "http://www.theblazingtech.com/forums/portal/"
["openid_ns"] => string(32) "http://specs.openid.net/auth/2.0"
["openid_mode"] => string(6) "id_res"
["openid_op_endpoint"] => string(39) "https://steamcommunity.com/openid/login"
["openid_claimed_id"] => string(53) "http://steamcommunity.com/openid/id/76561198051090045"
["openid_identity"] => string(53) "http://steamcommunity.com/openid/id/76561198051090045"
["openid_return_to"] => string(117) "http://www.theblazingtech.com/forum...=http://www.theblazingtech.com/forums/portal/"
["openid_response_nonce"] => string(48) "2013-08-03T11:06:56ZBqfZHVl+6Y2qe0hQjIc79bpDFmE="
["openid_assoc_handle"] => string(10) "1234567890"
["openid_signed"] => string(76) "signed,op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_handle"
["openid_sig"] => string(28) "SBtKjYJhJxfMNNTX2gs/y9aGt+o="
}
["_POST"] => array(0) {
}
}
 
Your first line has very important information in it.

"php_network_getaddresses: getaddrinfo failed: Name or service not known"

Looks like you're having some sort of DNS issue on your webserver.
 
Top Bottom