PDA

View Full Version : Xfire in Profile and Posbit/Postbit_Legacy


Twilkey
01 Mar 2007, 07:34
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:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]

Right after $post[skypeicon] add a space and add this:
<if condition="$post[field7]"><A HREF="http://www.xfire.com/"><img src="http://www.domain.com/forum/image_name.png" border="0" alt="Xfire $post[field7]"></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.

prowarfare
01 Mar 2007, 13:38
Didnt work for me. I added new profile field named it 7 then added code into postbit legecy and made it so it was how it was supposed to be but when i go to forums i don't see it. (i already added my xfire name into my profile)

Yvgeniy
01 Mar 2007, 18:11
Thanks a lot for the mod! I was wondering, however, is there any way to place the custom profile field in with the rest of the Messaging applications? I mean, there's even a free space at the bottom right where it would fit in quite nicely. Also, concerning the blue link... Is there a way to have it open up that small window that gives you the information the way it does for AIM and other default applications on vB?

Hollanda
03 Apr 2007, 13:42
Nice hack! Is it possible that the link go directly to the profile field?

silencerdeluxe
18 May 2007, 10:57
Nice Hack!

To get the Profile-Site of each User, when clicking on the xfire-icon, change the link to this:

http://www.xfire.com/profile/$[field7]

(sry for my bad english) :o

nickster
19 May 2007, 02:23
Wrong. Change the link to this:

http://www.xfire.com/profile/$post[fieldX]"

X = Whatever your profile field number is! :)

davewolf
24 Nov 2007, 00:21
Just

http://www.xfire.com/profile/

works :)