View Single Post
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 02-25-2009 , 03:10   Re: Convert STEAMID to Steam Community ID
Reply With Quote #136

Damn i still don't get it how this converting works!
I think we all know AMXBans and i'm trying to add this converting technique to it so when you click on a steamID you automaticly go to the steam community page for the banned player.

I see al huge scripts here in this topic and i don't understand what they actualy are doing or how to add them, i'm just looking for a simple script which only convert the steamID to the communityID.

For example:
$steamid = $result->player_id;
$community_id = "convert $steamid
to steam_communityID";

Then i can use the below line in the template:
<td><a href='
http://steamcommunity.com/profiles/{$community_id}'>{$bans.player_id}</a></td>

Anyone know how to write the red part in working PHP language or is it just not possible to use it together with the AMXBans script?
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.
Maurice is offline