[REQ] Xfire in Profile and Posbit/Postbit_Legacy

First off, you must make a profile field.
Do this by logging into your AdminCP and going to,
User Profile Fields > Add New User Profile Field
Fill out the info as needed. No specifics really.

Next you must edit your postbit or postbit_legacy template.
Again done in the AdminCP.
Styles & Templates > Style Manager > Edit Templates > postbit_legacy(or postbit)

In the template
FIND:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]

Right after $post[skypeicon] add a space and add this:
Code:
<if condition="$post[field[color=Red]7[/color]]"><A HREF="[color=RoyalBlue]http://www.xfire.com/[/color]"><img src="[color=SeaGreen]http://www.domain.com/forum/image_name.png[/color]" border="0" alt="Xfire $post[field[color=Red]7[/color]]"></if></a>

Change the red to the profile field number.
Change the green to the url of the image you plan to see on your postbit.
Change the blue to whatever you want the image to link to.

Screenshot is in attachments.

 
Back
Top