Updated Steam Profile Badges

Barracuda

L1: Registered
Sep 24, 2009
41
37
2.0 final is out!

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

steamprofile_in-game.png


Other changes
Download link
 

drp

aa
Oct 25, 2007
2,273
2,628
wow this juts keeps getting better and better. great work barracuda.
 

horussjr

L1: Registered
Oct 22, 2010
2
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?
 

drp

aa
Oct 25, 2007
2,273
2,628
we currently use the latest on the forum.

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

MjRNuT

L1: Registered
Mar 23, 2008
21
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?
 

J4CK8

L11: Posh Member
Mar 4, 2009
820
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.
this.JPG
 

drp

aa
Oct 25, 2007
2,273
2,628
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?
edit stemaprofile.js

line 252

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

Scotland Tom

L6: Sharp Member
Jan 19, 2008
332
64
I'm having the same issue as J4CK8. Anyone in-game appears to have the whitish background like this:
this.JPG


Not at all like this dark background Barracuda posted earlier:

steamprofile_in-game.png


The darker background is easily far superior.
 

drp

aa
Oct 25, 2007
2,273
2,628
I'm having the same issue as J4CK8. Anyone in-game appears to have the whitish background like this:
this.JPG


Not at all like this dark background Barracuda posted earlier:

steamprofile_in-game.png


The darker background is easily far superior.
i need to change the styling as the older one was more suited to the older white site colors.
 

drp

aa
Oct 25, 2007
2,273
2,628
default theme is being used now, and cache has been cleared. you should see the original darker banner now.
 

J4CK8

L11: Posh Member
Mar 4, 2009
820
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:

drp

aa
Oct 25, 2007
2,273
2,628
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.
there's about a 5min cache so it updates every 5 minutes.

try a cold refresh. ctrl + f5
 

MjRNuT

L1: Registered
Mar 23, 2008
21
1
edit stemaprofile.js

line 252

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

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!
 

drp

aa
Oct 25, 2007
2,273
2,628
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:

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:

MjRNuT

L1: Registered
Mar 23, 2008
21
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.
 

drp

aa
Oct 25, 2007
2,273
2,628
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.
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'.
 

horussjr

L1: Registered
Oct 22, 2010
2
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:)