Xbox Gamercard
#1
This user has been denied support. This user has been denied support.
This is pretty much useless but I'm sure someone may find it useful in some way or other, and I'd also like to contribute to the MyBB community in any way possible.

Anyway, go to Admin CP > Config > MyCode and create a new MyCode.

For the regular expression, input the following
\[gamertag=(.*?)\]

And the replacement HTML would be
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="300" height="135">
  <param name="source" value="http://card.mygamercard.net/default.xap" />
  <param name="enableHtmlAccess" value="true" />
  <param name="enableGPUAcceleration" value="true" />
  <param name="minRuntimeVersion" value="3.0.40624.0" />
  <param name="autoUpgrade" value="true" />
  <param name="initParams" value="gamertag=$1,language=" />
  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
    <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none" />
  </a>
</object>

Or, for a simple one which doesn't require Microsoft Silverlight
<img src="http://card.mygamercard.net/$1.png" />

You'd use it by using the following MyCode
[gamertag=GamertagHere]
Replace 'GamertagHere' with the users Xbox Live Gamertag.

Thanks for reading.
Reply
#2
Cool, thanks for this share, I'll tell some of my friends about it who have Xbox Forums Smile

Nice Job.
Developer at Audentio Design Smile
[Image: premium_mybb_themes-500x100.png]
Reply
#3
This user has been denied support. This user has been denied support.
Just to let you know, the Silverlight version does not work on Moonlight which Linux use.
Reply
#4
I dont know what is this? Sory. Can you give me Screen Shoot
Just Ordinary my MyBB
Reply
#5
This user has been denied support. This user has been denied support.
(2010-10-18, 02:33 PM)Bumiayu Wrote: I dont know what is this? Sory. Can you give me Screen Shoot

Sure, here you go.

[Image: sncjyf.png]

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)