The Arcive of vBulletin Modifications Site. |
|
Postbit: SteamID and Hlstats Rankings Details »»
|
|||||||||||||||||||||||||||
|
Postbit: SteamID and Hlstats Rankings
Developer Last Online: Aug 2007
Here is my First mod, it's a simple postbit change but i was "mega-chuffed" that it worked
![]() 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> 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 ![]() an example can be found here: http://lovepants.co.uk/forum/showthread.php?t=64 Click on the little Steam_ID hyperlink. have fun! Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Templates sorry for bumping very very old threads but this is a great addition and should be moved by a admin/mod
![]() Does this work with 3.6.4 ? |
|
#3
|
||||
|
||||
|
Just what I was looking for dude! Good job & Thank you!
|
|
#4
|
|||
|
|||
|
Thanks, good little first mod :up:
|
|
#5
|
|||
|
|||
|
Quote:
I'm working on a built-in HlstatsX ranking sheet for vbulletin so keep your eyes on this space!
|
|
#6
|
||||
|
||||
|
Have you made any progress on that, as its something id be interested in.
|
|
#7
|
|||
|
|||
|
does this thing work and what does it look like?
|
|
#8
|
|||
|
|||
|
yeah i would also like to know.
|
|
#9
|
|||
|
|||
|
I would install and test this out, but I can't figure out what this line means.
Code:
Replace 'field5' and field5 with your field number, and "YOUR HLSTATS SERVER" with the ROOT address |
|
#10
|
||||
|
||||
|
the field number is the number of the field you have created in:
Admin CP -> User Profile Fields -> Add New User Profile Field |
![]() |
|
|