XBOX Live Gamercard Mod Request

Started by e03179, November 04, 2005, 09:25:35 AM

Previous topic - Next topic

e03179

Requesting a mod to put a person's XBOX Live Gamercard underneath their profile as implemented on this forum:

http://www.xboxusersgroup.com/forums/showthread.php?t=47593 [nofollow]

XBOX recommends using this to embed it on websites: http://www.xbox.com/en-US/MyXbox/embedgamercard.htm [nofollow]

or a PHP script if you really want to get silly:  http://forums.xbox.com/66356/ShowPost.aspx [nofollow]

My gamercard:  http://gamercard.xbox.com/EA.card [nofollow]

Looks like forum users will need a way to input XBOX Live gamertag.  Database will need a way to store it.  Mod will need a way to modify template, check if user has entered a Gamertag, then print out the iframe as XBOX.com [nofollow] suggest. 
HALO2 PC.org [nofollow]
[nofollow]

weekend camper

#1
an ugly hack that works for my small clan SMF board:

in Themes/yours/Display.template.php (around line 310 of my RC+ CVS file - yours will likely be different, search on "gender" and that will get you close)

add this to wherever you want the GC


// show the specified users' XBox gamercard
if ($message['member']['id'] == "1")
{
echo '
<iframe src="http://gamercard.xbox.com/Major%20Nelson.card" scrolling="no" frameBorder="0" height="140" width="204">Major Nelson\'s Gamer card</iframe>
';
}




obviously, change the user id # and the gamer card info (used Major Nelson example to show that the space issue is tricky ... note the "\" at the last bit).

Sorry its not exactly what you want (with db control), but it may help someone else.


It breaks the heck out the user info table on my forums, so will likely change this to just a sig area add-on.

WC out.


@edit: just found that the sig area is in the same file (Display.template.php), around line 515 or so on mine)

Xarcell

I'd like to see this as well. I really don't think it would be hard. I prefer a overlib though. I could make one where it displays the card, but I wouldn't know how to mak eit so that it shows up when you click the Gamertag name like so:

http://news.teamxbox.com/xbox/9645/Share-Your-Xbox-Live-Gamer-Card-on-TeamXbox/

Demo:
http://forum.teamxbox.com/showthread.php?t=316916

GC

I know how to do this. It's gona be kindaq messy though. It would requir the user to enter there gamer card ID in there profile. I will do this. Just give me time, i'm about to head out to my hockey game. It's pretty basic. I shall do it. Just hold on a bit. ok? Contact me if you want anymore features with it. The things I got planned are the following:
In profile
In posts

msn: [email protected]
aim: afrog2abumm
e-mail: [email protected]

GC

By the way:

File /files/6959181/gamercard.zip.html has been deleted.
Reason: Deleted by uploader.

GC

I've finished the mod. The tag does not fit under the avarat, so i allowed the scroll bars in there. If you have a beter place to put it, tell me. It also shows up int he profile. Users do not need to put %20 for spaces, and to enter your id, just put in the name.
Example: Major Nelson
Not: Major Nelson.card
not: Major%20Nelson.card

Download: http://www.glitcherscorner.com/files/Xbox%20Live%20Gamer%20Tag.zip

This works perfectly fine on my site, for an example, view www.glitcherscorner.com/forums.
This is now being submitted to the mod area.

scoobyx

Using  SMF 1.0.5. , I downloaded the mod and logged into packet manager applied the mod and was returned with the following error

1.     Execute Modification     -     Modification parse error

I then proceeded with the installation and returned a second error

An Error Has Occurred!
2: opendir(/home/mature/public_html/forum/Packages/temp/images) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
File: /home/mature/public_html/forum/Sources/Subs-Package.php
Line: 949

any ideas please

Thanks

Scoobyx

GC

This is for RC1, and another version for RC2 still needs to be approved in the mod section. I never did one for 1.0.5 because it was lagging up the slq stuff. Or for me it was :S

Astondb5

Would it be possible to turn this Mod into a button on the side that would toggle the card on/off I have seen it on another site but it wasn't an SMF forum  

Astondb5

after some research it looks like the avatar is flipped using javascript.    can we do this in smf?


<a href="javascript:flip_userbox('474557');"><img src="images/misc/xblbutton.gif" border="0" alt="Username" /></a>

Advertisement: