vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Xbox Live GamerTag details in Profile (https://vborg.vbsupport.ru/showthread.php?t=103457)

syrus.xl 12-20-2005 10:00 PM

Xbox Live GamerTag details in Profile
 
With the release of the Xbox 360 I thought this would look nice if you run a Xbox related forum. It takes the persons GamerTag card from Xbox.com and feeds the details of games played, icon selected and displays their GamerTag into their posts with links to their stats in games played.

Modifications:
1 extra Field
1 Template modification

Add New Field:
Go to AdminCP -> User Profile Fields -> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: Xbox GamerTag
Description: Please enter your GamerTag here.
Field Required: You can select here if you wish to have GamerTags required upon registration or not.
Click Save.

Note the field ID, which you will need in the template code.

Template Modification:
Go to AdminCP -> Styles & Templates -> Style Manager
Select the Style you wish to edit. In the dropdown menu select Edit Templates
Find Postbit Templates - edit either postbit or postbit_legacy

Find:
Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]
Add this below:
Code:

<!-- / Xbox Card Hack -->
<if condition="$post['field_XX']">
<iframe src="http://gamercard.xbox.com/$post[field_XX].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
</if>
<!-- / End Xbox Card Hack -->

When you create the new field make a note of the field ID you will need to substitute the _XX with the GamerTag field ID number.

Nearly finished... Now just Edit your Profile and enter your GamerTag! :)

Screenshot attached.

Tony G 12-22-2005 09:07 AM

Thanks for sharing your mod. Could you also attach your instructions in a .txt file? Thanks.

ggiersdorf 12-22-2005 12:25 PM

Question is the Gamertag show ALL the time or is the Field Clickable and expands?

syrus.xl 12-22-2005 01:49 PM

Quote:

Originally Posted by ggiersdorf
Question is the Gamertag show ALL the time or is the Field Clickable and expands?

The GamerTag card will show all the time with the settings I have listed. It uses an iframe to display the data which isn't collapsible.

XFSImperial 12-23-2005 07:10 PM

Thanks, this will be quite handy
*Install*

PJSkiboy 12-29-2005 05:44 AM

Awesome. Thanks for the code. I had been trying to do this on my own, but wasn't getting the syntax just right.

Thanks a bunch.

ChaoticMunky 12-29-2005 11:33 PM

Okay, I'm having problems with this hack. With the help of one of my other Administrators, we were able to get the gamercard to display properly. The problem is, now when you go to click a poster's forum name (not their gamertag), it doesn't do the drop down menu anymore so you can view their profile or any of that. I'm using vBulletin 3.56.2.

Anyone know how to solve this? If you want to view what it's doing, I left it up on my forums.

GamerJunk.net 01-01-2006 09:00 PM

I wanna find a way to display online status for xbox live.

Wired1 01-01-2006 09:18 PM

Quote:

Originally Posted by RasMasta
I wanna find a way to display online status for xbox live.

Unless Microsoft releases that info on their site, you can't do it.

syrus.xl 01-01-2006 09:31 PM

That information is only available if you are registered and signed in to Xbox.com - so at the moment 'Wired1' is correct. It would need to be made publically available.

xug 01-14-2006 06:41 PM

What A Rip :D

Look what is posted at Movember 1, 2005 by my admin which we had running first of all Xbox Fan Sites:

https://vborg.vbsupport.ru/showthrea...threadid=99867

Just plain cheap!!

Wrote Gamertag 'XxH1TM4N FU51ON' down future reference.

Tony G 01-15-2006 12:23 AM

I have to agree with xug, this mod seems to be exactly what the mod xug linked to does, even with similar code.

I won't close this yet but if you can give me a reason how this differs enough from the other mod, I will leave it open.

syrus.xl 01-18-2006 07:52 PM

Quote:

Originally Posted by Tony G
I have to agree with xug, this mod seems to be exactly what the mod xug linked to does, even with similar code.

I won't close this yet but if you can give me a reason how this differs enough from the other mod, I will leave it open.

Sorry I didn't see that thread when I did a search on here. I seen the mod first on an Invision Board, so I thought I'd make one for vBulletin.

The actual code is only slightly different because a majority of the iframe code is on xbox.com for anyone to use. TBH, I'm more into ActionScripting in Flash and PHP.

xug: That gamertag is my son's - I don't play on Xbox Live!

Again sorry for any confusion!

curry684 02-13-2006 11:45 AM

Actually this thread has better Google PageRank than the other one ;)

Implemented a simple derived version at http://forum.xboxic.com :)

xug 03-18-2006 08:45 PM

/\ Look we are all posting here, and a better ranking doesn't make this ripoff legal.

But we are not that worried about it, it's just the idea and we moved on to our own live generated cards as XUG is member of the Xbox Community Development Program which gives us more oppertunities.

Enjoy your cards.

Oo Drizzle oO 06-21-2006 04:45 AM

what is the field ID number????

Wired1 06-23-2006 02:50 AM

Dude, read the instructions:

Quote:

Originally Posted by syrus.xl
Add New Field:
Go to AdminCP -> User Profile Fields -> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: Xbox GamerTag
Description: Please enter your GamerTag here.
Field Required: You can select here if you wish to have GamerTags required upon registration or not.
Click Save.

Note the field ID, which you will need in the template code.


Oo Drizzle oO 06-23-2006 12:11 PM

Dude it didnt give me no field ID or anything. Is there some ways somebody could take a screen shot because I really dont see it.

Wired1 06-23-2006 06:11 PM

Under USER PROFILE FIELDS there will be a view or edit fields option. When you see them in a table, there's a column for field ID.

east147 06-24-2006 07:56 AM

Anyone fancy coding this custom PHP script in:

http://www.consti.de/external/gamercard/

Skeoch 08-23-2006 07:43 AM

This doesnt work for me, could it be because im using 3.6.0?

east147 09-19-2006 09:03 AM

Looks like they have added a new viewing option for this in the User Profile Field called: Display Page in 3.6.XXX

Any one have a fix?

Minha 02-12-2007 06:10 PM

It works...but it's too big. Thx at all.

syrus.xl 02-12-2007 08:07 PM

Quote:

Originally Posted by east147 (Post 1078166)
Looks like they have added a new viewing option for this in the User Profile Field called: Display Page in 3.6.XXX

Any one have a fix?

Hi east147, What do you mean? I can convert this to work with 3.6 - I have done so on a few boards, but never released it on here.

I was going to re-design the css layout for the whole box, so its called in differently and has a custom display.

MP1 05-13-2007 09:08 AM

Great JOB! It works, it just dosnet work with my forum, if there was a way to make it smaller it would be fine but it is way to big.

kes 01-06-2008 09:59 AM

Ive got vB version 3.6.8

This mod is not working for me, ive changed the _xx to _5 but all its displaying is my xbox name, not the actual gamertag image ????

should the _xx be 5 ??? as this is the number ID for the gamertag, or should it be _05 ?
Ive installed it all in the correct places, still nothing

no matter - fixed it now

Kez

DNG 06-11-2009 12:51 PM

i have try this mod on ver. 3.8.2 but it didnt work :S

DNG 06-11-2009 10:24 PM

i have try this mod on ver. 3.8.2 but it didnt work

egclive 01-22-2010 07:29 PM

is this going to be available for vb 4x?

scottevtv 02-07-2010 03:30 AM

Nice I just used this. Thanks a lot. It's looks great on my site and everyone will love having the ability to see other members gamer cards. Nice work.

gimlot79 11-16-2010 03:28 PM

Is this Hack working for anyone who uses 3.8.6 ???

I did exactly what is described in the Installtext, but it won´t Work :-(
But the"Xbox Live Recent Games in Profile Tab" Hack works fine.....:-(

Mr. Flowers 01-17-2011 05:22 AM

Great stuff! Thanks!


All times are GMT. The time now is 01:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,780KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete