Halo 3 Stats Button

Daz

New Member
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:

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


Under that paste:

PHP:
<!--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!
 
Top