diff --git a/index.html b/index.html index 99dc962..07da39d 100644 --- a/index.html +++ b/index.html @@ -86,7 +86,8 @@ function process_steam_profile(xml) { var prof = $(xml).find('profile'); - if (prof.find('steamid').text() == '0') + var steamid = prof.find('steamid').text(); + if (steamid == '0') { $('img.avatar').hide(); popover('#loginpopover'); @@ -94,7 +95,13 @@ } // if if (prof.find('valid').text() != '1') + { + $('img.avatar').hide(); + var url = 'http://steamcommunity.com/profiles/' + steamid + '/edit/settings'; + $('a#privpage').attr('href', url); + popover('#privateprofilepopover'); return null; + } // if var retval = { nickname: prof.find('nickname').text(), @@ -443,6 +450,21 @@ Click here to log in through steamcommunity.com
+ +Your Steam Community profile appears to be set to private.
+You need to change your Steam Community settings to access this page.
+The "profile status" must be set to "public."
+Please note that this will let everyone see your information!
+Unfortunately, it's the only way this site can see it, too.
+