What i wrote will work, add it in all querys were you get player_id like i wrote above and the parse comid to the template for bandetailes and use comid do do a link of the steamid like this
Code:
<td height='16' width='70%' class='listtable_1'>{if $ban_info.player_id == " "}<i><font color='#677882'>{"_NOSTEAMID"|lang}</font></i>{else}<a href=http://steamcommunity.com/profiles/".$ban_info.comid." target=_blank>{$ban_info.player_id}</a>{/if}</td>
__________________