Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

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
  #2  
Old 01-25-2007, 02:01 PM
P.Jackson P.Jackson is offline
 
Join Date: Sep 2003
Location: Newcastle,Uk
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #3  
Old 02-20-2007, 10:52 AM
manofphat's Avatar
manofphat manofphat is offline
 
Join Date: Jan 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just what I was looking for dude! Good job & Thank you!
Reply With Quote
  #4  
Old 02-20-2007, 11:07 AM
JamesX4334 JamesX4334 is offline
 
Join Date: Jun 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, good little first mod :up:
Reply With Quote
  #5  
Old 03-15-2007, 08:43 AM
The Itchy One The Itchy One is offline
 
Join Date: Apr 2006
Location: Dundee, Uknighted Kingdom
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by P.Jackson View Post
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 ?
sorry for the bumping reply but yes it'll work with all 3.5.x and 3.6.x releases I'm working on a built-in HlstatsX ranking sheet for vbulletin so keep your eyes on this space!
Reply With Quote
  #6  
Old 03-31-2007, 02:22 PM
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you made any progress on that, as its something id be interested in.
Reply With Quote
  #7  
Old 05-28-2007, 09:23 PM
FSFwebmaster FSFwebmaster is offline
 
Join Date: Sep 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this thing work and what does it look like?
Reply With Quote
  #8  
Old 03-07-2008, 07:18 PM
k007 k007 is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i would also like to know.
Reply With Quote
  #9  
Old 03-08-2008, 11:26 PM
bostton1 bostton1 is offline
 
Join Date: Jun 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
I have my hlstatsx hosted, so I don't even know what my field number is.
Reply With Quote
  #10  
Old 03-09-2008, 07:43 PM
dannykilla's Avatar
dannykilla dannykilla is offline
 
Join Date: Jun 2007
Location: Manchester, UK
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the field number is the number of the field you have created in:

Admin CP -> User Profile Fields -> Add New User Profile Field
Reply With Quote
Reply

Thread Tools

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 06:04 AM.


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.04755 seconds
  • Memory Usage 2,287KB
  • 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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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