MyBB Community Forums

Full Version: Xbox Gamercard
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

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="" />
  <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="" style="text-decoration:none">
    <img src="" alt="Get Microsoft Silverlight" style="border-style:none" />

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

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

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

Nice Job.
Just to let you know, the Silverlight version does not work on Moonlight which Linux use.
I dont know what is this? Sory. Can you give me Screen Shoot
(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]