Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Jan 2005, 13:04
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Xfire in profile

I would like the members on the board i run to show their xfire profile picture in their profile on our board, what i would like is a box where they can enter their xfire name and it will automaticly show their xfire profile pic on their profile on our board, is this possible?

Info about the profile picture can be found on xfire, though this explains all of it:


How do I access my Miniprofile?

To embed your miniprofile into any web page, use the following HTML: <a href="http://profile.xfire.com/USERNAME"> <img src="http://miniprofile.xfire.com/USERNAME.png" alt="USERNAME Xfire Miniprofile" border=0> </a>

To embed your miniprofile into a PHPBB signature (ie, in forums), use the following BBcode:

[url=http://profile.xfire.com/USERNAME][img]http://miniprofile.xfire.com/USERNAME.png[ img][ url]

In either case, replace USERNAME with your Xfire username (your original username with all lowercase letters and numbers, not your nickname). These sets of code will display your Xfire miniprofile, as well as link the image back to your Xfire profile so anyone can get your full Xfire information!


Ofcourse i removed the 2 /'s i nthe end tags so it would show the code and not the picture.
Reply With Quote
  #2  
Old 17 Jan 2005, 14:02
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Originally Posted by 1shot1kill
I would like the members on the board i run to show their xfire profile picture in their profile on our board, what i would like is a box where they can enter their xfire name and it will automaticly show their xfire profile pic on their profile on our board, is this possible?

Info about the profile picture can be found on xfire, though this explains all of it:


How do I access my Miniprofile?

To embed your miniprofile into any web page, use the following HTML: <a href="http://profile.xfire.com/USERNAME"> <img src="http://miniprofile.xfire.com/USERNAME.png" alt="USERNAME Xfire Miniprofile" border=0> </a>

To embed your miniprofile into a PHPBB signature (ie, in forums), use the following BBcode:

[url=http://profile.xfire.com/USERNAME][img]http://miniprofile.xfire.com/USERNAME.png[ img][ url]

In either case, replace USERNAME with your Xfire username (your original username with all lowercase letters and numbers, not your nickname). These sets of code will display your Xfire miniprofile, as well as link the image back to your Xfire profile so anyone can get your full Xfire information!


Ofcourse i removed the 2 /'s i nthe end tags so it would show the code and not the picture.
You can do that without modifying the code.

What you'll need to do is add a custom profile field named xfire username, and build that into your templates.
__________________
Reply With Quote
  #3  
Old 17 Jan 2005, 17:23
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Thanks, could you give me a quick explaination on how to do that?
Reply With Quote
  #4  
Old 18 Jan 2005, 18:08
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Bump.

Anybody got any instructions on how to go about doing this?
Reply With Quote
  #5  
Old 18 Jan 2005, 20:46
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
add a custom profile field.
note the fieldid

add into your postbit templates, wherever you want it to show:

<a href="http://profile.xfire.com/$post[fieldX]"><img src="http://miniprofile.xfire.com/$post[fieldX].png" /></a>
__________________
Reply With Quote
  #6  
Old 18 Jan 2005, 22:01
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Ok thanks, i'll try that.

Ok, i got it working, however when people do not enter their xfire name it shows a big red X in the profile page where the xfire picture would be. I know how to install mods and edit templates etc i'm just not very familiar with php, how would i make it so that the picture only shows up profiles of people that have entered their xfire name in the custom profle field i made and just doesn't show at all when people do not have that field entered? The field id for that profile field is 8.

Also is there a way to not show the custom field i made for anybody? I added the custom field and selected the option that will keep it private, but it still shows up for me as i am administrator, instead of the xfire name i would just want the xfire picture to show up.

On the picture you can see where i want it.

Last edited by 1shot1kill : 19 Jan 2005 at 00:18. Reason: Automerged Doublepost
Reply With Quote
  #7  
Old 21 Jan 2005, 16:28
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Would this be possible at all?
Reply With Quote
  #8  
Old 02 Feb 2005, 21:47
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Last attempt, anybody that could code this? I'm sure there are many more people running game sites that are interested in it.
Reply With Quote
  #9  
Old 18 Feb 2005, 01:34
syndicate's Avatar
syndicate syndicate is offline
 
Join Date: Feb 2005
done

http://www.vbulletin.org/forum/showthread.php?t=76533
Reply With Quote
  #10  
Old 21 Feb 2005, 04:48
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Real name: Daniel
That only puts in postbit, what you need to do to put in the profile is this, remember to replace fieldx with the field number you created for their xFire username:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Creed : 21 Feb 2005 at 04:51.
Reply With Quote
  #11  
Old 07 Mar 2005, 14:02
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Sorry, didn't see this before, thanks, seems to work like a charm.
Reply With Quote
  #12  
Old 15 Mar 2005, 19:13
Chief Corn Chief Corn is offline
 
Join Date: Nov 2002
on my site all i did was rename all phrases for yahoo with xfire, made the links point to http://profile.xfire.com/$userinfo[yahoo], and uploaded an xfire image over the im_yahoo.gif. a bit tedious but xfire users don't use yahoo...
Reply With Quote
  #13  
Old 23 Mar 2005, 23:11
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Eh, xfire did an update and there are 4 different miniprofiles now with 4 sizes each, is there a way to edit this so people can at least choose the style they want?
Reply With Quote
  #14  
Old 24 Mar 2005, 04:59
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Real name: Daniel
Gimmie a little bit and sure thing

In memberinfo template replace what you already have with this:
**NOTE** replace field14 with whatever field you have for your xFire username, and replace field18 with whatever field you have for your profile type!


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now create a new profile field:

Type: Single-Selection Menu
Title: xFire Profile Type
Description: Choose the type of profile you would like to display in your profile
Options:
Classic
Fantasy
Combat
SciFi

Set Default: Yes, but No First Blank Option
Field Required: No
Field Editable by User: Yes
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No

Allow User to input their own value for this option: No


Working fine for me

www.hdclan.org/forums/member.php?u=1

Last edited by Creed : 24 Mar 2005 at 05:24. Reason: Automerged Doublepost
Reply With Quote
  #15  
Old 27 Mar 2005, 13:31
1shot1kill 1shot1kill is offline
 
Join Date: Sep 2004
Thanks, works great.

Last edited by 1shot1kill : 27 Mar 2005 at 13:45.
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xfire in Profile and Posbit/Postbit_Legacy Twilkey vBulletin 3.6 Template Modifications 6 24 Nov 2007 01:21
Show your Xfire Profile with BB Code atlambros83 vBulletin 3.6 Add-ons 2 05 Nov 2007 09:45
xFire Profile Postbit Marky vBulletin 3.5 Template Modifications 8 20 Mar 2006 14:23

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 15:08.

Layout Options | Width: Wide Color: