Greetings all!
I have a small request for people like me with XBOX 360 sites:
I would like to know if theres a way to extract info from the XBOX Live site and insert it in the fields, or at least show it in the profile.
If you go to this site:
consti.de/external/gamercard/javascript.html
You will se a very easy to use example:
If I use this code:
[code:1]
<script type="text/javascript" src="
www.consti.de/gamercard/gamercard.js?tag=Korpio
">
</script>
[/code:1]
This script will extract all data from the XBOX Live servers and place them in vars:
gamertagstyle - [silver/gold]
gamertile - (URL to the img of the tile)
gamerrep - (URL to the img of the rep)
gamerscore - (The score of tag)
gamerscore_img - (URL to the "score" img (the G))
gamerzone - (The zone of the tag)
gamertag - (The tag of the user)
game1 - Name of the last game played
game2 - Name of the 2th game played last
game3 - Name of the 3th game played last
game4 - Name of the 4th game played last
game5 - Name of the 5th game played last
these are the variables that can be printed using
[code:1]
<script>
document.write(variable);
</script>
[/code:1]
As an example:
[code:1]
<script type="text/javascript" src="
www.consti.de/gamercard/gamercard.js?tag=Korpio
">
</script>
My gamertag is
<script>
document.write(gamertag);
</script><br>
My Score is
<script>
document.write(gamerscore);
</script><br>
My Style is
<script>
document.write(gamertagstyle);
</script><br>
[/code:1]
It will be shown like this:
My gamertag is Korpio
My Score is 970
My Style is Gold
It would be great to have a plugin that retrieves data and stores it in CB Fields.