Steam Authentication & Integration

Unmaintained Steam Authentication & Integration 1.6.3

No permission to download
Update Instructions:
  • Delete js/steam before uploading files
Changes:
* cURL reimplemented for performance and will only be used if it can be
* Added retry methods incase JSON data times out
* Added a place holder image for games that don't have a banner
* Added new icons to SteamProfile badge
* Removed all unused SteamProfile files

Additional Notes:
Wow! It's down to ~67kb!

This version should pretty much reduce errors to near zero. I cleared the two stats tables and tested every aspect of cURL and file_get_contents. Future plans are to get SteamProfile in-game banners working (planning on it being a toggle option, as it'll increase API requests).

I'll be updating the main resource page when I can to reflect new information.
  • Like
Reactions: lasertits
* All data is requested through the SteamAPI. No more unreliable SteamCommunity XML!
* Removed cURL from SteamBadge. Code now uses file_get_contents
* cURL is no longer used and is not a requirement for this add-on to work
  • Like
Reactions: Steve F and Chris D
* Added county code case statement check for user location
* Fixed HTTPS redirection as reported in the previous addon

To further explain the new location logic:
  • No location set in Steam = Parts Unknown as your XenForo profile location at registration
  • US set in Steam = United States of America as your XenForo profile location at registration
  • US + State set in Steam = State, United States of America as your XenForo profile location at registration
  • US + State + City set in Steam = State, United States of America as your XenForo profile location at registration
  • Other Country set in Steam = Other Country (ex. Germany) as your XenForo profile location at registration
  • Fixes by Chris Deeming
    • Added basic session activity details
    • Fixed database queries on the installer (Manufacture.php)
Thank you for the fork and pull request of your code changes. Glad to see this addon constantly improving. :cool:
* Added option to ACP for statistics gathering on user registration. Can increase performance if disabled. However, stats aren't generated for the user until the cron runs.
* Added steamid helper to convert SteamID64 to SteamID. Called in a template with {xen:helper steamid, $value}

Example use here: http://ragecagegaming.com/forum/members/howichrgelazer.3/

Side Note
If I'm spamming you guys with resource updates, I do apologize. I want to make sure you guys get the latest (tested) features and fulfilled requests. This addon has been dormant for awhile and I wanted to get it back up to speed as quickly as possible. :)
* URL and JS fix for forums without Friendly URLs
* Added public steam statistics pages
* Added a permission for the public steam stats
* Added an option to show or hide the steam statistics navbar tab
* Added an exception throw if the cron fails to update a user's XML data
* Organized Steam Integration options in the admin CP
* Created a second steamprofile JS to render just avatars and online state

KNOWN ISSUE(S):
* SteamProfiles fail to load in IE versions < 10

INSTALL TIPS:
* To make sure Steam stats show, have it enabled in options and give users groups permission.
  • Like
Reactions: Simple and Steve F
Changelog:
  • Added retry logic for Steam Community XML game data. Will try up to three times, and wait five seconds in between each attempt.
  • Fixed language bug in steamprofile.js (reported by Kartus)
  • Updated German translations in steamprofile.js
  • Removed example pictures from next .zip release on Xenforo
== Upgrade Steps From 1.0.9 to 1.1.0+ ==
  1. Upload the upload directory to your forum (overwrite any files)
  2. Upgrade the addon using the provided "addon-Steam.xml" file
== Upgrade Steps From 1.0.0-1.0.8 to 1.1.0+ ==
  1. Backup root/js/steam somewhere safe
  2. Delete root/js/steam directory
  3. Upload the upload directory to your forum (overwrite any files)
  4. Upgrade the addon using the provided "addon-Steam.xml" file
  • Like
Reactions: Adam Howard
Top