<?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; Plugins</title> <atom:link href="http://www.peterjharrison.me/category/plugins/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>Category Ajax Chain Select &#8211; Re-written from scratch  : WordPress Plugin</title><link>http://www.peterjharrison.me/2011/11/category-ajax-chain-select-re-written-from-scratch-wordpress-plugin/</link> <comments>http://www.peterjharrison.me/2011/11/category-ajax-chain-select-re-written-from-scratch-wordpress-plugin/#comments</comments> <pubDate>Wed, 30 Nov 2011 00:30:14 +0000</pubDate> <dc:creator>Peter J Harrison</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Ajax]]></category> <category><![CDATA[Chain Select]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress Plugin]]></category> <guid
isPermaLink="false">http://www.peterjharrison.me/?p=503</guid> <description><![CDATA[So after over 2 years I have finally got around to updating this plugin. I was going to add the new features that people had asked to the previous version but as it was my first plugin it was very unstable. Instead I have re-written it from scratch and I believe made it more stable, [...]]]></description> <content:encoded><![CDATA[<p>So after over 2 years I have finally got around to updating this plugin. I was going to add the new features that people had asked to the previous version but as it was my first plugin it was very unstable. Instead I have re-written it from scratch and I believe made it more stable, faster and more customisable than before.</p><p>A number of new features have been added including customisable labels and titles, post counts, excluding taxonomies and support for custom taxonomies.</p><p><span
id="more-503"></span></p><h3>Usage</h3><pre>&lt;?php chainselect_getcategories( $tax, $level, $titles, $labels, $btn_text, $exclude, $count ) ?&gt;</pre><h3>Parameters</h3><pre>$tax</pre><p><em>(string)</em> <em>(optional)</em> The taxonomies to retrieve terms from. Default: <em>Category</em></p><pre>$level</pre><p><em>(integer)</em> <em>(optional)</em> The amount of levels of child terms to return. Default: <em>1</em></p><pre>$titles</pre><p><em>(array)</em> <em>(optional)</em> Titles for the first select option in each level &#8211; Must be the same number of array elements as $level. Default: <em>array(&#8216;Please select&#8230;&#8217;)</em></p><pre>$labels</pre><p><em>(array)</em> <em>(optional)</em> Labels for each select element &#8211; Leave blank for no labels. Default: <em><em>&#8221;</em></em></p><pre>$btn_text</pre><p><em>(string)</em> <em>(optional)</em> Text for submit button. Default: <em>&#8216;Submit&#8217;</em></p><pre>$exclude</pre><p><em>(string)</em> <em>(optional)</em> Exclude taxonomies by id &#8211; comma seperated string of id&#8217;s. Default: <em>&#8221;</em></p><pre>$count</pre><p><em>(integer)</em> <em>(optional)</em> Show count of posts for each term. Default: <em>1</em></p><h3>Examples</h3><p>Show 3 levels of terms with custom labels and titles.<br
/> <strong>Syntax:</strong></p><pre>&lt;?php chainselect_getcategories( 'category', 3, array('Select Country', 'Select County', 'Select Town'), array('Country', 'County', 'Town') ) ?&gt;</pre><p>Show 2 levels of custom terms with custom titles and no term count and excluding terms 6 and 9.<br
/> <strong>Syntax:</strong></p><pre>&lt;?php chainselect_getcategories( 'location', 2, array('Select Country', 'Select City'), '', '', '6,9', 0 ) ?&gt;</pre><h3>Details</h3><p>Important information if you are upgrading from an old version of this plugin, <strong>DON&#8217;T!</strong></p><p>I can&#8217;t stress enough that this plugin has been re-written from scratch and is in no way backwards compatible, so please delete the old version of the plugin before installing the new one.</p><h3>Download</h3><p>The new version is now available over on WordPress. Download <a
title="Download Category  Ajax Chain Selects" href="http://wordpress.org/extend/plugins/category-ajax-chain-selects/" target="_blank">Category Ajax Chain Selects</a> now.</p> ]]></content:encoded> <wfw:commentRss>http://www.peterjharrison.me/2011/11/category-ajax-chain-select-re-written-from-scratch-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>38</slash:comments> </item> <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> <item><title>Category Ajax Chain Select : WordPress Plugin</title><link>http://www.peterjharrison.me/2009/08/category-ajax-chain-select-wordpress-plugin/</link> <comments>http://www.peterjharrison.me/2009/08/category-ajax-chain-select-wordpress-plugin/#comments</comments> <pubDate>Wed, 19 Aug 2009 22:45:38 +0000</pubDate> <dc:creator>Peter J Harrison</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Ajax]]></category> <category><![CDATA[Category]]></category> <category><![CDATA[Chain Select]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[WordPress]]></category> <guid
isPermaLink="false">http://www.peterjharrison.me/?p=164</guid> <description><![CDATA[After working with WordPress for about 4 years now, I have finally got around to developing my very first WordPress plugin. Category Ajax Chain Select plugin does pretty much exactly what it says, it creates a chain select based off the category hierarchy in your WordPress install. PLEASE NOTE THERE IS A NEW VERISON OF [...]]]></description> <content:encoded><![CDATA[<p>After working with WordPress for about 4 years now, I have finally got around to developing my very first WordPress plugin. Category Ajax Chain Select plugin does pretty much exactly what it says, it creates a chain select based off the category hierarchy in your WordPress install.</p><p><span
class="note">PLEASE NOTE THERE IS A NEW VERISON OF THIS PLUGIN, PLEASE SEE <a
title="Category Ajax Chain Select – Re-written from scratch  : WordPress Plugin" href="http://www.peterjharrison.me/2011/11/category-ajax-chain-select-re-written-from-scratch-wordpress-plugin/">Category Ajax Chain Select – Re-written from scratch : WordPress Plugin</a></span></p><p><span
id="more-164"></span></p><p>This plugin came about because I couldn&#8217;t find a plugin that already had this functionality for WordPress, so I created a simple plugin to get me going. At present it is very basic; using a template tag below, you can place the chain selects any-where on the your page template, and then style it using CSS.</p><pre>chainselect_getcategories();</pre><p>The plugin also has the ability to pass the category level through, for example if you wanted 3 categories visible, you could use the template tag as (by default it will always show 2 category levels if no value is passed):</p><pre>chainselect_getcategories(3);</pre><p>I will continue to work on this plugin over time and add new features such as page codes, so that you can add the select boxes straight into your posts &amp; pages. In the meantime, if there are any plugin developers out there that would like to help me develop this plugin, I&#8217;d love to hear from you.</p><p><span
class="note">PLEASE NOTE THERE IS A NEW VERISON OF THIS PLUGIN, PLEASE SEE <a
title="Category Ajax Chain Select – Re-written from scratch  : WordPress Plugin" href="http://www.peterjharrison.me/2011/11/category-ajax-chain-select-re-written-from-scratch-wordpress-plugin/">Category Ajax Chain Select – Re-written from scratch : WordPress Plugin</a></span></p> ]]></content:encoded> <wfw:commentRss>http://www.peterjharrison.me/2009/08/category-ajax-chain-select-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> </channel> </rss>
