[FILLED] Xfire Addon Stuff!

otcreborn

New Member
Ok im trying to figure out a way to completely integrate xfire with vBulletin. I have found a few mod that add some support, but im not sure if it adds in in the edit profile field under the Instant Messaging section. Anyways heres a few links.

xFire Status in Member Profile - vBulletin.org Forum

xFire Status in Postbit - vBulletin.org Forum

adding xfire - vBulletin.org Forum

The last link has lost of code that is blocked out, not only in the first post but several following. Can someone please help me out?
 
i've seen a number of calls for the addition of xfire to the postbit alongside the other four major IM services, and i wanted it myself.

result: a quick template hack. this will get you a nice little icon on that row in postbit, linking to the user's xfire profile (i couldn't find a send-message protocol).

step 1: go to admin panel, create a new one-line editable profile entry for the xfire username.

step 2: note the name of the field you've created (mine's field5, for example). i'll use fieldX in place of that value, you'll need to replace it with your own (in two places. lines 1 and 2 of my code)

step 3: open postbit (or postbit legacy, woo) template.

find:

HTML Code:
Code:
				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]after, add:
HTML Code:
Code:
<if condition="$post['fieldX']">
<a href="http://www.xfire.com/xf/modules.php?name=XFire&file=profile&uname=$userinfo[fieldX]" target="_blank"><img src="$stylevar[imgdir_misc]/im_xfire.png" alt="<phrase 1="$userinfo[username]">$vbphrase[view_xfire_profile]</phrase>" border="0" /></a>
</if>important note: make sure you add it before the following </div> tags.

i won't provide you with my image, because i'm hazy on copyright/trademark laws regarding that kind of thing... but you make your own by using the ICO plugin from vBTEAM Underground - Free vBulletin Hacks, Skins and Support and simply pulling the xfire program icon into photoshop.
name it im_xfire.png and upload it to forum/images/misc/

demo: i have this all installed on my own board, of course, at SyndiComms - Powered by vBulletin

comments, suggestions, improvements, optimizations, ... heck, anything you say is welcome. hope this helps somebody.
 
Back
Top