2010-10-11, 10:26 AM
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
Or, for a simple one which doesn't require Microsoft Silverlight
You'd use it by using the following MyCode
Thanks for reading.
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.