Steam profile XML

Cool. :smiley:

fopen is functional. Just checked. :slight_smile:

And yeah, I made the design. It’s 200px wide so it fits in the sidebar of my site and gray because I have a gray fetish.

ok.

the only problem is the font, verdana is probably not the best choice.

EDIT:

the script refreshes the pic every 2 minutes and it’s saved as png, but you should use the php script in the tag otherwise it wouldn’t work.

yeah, but does it work, if you want to open files from another server?

[align=center]>>DOWNLOAD<<[/align]

Thanks! I’ll try it out and see what happens. :smiley:

little update: >>Download<<

added state colors:

online = blue

in-game = green

offline = grey

and the first letter of the state is now upper case

EDIT:
did some minor fixes( fixed some textpositions )
>>DOWNLOAD<<

Thanks. It works! :smiley:

https://www.hamst3r.com/

It’s on the right hand side.

no problem :slight_smile:

Hey guys, I been looking for over a week for something like this for my clan, I downloaded the files and tested them on my server. (shared host with godaddy.com)

I get this error:

[COLOR=‘Red’]The image “https://www.xxxxx.com/sig/hamster_steam.png” can not be displayed because it contains errors

I uploaded the files as they are so I did not change them at all, I wanted to see if it was something I could tinker with first. Any help would be much appreciated.

png?
you have to run the php on the server and have to check if fopen_wrappers are enabled

I’m running the .php… When I enter https://www.xxxxx.com/sig/hamster_steam.php that is the error I get.

I have enabled fopen with a php.ini file and tried all way as I know to enable it:

allow_url_fopen = On allow_url_fopen = 1 allow_url_fopen = true

Still getting the error. Not real sure about the php.ini file. I have used them before but I don’t remember a whole lot, I used a prefab I found online.

change this:

header('Content-type: image/png'); 

to

//header('Content-type: image/png'); 

and see what messages it outputs

Thanks for the reply, I got it to work with the original code, I just needed to wait for the server to update with the php.ini file…

Just need to figure out how to move the info around now :smiley:

I have a question, how do I flip the game icons to run horizontally instead of vertically? I’m using 3 icons for the 3 most played games but need them to set side by side instead of over top of each other?

I’m guessing it is in this line but not too sure, I’m still learning :wink:

[code]foreach( $steamdata[‘mostplayed’][‘games’] as $key => $value )
{

         if( $y < 3 )
         {
                 $game_icon = imagecreatefromjpeg($value['icon']);
                 imagecopyresized($baseimage, $game_icon, 200, $y, 0, 0, 32, 32, 32, 32);
                      imagedestroy($game_icon);
         }[/code]

yeah, you downloaded the special edition of hamst3r.
I’ll upload the new generic one soon( within 1-2hours )

you open the php file with steam_statimage?p=&s=
the tf2 style design and the default design is in the zip pack, so s=tf2 s=default or s=

Can someone tell me what is this?

Man you rock, this is exactly what I have been looking for, great job, I love it:

Only thing I just noticed is when using stateMessage for online status, it shows as

In-Game Counter-Strike: Source - <a href="steam://connect/99.24.219.158:27015">Join</a>

Have to see if there is a way to stop the line breaks and link code from showing up

you made that design?
good job!
btw: just use the state not the msg or strip_tags(), because GD doesn’t support html code

Please?

Yes I made the backround, thanks glad ya like it…

And, nvm my edit to the last post, I thought there might be a way to remove those extra line :slight_smile:

Is there a way to have the first letter show as a cap or is that the only way it will show because it is parsing Steams info?

if you could read you would know it

ucfirst()

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.