[REQ]Steam IM Card and other

Steam IM Card Hack

This mini mod, simply add the ability of having for each user of your board to enter their Steam ID (link) like the MSN, ICQ, AOL, Yahoo and Skype Messenger contact cards.

This hack also integrate itself into the ACP User editor and the User Control Panel when its enabled

The reason I released it here is because I found it useful on another board Im member of and wanted to share it as their may be other who would like to use it
wink.gif



Installation
Installation and uninstallation notes can be found inside the ZIP in the file named "Read Me.txt", including template edits

Statistics
  • Products: 1
  • Template edits: 5
  • Templates: 2
  • Admin Help Topics: 1
  • Plugins: 9
  • Language Phrases: 10

#################################################

Postbit: SteamID and Hlstats Rankings

Here is my First mod, it's a simple postbit change but i was "mega-chuffed" that it worked
smile.gif


First of All you must do this:

Admin CP -> User Profile Fields -> Add New User Profile Field

Choose "Single Line Text Box"

Title: Steam ID (or whatever you wish, i have chosen "SteamID")
Display Order: (you choose!)
Field Required: (you choose!)
Field Editable by User: (you choose!)
Private Field: NO!!
Field Searchable on Members List: Yes
Show on Members List: (I chose yes)
Display Page: Edit Profile

[SAVE]

Okey Pokey

Take note on what your fieldid is, mine is this case is field5

Now,

Go to AdminCP
Go to "Style Manager"
Go to "Edit Templates" for your theme.
Scroll down until you get to "Postbit Templates"
Open up either Postbit or Postbit Legacy (depending on what you use!)

Find in the template in which you want this mod to display


Code:
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
just below it, or below any previous postbit mods, add


Code:
<if condition="$post['field5']"><div>Steam ID: <a href="YOUR HLSTATS SERVER/?mode=search&q=$post[field5]&st=uniqueid&game=">$post[field5]</a></div></if>

Replace 'field5' and field5 with your field number, and "YOUR HLSTATS SERVER" with the ROOT address
smile.gif



have fun!
 
Back
Top