1. There is no such thing as a "pending" ban or Steam admin. Anyone threatening your account is a scammer trying to scare you. Read more.

SteamRep tools.

Discussion in 'SteamRep Guides' started by SilentReaper(SR), Apr 28, 2012.

  1. SilentReaper(SR)

    SilentReaper(SR) Retired Staff

    Messages:
    11,991
    SteamRep Admin:
    STEAM_0:0:89705646
    Next to the SR API plugin for the servers, there are other adaptions for on websites/forums etc. This topic is to link people to those efforts and enable other admins wanting to know about such and maybe implement those on their communities.

    The first one:
    Adding Steamrep link to the HLX:CE stats.
    Snelvuur of Lethal-zone.eu has made a small "mod" to HLStatsX:CE to link directly from a stats page to SteamRep.

    The mod itself:
    http://forums.hlxce.com/topic/3091-steamrep-icon-on-player-details/

    The resulting look:
    http://stats.lethal-zone.eu/hlstats.php?mode=playerinfo&player=5044

    the steamrep logo file: http://files.steamrep.com/1/2012-04/steamrep.png
    Downloading from the stats forum is not working well.

    The "mod" or "patch" consists of replacing line 142 of url/pages/playerinfo_general.php:
    Code:
    Original line:
    echo "Steam: <a href=\"http://steamcommunity.com/profiles/$coid\" target=\"_blank\">$prefix" . "$uqid</a>";
     
    New code for that line:
    echo "Steam: <a href=\"http://steamcommunity.com/profiles/$coid\" target=\"_blank\">$prefix" . "$uqid</a><a href=\"http://www.steamrep.com/profiles/$coid\" target=\"_blank\"><img src=hlstatsimg/steamrep.png align=\"right\"></a>";
    ===================================================================================
    The Second one:
    Another one from Snelvuur of http://www.lethal-zone.eu/:
    http://forums.interwavestudios.com/topic/4398-steamrep-icon-on-player-ban-details/

    File: sourcebans path: ./themes/default/page_bans.tpl
    line 184, to change into:
    Code:
    <td height="16" class="listtable_1"><a href="http://steamcommunity.com/profiles/{$ban.communityid}" target="_blank">{$ban.communityid}</a><a href="http://www.steamrep.com/profiles/{$ban.communityid}" target="_blank"><img src=images/steamrepsb.png align="right"></a></td>
    and place http://files.steamrep.com/1/2012-05/steamrepsb.png into the ./images/ folder (not the ./theme folder).

    example: http://sourcebans.lethal-zone.eu/
    ===================================================================================
    Other Info:
    If any has any other edited mods of anything, like forum/site mods that are of interest or related, they are free to post any details of it. Conditions of it are:
    - It must be free (the mod itself that is, the software where its a mod off may be paid, like XenForo)
    - The mod must be open source, to prevent trust issues.
    - It must be of interest for communities to have it themselves, think of linking accounts on the website itself or SteamRep status or to SteamRep.

    Feel free to post anything tho, if its interesting for our communities, then it will be added to the above list(!).
  2. Chaos

    Chaos Retired Staff

    Messages:
    1,386
    Steam:
    STEAM_0:1:33058557
    That's awesome stuff!
  3. SilentReaper(SR)

    SilentReaper(SR) Retired Staff

    Messages:
    11,991
    SteamRep Admin:
    STEAM_0:0:89705646
    Snelvuur of Lethal-Zone has made again another "mod", this time for SourceBans, to link to one's profile from sourcebans to SteamRep:

    http://forums.interwavestudios.com/topic/4398-steamrep-icon-on-player-ban-details/

    File: sourcebans path: ./themes/default/page_bans.tpl
    line 184, to change into:
    Code:
    <td height="16" class="listtable_1"><a href="http://steamcommunity.com/profiles/{$ban.communityid}" target="_blank">{$ban.communityid}</a><a href="http://www.steamrep.com/profiles/{$ban.communityid}" target="_blank"><img src=images/steamrepsb.png align="right"></a></td>
    and place http://files.steamrep.com/1/2012-05/steamrepsb.png into the ./images/ folder (not the ./theme folder).

    /edit: edited the to paste code to be pointing to the same name as the downloadable image.
  4. SilentReaper(SR)

    SilentReaper(SR) Retired Staff

    Messages:
    11,991
    SteamRep Admin:
    STEAM_0:0:89705646
    Horsedick of EE pointed me to a error on my side above.

    I had to rename the image from "steamrep.png" to "steamrepsb.png", but didn't reflect the name of the image in the code for it. I have now edited the code in the OP and in the post above to reflect the name change in the code. This will be the only change from the original code vs what Snelvuur posted on sourcebans forum thread.
  5. Snelvuur

    Snelvuur New User

    Messages:
    4
    Steam:
    STEAM_0:1:12409974
    3rth:

    After:​
    {$ban.commentdata|@count} <img src="images/details.gif" alt="Comments" title="Comments" style="height:12px;width:12px;" />​
    </div>​
    Add:​
    {if $ban.reason == "Player is a reported scammer"}​
    <img src=images/steamrep.png align=right>​
    {/if}​
    In your theme/page_bans.tpl​
    That way in the sourcebans ban list you can quickly see who was banned because of steamrep. (see sourcebans.lethal-zone.eu as example)​
    DataStorm likes this.
  6. Snelvuur

    Snelvuur New User

    Messages:
    4
    Steam:
    STEAM_0:1:12409974
    DataStorm likes this.
  7. SilentReaper(SR)

    SilentReaper(SR) Retired Staff

    Messages:
    11,991
    SteamRep Admin:
    STEAM_0:0:89705646
    Flying Anonymoose likes this.