Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
Halo 3 stats button in postbit Details »»
Halo 3 stats button in postbit
Version: 1.00, by Lag Lag is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 10-11-2007 Last Update: Never Installs: 6
Template Edits
Re-useable Code Additional Files  
No support by the author.

This provides a button similar to the AIM icon in the post bit.

Here is a forum with the mod on it.

Screenshot:




Install Instructions:


1. Upload the all files in the upload folder to your forum root.


2. Field Addition

- Go to your ACP.
- Click the User Profile Fields tab.
- Click Add New Profile Field
- Select the option for "Single-Line Text Box" and click Continue.
- Use the following information to fill in the options.
-- Title: Xbox Live Gamertag
-- Description: Your XBL Gamerrag
-- Max length of allowed user input: 15
-- Field Length: 25
-- Field Editable By User: Yes
- The rest of the fields really don't matter.
-When it asks for Display Order choose the next number in the order. Add it like fieldX, where x is the number.
- IMPORTANT: Remember your field number! It will say in your Profile Field Manager screen.


3. Edit postbit and postbit_legacy

Find:
Code:
<div class="postbit_icons">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]

Under that paste:
Code:
<!--Start Halo 3 Service-->
<if condition="$post[fieldX]"><a href="http://www.bungie.net/Stats/Halo3/Default.aspx?player=$post[fieldX]" target="_blank">
<img src="/forum/images/misc/bungie.gif" border="0" alt="View Halo 3 service record"></a>
</if>
<!--End Halo 3 Service-->
Where the X is thats the field NUMBER you had to remember, put it there, you should add it twice!


When it's finished your all done!! Thanks !
Click INSTALLED when done!


The credits for this goes to one of my Smods (TacoSavage) actually. He came up with the idea and made the entire hack. I'm just posting it for everyone else to use.

Show Your Support

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

Comments
  #2  
Old 10-21-2007, 05:40 PM
michael5472's Avatar
michael5472 michael5472 is offline
 
Join Date: Mar 2004
Location: South England
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved thanks
Reply With Quote
  #3  
Old 12-03-2007, 08:28 PM
pspcrazy pspcrazy is offline
 
Join Date: Apr 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked perfect thanks Lag!!
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 07:38 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.06954 seconds
  • Memory Usage 2,204KB
  • Queries Executed 16 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete