Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Postbit: SteamID and Hlstats Rankings Details »»
Postbit: SteamID and Hlstats Rankings
Version: 1.00, by The Itchy One The Itchy One is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.2 Rating:
Released: 11-02-2006 Last Update: Never Installs: 14
Template Edits
 
No support by the author.

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>
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

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-09-2008, 07:57 PM
t55 t55 is offline
 
Join Date: Mar 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works fine although I changed mine to an icon instead of a text link. If you have hlstats or hlstatsx, this works for both.
Reply With Quote
  #13  
Old 03-09-2008, 08:22 PM
bostton1 bostton1 is offline
 
Join Date: Jun 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how did you change it to an icon instead?

thanks
Reply With Quote
  #14  
Old 03-09-2008, 08:58 PM
t55 t55 is offline
 
Join Date: Mar 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bostton1 View Post
how did you change it to an icon instead?


thanks
Code:
<if condition="$post['field8']"><a href="http://my_hlstatsx_link.com/?mode=search&q=$post[field8]&st=uniqueid&game=" target="_blank"><img src="http://image_link.com" border="0" alt="HLStatsX Ranking for $post[field8]"></a></if>

Replace "field8" with the field number that shows in the "User Profile Field Manager" under the "Name" column. Obviously make sure you created a new user profile field for Steam ID first.
Reply With Quote
  #15  
Old 03-10-2008, 06:49 AM
bostton1 bostton1 is offline
 
Join Date: Jun 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it worked great, thanks so much for your help.
Reply With Quote
  #16  
Old 06-16-2008, 03:19 AM
JVSacco JVSacco is offline
 
Join Date: Jun 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 3.7?
Reply With Quote
  #17  
Old 06-16-2008, 03:35 AM
bostton1 bostton1 is offline
 
Join Date: Jun 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don't believe so, i wish someone would update it.
Reply With Quote
  #18  
Old 06-29-2009, 09:43 AM
helltonic helltonic is offline
 
Join Date: Oct 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works for me and i'm using vBulletin 3.8.3
Reply With Quote
  #19  
Old 08-18-2009, 04:59 AM
Eldredd Eldredd is offline
 
Join Date: Aug 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works great for me in 3.8.4
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04347 seconds
  • Memory Usage 2,282KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete