Updated Steam Profile Badges

Discussion in 'Site Discussion' started by drp, Sep 29, 2009.

  1. Barracuda

    Barracuda L1: Registered

    Messages:
    41
    Positive Ratings:
    36
    2.0 final is out!

    Most significant change: The banner image of the currently played game displayed in the right side of the background:

    [​IMG]

    Other changes
    Download link
     
    • Thanks Thanks x 2
  2. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    wow this juts keeps getting better and better. great work barracuda.
     
  3. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    145
    Very nice mate!
     
  4. horussjr

    horussjr L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    how to install 2.0.4 in vbulletin 4.0.8. i have the prior version, that one with 1.3.2-min and it's working. the latest isn't. can sbd help me? what verion do you have installed?
     
  5. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    we currently use the latest on the forum.

    it is a little different to setup. what exactly do you need help with?
     
  6. MjRNuT

    MjRNuT L1: Registered

    Messages:
    21
    Positive Ratings:
    1
    Would it be possible (kosher) to have the backpack link go to use TF2B.com?

    Apologies if that is out of line. If not, can you possibly instruct me on how to make that change?
     
  7. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    243
    So are they still supposed to have a black background? When ingame it's white, is it just me? If not, I think they look a lot better in black.
    [​IMG]
     
  8. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    edit stemaprofile.js

    line 252

    Code:
    .attr('href', 'http://tf2b.com/id/=' + profileData.find('profile > steamID64').text());
    
     
  9. Scotland Tom

    Scotland Tom L6: Sharp Member

    Messages:
    332
    Positive Ratings:
    64
    I'm having the same issue as J4CK8. Anyone in-game appears to have the whitish background like this:
    [​IMG]

    Not at all like this dark background Barracuda posted earlier:

    [​IMG]

    The darker background is easily far superior.
     
  10. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    i need to change the styling as the older one was more suited to the older white site colors.
     
  11. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    default theme is being used now, and cache has been cleared. you should see the original darker banner now.
     
  12. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    243
    Still white for me...I'll check back again in a few mins, see if theres any change. Also, I'm currently in TF2 yet it doesn't show that in the steam ID thing.
     
    Last edited: Oct 29, 2010
  13. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    there's about a 5min cache so it updates every 5 minutes.

    try a cold refresh. ctrl + f5
     
  14. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    243
    Workign now, looks much better :)
     
  15. Scotland Tom

    Scotland Tom L6: Sharp Member

    Messages:
    332
    Positive Ratings:
    64
    Yep, looking good for me now too.
     
  16. MjRNuT

    MjRNuT L1: Registered

    Messages:
    21
    Positive Ratings:
    1
    Hmmm, I'm using your codebase from:

    http://code.google.com/p/steamprofile/

    It's on line 297 rather. I made the change and nothing happened.

    Here is the code in my Postbit:

    HTML:
    <!-- SteamID Profile Status -->
    <if condition="$post['field5']">
    	<div class="steamprofile" title="$post[field5]"></div>
    
    
    <script type="text/javascript">
    	/* <![CDATA[ */
    	function addGabe() {
    		// to avoid interferences, SteamProfile locks the loading of
    		// other profiles until the current query is finished
    		if(SteamProfile.isLocked()) {
    			return;
    		}
    		
    		$('#gabe_adder').replaceWith('<div class="steamprofile" title="gabelogannewell"></div>');
    		SteamProfile.refresh();
    	}
    	/* ]]> */
    	</script>
    Hope you can direct me to my mistake b/c the backpack icon still resolves to tf2items.com.


    Also, compliments on the method you've done to display backpacks using vBCMPS. Will have to toss you some bones on that for support!
     
  17. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    be sure to have this in your header template


    Code:
    <.script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <.script type="text/javascript" src="steamprofile/steamprofile.min.js"></script>
    ^be sure to remove the period at the beginning of <.script


    you should only use one method to display the profiles

    i use the div class method

    Code:
    <.if condition="$post['field11']"><.div class="steamprofile" title="{$post['field11']}" style="float: right;"></div></if>
     
    Last edited: Oct 29, 2010
  18. MjRNuT

    MjRNuT L1: Registered

    Messages:
    21
    Positive Ratings:
    1
    Yup, already have the jquery setup as standalone file and src=local folder. Placed in header template rather than headinclude.

    yeah...as shown in my post...I'm using div class method as well.

    neither of those are related to linking the backpack url.

    thanks anyways. I'm happy with what I got.
     
  19. drp

    aa drp

    Messages:
    2,264
    Positive Ratings:
    2,605
    im sorry, i thought you had a problem it displaying.

    the file you need to edit is the steamprofile js file.

    try running a search on the file for 'tf2items.com'.
     
  20. horussjr

    horussjr L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    even if you are editing the steamprofile.js file it wont work unless in the template you wont modify steamprofile.min.js in steamprofile.js. trust me, i saw this today:)