1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained XBL, PSN, and Steam profiles with Images 1.1

Images linking to XBL, PSN, and Steam profiles from the user postbit

  1. 0xym0r0n

    0xym0r0n Well-Known Member

    0xym0r0n submitted a new resource:

    XBL, PSN, and Steam profiles with Images (version 1.0) - Images linking to XBL, PSN, and Steam profiles from the user postbit

    Read more about this resource...
     
  2. 0xym0r0n

    0xym0r0n Well-Known Member

    And before anyone asks I am going to add a 'pop-up' feature that displays the XBL avatar/info and the PSN gamecard info. This is all in the future and it's not on my immediate to do list.
     
    JVCode and Sheldon like this.
  3. Sheldon

    Sheldon Well-Known Member

    You gonna add a pop-up? :sneaky:

    Appreciate the submission. (y)
     
    JVCode likes this.
  4. 0xym0r0n

    0xym0r0n Well-Known Member

    Yes I am lol
     
  5. 0xym0r0n

    0xym0r0n Well-Known Member

    It has come to my attention that certain steam profiles use a bunch of numbers instead of a username so my next update will include a fix for this!
     
  6. CFodder

    CFodder Well-Known Member

    And a popup for Steam?? :p. Great little addon :).
     
  7. 0xym0r0n

    0xym0r0n Well-Known Member

    I'm actually checking into see if it's possible or simple to grab the info... I see a few steamcard sites... but I'm wondering where/how they got their stuff.

    BUT! PSN look and xbox look
    screen.png Untitled-4.png
    Decided CSS tool tip was simpler.

    EDIT:
    Yeah just figured out how to grab the Steam stats :)
    And I removed useless/ugly background/border on tool tip just now >.>
     
    Sheldon and CFodder like this.
  8. CFodder

    CFodder Well-Known Member

    Luv ya work :).
     
  9. 0xym0r0n

    0xym0r0n Well-Known Member

    Yeah so I'll figure it out eventually but if anyone wants to beat me to it and create something that fits within a 200x135 box or around that size!
    http://steamcommunity.com/id/{steamid}/?xml=1&l=english
    {steamid} = username/user id

    More XML located here:
    https://partner.steamgames.com/documentation/community_data

    edit:
    got it. I need to sleep though so i will double check for errors in the morning.
    tables converted to divs
    images called with css sprites to reduce HTTP requests
    tooltip gamecards for steam.psn.xbox live
    Alternate id for steam profiles with unset profile names
    Disallow multiple users from using the same screen name

    Current known issues for 1.1 release
    All browsers latest version -> XBOX gamecard tooltip opens and makes the postbit look ugly after you save and edit a post. It will reset on page refresh.
    Not sure how or why this is. Only happens with XBOX gamecard which is embedded unlike the other gamecards.

    To be released for 1.1
    CSS Sprites
    Tables to Divs
    Tooltip gamecards for XBOX and PSN (Steam will need another separate add-on which i will release by this week or next)
    Alternate ID for Steam
    Added onError to hide PSN portableID if the user spells their name wrong, incorrect entry, or it is not enabled from us.playstation.com/portableid
     
    WhoIsDo likes this.
  10. 0xym0r0n

    0xym0r0n Well-Known Member

  11. 0xym0r0n

    0xym0r0n Well-Known Member

  12. 0xym0r0n

    0xym0r0n Well-Known Member

    Please remember to DELETE the old game_images folder AND remove this from message_user_info IF you have the previous version
    Code:
    <table><tr><td><xen:if is="{$user.customFields.PSN}"><a href="http://us.playstation.com/playstation/psn/visit/profiles/{$user.customFields.PSN}" target="_new"><img src="/game_images/PSN.png" width="25px" height="23px" /></a><br/></xen:if></td><td><xen:if is="{$user.customFields.xboxid}"><a href="http://live.xbox.com/en-US/Profile?Gamertag={$user.customFields.xboxid}" target="_new"/><img src="/game_images/XBL.png" width="25px" height="23px"></a></xen:if></td><td><xen:if is="{$user.customFields.Steam}"><a href="http://steamcommunity.com/id/{$user.customFields.Steam}" target="_new"/><img src="/game_images/steam.png" width="25px" height="23px"></a>[/FONT][/SIZE]
    </xen:if>
    </td></tr></table>

    How to EDIT the look and feel of the Steam Widget
    Open /game_icons/steamwidget.php with your preferred editor.
    At the top you will see
    Code:
    .steamcontainer { background:  #333333;
                      width: 200px;
                  border: 1px solid #555555;
     
                      height: 100px;}
    .steamidcss {
                  font-family: Arial;
                  color: #ffffff;
                  margin: 0px;
                  padding: 0px;
                  font-size:10px;
                  overflow: hidden;
                  width: 100%;
                  }
    .steamfloat { float: left;
                  }     
    .clearit { clear:both; }
    .id {font-size:20px; }
    .steamcontainer is the actual container for the widget.
    .steamidcss is the container within .steamcontainer and controls all the fonts aside from the steam username
    .id is the way your steam username is displayed
     
  13. 0xym0r0n

    0xym0r0n Well-Known Member

    I'll release it separately but I'm working on a custom tab in the user profile page to display all this information with a sort of 'toggle me' effect.
     
  14. EnragedGames

    EnragedGames Member

    I love the addon, was wondering if you had dropped it? I'd really love to see more improvements on it :D

    I have a problem though...
    I keep getting problems with the hover overs. For example the xbox gamercard seems to request an installation of an unknown plugin for firefox. Even though I have Flash/Java/Silverlight. I visited your forums and got the same thing. However testing it with chrome it works fine... Any ideas on what's causing this?

    Edit here's a picture (xbox on left, steam on right):
    [​IMG]
    I noticed after posting this, that steam is having a similar problem. No idea what's going on, but here's a snippet of the error it produces
    Code:
    [30-Sep-2012 09:51:24] PHP Warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://steamcommunity.com/id/?xml=1:1465: parser error : Extra content at the end of the document in /home2/.../gamer_info/steamwidget.php on line 60
    [30-Sep-2012 09:51:24] PHP Warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:            &lt;img class=&quot;appHubs_ImageWallImage&quot; src=&quot;http://cloud.steampowered.com/ugc/92 in /home2/.../gamer_info/steamwidget.php on line 60
    [30-Sep-2012 09:51:24] PHP Warning:  simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]:            ^ in /home2/.../gamer_info/steamwidget.php on line 60
     
  15. 0xym0r0n

    0xym0r0n Well-Known Member

    My steam widget is still working. I'm not returning those errors. Did you modify anything in the script? I'll check it out in a bit and try to fix it for you.

    The xbox issue I can't solve but I'm trying to make a script that turns the stats into a dynamic image, so it can be called to as an image. It only happens in firefox/waterfox browsers for me.
     
  16. EnragedGames

    EnragedGames Member

    I haven't touched the script, but i haven't had the change to go one by one (of the addons) and check the scripts. So i'll get back to you about the steam issue.

    As for the xbox live image thing, i'm not sure if this will help you but a while ago i made a bbcode for xboxlive gamer cards using this service: http://card.josh-m.com/ hope that helps you further develop this awesome addon!

    Example img from the service above:
    [​IMG]
     
  17. 0xym0r0n

    0xym0r0n Well-Known Member

    I personally don't like having game cards that link to other sites. I'm just crazy like that, but if there's no link back required I'd be more than willing to release a version with that image in it. If you want I can modify the code so you can add that image in it until I have a fix.
     
  18. EnragedGames

    EnragedGames Member

    Oh no, i'm fine with waiting. It was just an idea. I'm willing to help test or w/e if you need something. And yea I fully agree with an in house version because you never know when their service might go offline.
     
  19. 0xym0r0n

    0xym0r0n Well-Known Member

    I'm just letting you know I finally got those errors. It appears to be when the steam XML itself is not available and someone views the card. I noticed my card was not displaying correctly early this morning and I viewed the script and visited the XML source which was 'down'/'non-existent'.

    Were you getting a bunch of these errors? I only get 4 errors in a probably a 20 minute span of time. I'll look into a way to disable the widget when the XML source is down. The only other way around is to make it a dynamic image that updates ever so often, but bad luck would make it update right when the XML is down lol
     
  20. EnragedGames

    EnragedGames Member

    Sorry for the late response. I was getting an error everytime I hovered over it. I disabled the addon a while back until I can come up with something similar. I was thinking of doing my own modifications so I could buttons similar to your addon but without tooltips and would contain more than just gaming sites (eg. skype, soundcloud, gtalk, etc). If you put out this version your working on I'll def use it (I dont think i'll get to do my modifications, too busy atm). Thanks for the update!
     

Share This Page