<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Peter J Harrison &#187; Xbox</title> <atom:link href="http://www.peterjharrison.me/tag/xbox/feed/" rel="self" type="application/rss+xml" /><link>http://www.peterjharrison.me</link> <description>Freelance PHP Web Developer, Designer &#38; WordPress Expert : London &#38; Shrewsbury</description> <lastBuildDate>Wed, 28 Dec 2011 14:01:37 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>My Xbox Profile : WordPress Plugin</title><link>http://www.peterjharrison.me/2010/01/my-xbox-profile-wordpress-plugin/</link> <comments>http://www.peterjharrison.me/2010/01/my-xbox-profile-wordpress-plugin/#comments</comments> <pubDate>Fri, 08 Jan 2010 21:47:59 +0000</pubDate> <dc:creator>Peter J Harrison</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[JQuery]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Xbox]]></category> <category><![CDATA[Xbox Gamercard]]></category> <category><![CDATA[Xbox Live]]></category> <guid
isPermaLink="false">http://www.peterjharrison.me/?p=195</guid> <description><![CDATA[This is a WordPress Plugin that I have been meaning to create for sometime now. After writing a similar application forthe previous website design I had I always wanted to create an Xbox Live Gamercard Plugin for WordPress for everyone to use. So, here is the first version of the plugin, it is quite simple, [...]]]></description> <content:encoded><![CDATA[<p>This is a WordPress Plugin that I have been meaning to create for sometime now. After writing a similar application forthe previous website design I had I always wanted to create an Xbox Live Gamercard Plugin for WordPress for everyone to use. So, here is the first version of the plugin, it is quite simple, using only a few options, but it&#8217;s best feature is that it is completely customisable using CSS.</p><p><span
id="more-195"></span></p><p
style="text-align: center;"><a
href="http://www.peterjharrison.me/wp-content/uploads/2010/01/levelledup_gamercard.jpg"><img
class="size-full wp-image-203 aligncenter" title="Levelledup Xbox 360 Gamercard" src="http://www.peterjharrison.me/wp-content/uploads/2010/01/levelledup_gamercard.jpg" alt="" width="216" height="162" /></a></p><p>To begin with, I have to say a huge thank you to <a
title="Duncan Mackenzie" href="http://duncanmackenzie.net/" target="_blank">Duncan Mackenzie</a> for providing the<a
title="Xbox Live Data Service" href="http://duncanmackenzie.net/blog/put-up-a-rest-api-for-xbox-gamertag-data/default.aspx" target="_blank"> Xbox Live Data Service</a> which powers the information in this plugin, because without his work this plugin wouldn&#8217;t have been possible.</p><p>There is a brief description on how this plugin works. As I meantioned above the plugin pulls in your Gamercard details from the <a
title="Xbox Live Data Service" href="http://duncanmackenzie.net/blog/put-up-a-rest-api-for-xbox-gamertag-data/default.aspx" target="_blank">Xbox Live Data Service</a> using the  PHP DOMDocument::load function. Then, using the DOMDocument::getElementsByTagName function it pulls in the separate pieces of information it requires.</p><p>Once I had all the Gamercard details, I created the new Gamercard using semantic HTML and styled it with a seperate CSS file.</p><p>Ok, so enough of all the techy stuff, let me talk you through how you can add this to your website.</p><h3>Installation</h3><ol><li>Login to your dashboard and under &#8216;Plugins&#8217; click &#8216;Add New&#8217;.</li><li>In the serach box type &#8216;My Xbox Profile&#8217; and then click &#8216;Search Plugins&#8217;.</li><li>Find the plugin in the list (it should be the first one) and click &#8216;install&#8217; on the right hand side.</li><li>When the lightbox window opens click the red &#8216;Install Now&#8217; button.</li><li>Once the installation has finished click &#8216;Activate Plugin&#8217; next to the &#8216;Actions&#8217; .</li></ol><h3>Changing Settings</h3><p>Once you have installed the plugin you should see a &#8216;My Xbox Profile&#8217; link under the &#8216;Settings&#8217; tab in your admin dashboard. If you click the link you should see the page below:</p><p
style="text-align: center;"><a
href="http://www.peterjharrison.me/wp-content/uploads/2010/01/myxboxprofile_admin.jpg"><img
class="size-medium wp-image-196 aligncenter" title="My Xbox Profile Admin Settings" src="http://www.peterjharrison.me/wp-content/uploads/2010/01/myxboxprofile_admin-300x131.jpg" alt="" width="300" height="131" /></a></p><p><strong>Gamertag Details: </strong>In this section you need to enter your current Xbox Live Gamertag into the box provided.</p><p><strong>Advanced Settings (Optional):</strong> There are currently a few additional settings that you can configure, I have listed them below.</p><ul><li>Show Recent Games &#8211; You have the ability to show or hide the &#8216;Recent Games&#8217; section on the Gamercard.</li><li>Recent Game Image Size &#8211; If you are displaying the &#8216;Recent Games&#8217; then you can have the images in 2 different font sizes. (<em>Please note if you are using the default stylesheet then this setting must be set to 32px</em>)</li><li>Use JQuery &#8211; I have added this setting to allow you to remove the JQuery files if you see them duplicated in the head section of your website.</li></ul><h3>Placing the Gamercard on Your Website</h3><p>There are two ways in which you can add Gamercard to your website;</p><p><strong>In Your Theme (Template Tag)</strong></p><p>You have the ability to add the Gamercard to any part of your theme by using the following code:</p><pre class="brush: php; title: ; notranslate">&lt;?php echo myxboxprofile(); ?&gt;</pre><p><strong>In Your Post/Page (Shortcode)</strong></p><p>If you don&#8217;t want to add it to your theme then you can add it to any post or page on your website using the shortcode below (without the spaces).</p><pre>[ myxboxprofile ]</pre><h3>Additional Customisation<strong> </strong></h3><p>Now that you have installed and configured the plugin you will need to customise the Gamercard to fit the style of your website.</p><p>Within the plugin folder, you will find a folder called &#8216;CSS&#8217; and in this folder you will find a file called &#8216;myxboxprofile.css&#8217;. This is the file that applies the design to your Gamercard once you have placed it on your website.</p><p>I have commented this file, so you are free to change the look and feel of your Gamercard to suit your own website.</p><h3>Conclusion</h3><p>I&#8217;m very pleased with this plugin and hopefully it will get a lot of use, primarilybecause it is extremely customisable from a design perspective. I am going to come back to this plugin and develop it further in the future, but I wanted to assess demand first.</p><p>I have a few ideas on the direction in which I would like to take this plugin, and here are a few of my ideas for the next version:</p><ul><li>Include the use of templates for different layouts of Gamercards;</li><li>The ability to create custom templates;</li><li>Utirlise more of the information in the Data Service.</li></ul><p>If you have any ideas of your own then please do let me know and I will add them to the feature list.</p><p>Hopefully I have explained everything you need to know about this plugin, but if not then please do leave a comment below.</p><h3>Download</h3><p>The download is now available from <a
title="My Xbox Profile WordPress Plugin" href="http://wordpress.org/extend/plugins/my-xbox-profile/" target="_blank">WordPress.org</a>, please feel free to give it a try.</p> ]]></content:encoded> <wfw:commentRss>http://www.peterjharrison.me/2010/01/my-xbox-profile-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>14</slash:comments> </item> </channel> </rss>
