Xbox 360 Gamercard in Postbit Legacy.

EnigmaImpact

New Member
I'm not positive that this hasn't been posted before but I looked and didn't find it.

An example of what we will be doing is attached to this thread.

Changes:
1 Template Modification (postbit_legacy)
1 Profile Field Added

Part 1:

First:
Create a new Single-Line Text Box profile field called "Xbox Live Gamertag:" (or whatever you want it to be) and make the description "If you have one, please put you Xbox Live Gamertag here." (or whatever you want it to be). Now make the field length 25 and the maximum user input something above 16, now change everything else to what you want.

Important: Take note of the profile field id, you will need it later.

Part 2:

Go to your templates in the style you want this to show up in and find "postbit_legacy" and edit it.

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

Add Below:
Code:
<if condition="$post[fieldX]">
	<div>			
	<iframe src="http://gamercard.xbox.com/$post[fieldX].card" frameborder="0" height="140" scrolling="no" width="204">$post[fieldX]</iframe>	
	</div>
</if>

Replace the "X" in "fieldX" with the profile field id of the gamertag input field.

Part 3:
Enjoy!
 
why cant i see the code man? This sucks i wanted to install this now.. it says only REGISTERED USERS CAN VIEW THIS..im a reigstered user man
 
Back
Top