<?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>Bring Your Own Terms Of Service</title> <atom:link href="http://byotos.com/feed/" rel="self" type="application/rss+xml" /><link>http://byotos.com</link> <description>Paul Gibbs — BuddyPress consultant and plugin developer</description> <lastBuildDate>Sun, 07 Feb 2010 15:39:53 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>How to get a list of BuddyPress&#8217; actions.</title><link>http://byotos.com/2010/02/how-to-get-a-list-of-buddypress-actions/</link> <comments>http://byotos.com/2010/02/how-to-get-a-list-of-buddypress-actions/#comments</comments> <pubDate>Sun, 07 Feb 2010 15:39:53 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[BuddyPress]]></category><guid
isPermaLink="false">http://byotos.com/?p=81</guid> <description><![CDATA[
As part of research for a new version of my Achievements plugin for BuddyPress, I need a list of all the BuddyPress action names.
For non-developers, actions are the hooks that WordPress &#38; BuddyPress  launches at specific points during execution, or when specific events occur. This allows plugin developers to hook into these events and [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2010%2F02%2Fhow-to-get-a-list-of-buddypress-actions%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2010%2F02%2Fhow-to-get-a-list-of-buddypress-actions%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p>As part of research for a new version of my <a
href="http://wordpress.org/extend/plugins/achievements/" rel="me">Achievements</a> plugin for <a
href="http://buddypress.org/">BuddyPress</a>, I need a list of all the BuddyPress action names.</p><p>For non-developers, actions are the hooks that WordPress &amp; BuddyPress  launches at specific points during execution, or when specific events occur. This allows plugin developers to hook into these events and do whatever they want.</p><p>It took me a while, but here&#8217;s how you can use the terminal (on Mac or Linux) to find all BuddyPress&#8217; actions.</p><pre class="brush: bash; gutter: false;">
grep -r -h &quot;do_action( '[aA0-zZ9+]*' )&quot; . | awk -F &quot;['']&quot; '{print $2}' | uniq
</pre>]]></content:encoded> <wfw:commentRss>http://byotos.com/2010/02/how-to-get-a-list-of-buddypress-actions/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Visualisation of mouse activity over two hours</title><link>http://byotos.com/2010/01/visualisation-of-mouse-activity-over-two-hours/</link> <comments>http://byotos.com/2010/01/visualisation-of-mouse-activity-over-two-hours/#comments</comments> <pubDate>Sat, 23 Jan 2010 16:46:34 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[Weird & Wonderful]]></category> <category><![CDATA[UI]]></category> <category><![CDATA[UX]]></category><guid
isPermaLink="false">http://byotos.com/?p=73</guid> <description><![CDATA[With thanks to the Calm Banana.
]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2010%2F01%2Fvisualisation-of-mouse-activity-over-two-hours%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2010%2F01%2Fvisualisation-of-mouse-activity-over-two-hours%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p><img
class="alignnone size-large wp-image-72" title="mouse path" src="http://byotos.com/wp-content/uploads/2010/01/mousePath-11_16_45.jpg" alt="Visualisation of mouse movement/activity over two hours" width="620" height="388" /></p><p>With thanks to the <a
rel="contact met" href="http://www.calmbanana.co.uk/2010/01/mouse-movements-designer-vs-developer/">Calm Banana</a>.</p> ]]></content:encoded> <wfw:commentRss>http://byotos.com/2010/01/visualisation-of-mouse-activity-over-two-hours/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Wpmu.org look at the Achievements plugin</title><link>http://byotos.com/2010/01/wpmu-org-look-at-the-achievements-plugin/</link> <comments>http://byotos.com/2010/01/wpmu-org-look-at-the-achievements-plugin/#comments</comments> <pubDate>Mon, 11 Jan 2010 19:04:10 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[BuddyPress]]></category> <category><![CDATA[Plugins]]></category> <category><![CDATA[Achievements]]></category><guid
isPermaLink="false">http://byotos.com/?p=69</guid> <description><![CDATA[
Sarah Gooding at wpmu.org has taken a look at my Achievements plugin for BuddyPress. I think it&#8217;s a great writeup and certainly has inspired me to carry on improving it. Take a look.
]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2010%2F01%2Fwpmu-org-look-at-the-achievements-plugin%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2010%2F01%2Fwpmu-org-look-at-the-achievements-plugin%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p><a
href="http://wpmu.org/author/pollyplummer/" rel="acquaintance">Sarah Gooding</a> at wpmu.org has taken a look at my Achievements plugin for BuddyPress. I think it&#8217;s a great writeup and certainly has inspired me to carry on improving it. <a
href="http://wpmu.org/get-your-users-interacting-with-the-buddypress-achievements-plugin/">Take a look</a>.</p> ]]></content:encoded> <wfw:commentRss>http://byotos.com/2010/01/wpmu-org-look-at-the-achievements-plugin/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>BuddyPress in 2009 &amp; nitpicks to improve in 2010</title><link>http://byotos.com/2009/12/buddypress-in-2009-nitpicks-to-improve-in-2010/</link> <comments>http://byotos.com/2009/12/buddypress-in-2009-nitpicks-to-improve-in-2010/#comments</comments> <pubDate>Fri, 18 Dec 2009 22:33:35 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[BuddyPress]]></category><guid
isPermaLink="false">http://metabiscuits.com/?p=38</guid> <description><![CDATA[
2009 has been a very important year for BuddyPress, from its 1.0 release in April, reaching a critical mass of contributing users, helpers and developers on the forums, third-party plugin and theme development, professional use and acceptance of BuddyPress and appearances at many WordCamp events throughout the world.  BuddyPress 1.2 is on course to [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2009%2F12%2Fbuddypress-in-2009-nitpicks-to-improve-in-2010%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2009%2F12%2Fbuddypress-in-2009-nitpicks-to-improve-in-2010%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p>2009 has been a very important year for BuddyPress, from its <a
href="http://buddypress.org/blog/news/buddypress-10-has-arrived/">1.0 release</a> in April, reaching a critical mass of contributing users, helpers and developers on the <a
href="http://buddypress.org/forums/">forums</a>, third-party <a
href="http://buddypress.org/extend/plugins/">plugin</a> and <a
href="http://buddypress.org/extend/themes">theme</a> development, <a
href="http://wordpress.org/showcase/flavor/buddypress/">professional use</a> and acceptance of BuddyPress and appearances at many <a
href="http://central.wordcamp.org/">WordCamp</a> events throughout the world.  BuddyPress 1.2 is on course to be released early next year &#8211; you can test-drive it at <a
href="http://testbp.org/">http://testbp.org/</a>.</p><p>Between my knowledge of BuddyPress, my contributions on the forums and <a
rel="me" href="http://profiles.wordpress.org/djpaul/">my plugins</a>, I have perhaps five or six plugin ideas or concepts at some stage of development.  Some of these may see the light of day at some point and some will not.</p><p>As it nears Christmas and a new year full of promise and opportunity, I wanted to share my ideas for future improvements.</p><ul><li>Search is currently special-cased for each of the built-in components.  There isn&#8217;t a central search page (like Google), though each component has its own appropriate search areas.  BuddyPress needs a central, extensible search page to show matches on all content on a site; you shouldn&#8217;t have to go to a specific page or use a drop-down box to find matches across the entire site.</li><li>BuddyPress needs OpenID like toast needs butter.  I was lucky enough to meet Will Norris in the BuddyPress IRC chatroom last night and chat a little about this with him.  Be sure to look at his <a
href="http://willnorris.com/2009/09/openid-and-wordpress-core">OpenID on WordPress</a> webpage.</li><li>BuddyPress likewise needs to embrace the Social Web; I&#8217;m working on <a
href="http://en.wikipedia.org/wiki/FOAF_(software)">FOAF</a> and <a
href="http://en.wikipedia.org/wiki/SIOC">SIOC</a> profiles for BuddyPress; happy to work with someone(s) on this.</li><li>BuddyPress needs better end-user documentation; by end-user, I mean site administrators.  I feel there is an expertise barrier at the moment, and it&#8217;s too high.  Screencasts would be a great way to &#8220;sell&#8221; the product to site administrators as well as showing how to use it.</li><li>Following on from the last point, I&#8217;d like the admin backend and the default theme to have a little help button.  When selected, you would get a modal window drop down over the page and it would concise instruction and guidance on how to use the current page; you could even tie in the screencasts so after you&#8217;ve read about it, you could watch it.</li><li>A fortnightly podcast discussion recent developments and recapping/reviewing forum discussion would rock.  Someone should do it.  I&#8217;m not entirely sure my awesome singing voice (<em>cough</em>) would carry it off, but maybe I&#8217;d be happy to give it a try with someone?</li><li>The <a
href="http://buddypress.org">BuddyPress homepage</a> needs to make better use of BuddyPress Groups.  At the minute, unless you <a
href="http://buddypress.org/groups">go looking for the groups</a>, they are invisible.  Refreshing the theme on the homepage would do this.</li></ul><p>Merry Christmas!</p> ]]></content:encoded> <wfw:commentRss>http://byotos.com/2009/12/buddypress-in-2009-nitpicks-to-improve-in-2010/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>30 Things About My Invisible Illness</title><link>http://byotos.com/2009/09/30-things-about-my-invisible-illness/</link> <comments>http://byotos.com/2009/09/30-things-about-my-invisible-illness/#comments</comments> <pubDate>Sat, 19 Sep 2009 15:29:12 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[Diabetes]]></category><guid
isPermaLink="false">http://metabiscuits.com/?p=33</guid> <description><![CDATA[
Apparently there&#8217;s a bit of a trend amongst medical bloggers as part of Invisible Illness Week to make a list of 30 things to do with their &#8220;illness&#8221;.  So, with some of the answers copied from Kerri&#8217;s list (because they are true), here we go:The illness I live with is: type 1 Diabetes.
I was [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2009%2F09%2F30-things-about-my-invisible-illness%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2009%2F09%2F30-things-about-my-invisible-illness%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p>Apparently there&#8217;s a bit of a trend amongst medical bloggers as part of <a
href="http://invisibleillnessweek.com/">Invisible Illness Week</a> to make a list of 30 things to do with their &#8220;illness&#8221;.  So, with some of the answers copied from <a
href="http://sixuntilme.com/blog2/2009/09/30_things_about_my_invisible_i.html">Kerri&#8217;s list</a> (because they are true), here we go:</p><ol><li>The illness I live with is: type 1 Diabetes.</li><li>I was diagnosed with it in the year: 1997.</li><li>But I had symptoms since: I don&#8217;t know.  I went into hospital on a Saturday with a blood glucose of ~<a
href="http://en.wikipedia.org/wiki/Blood_sugar">44mmol/l</a>.</li><li>The biggest adjustment I&#8217;ve had to make is: every little day-to-day, moment-to-moment change.</li><li>Most people assume: that they know everything about Diabetes.</li><li>The hardest part about mornings are: when they start out of range.</li><li>My favorite medical TV show is: I don&#8217;t watch TV.</li><li>A gadget I couldn&#8217;t live without is: my glucose meter.</li><li>The hardest part about nights are: having low blood sugars in the middle of them.</li><li>Each day I take 2 pills &amp; vitamins: Only insulin, nothing else (touch wood).<span
id="more-33"></span></li><li>Regarding alternative treatments: Poppycock.</li><li>If I had to choose between an invisible illness or visible I would choose: Neither, thank you.</li><li>Regarding working and career: No problems, prejudice or people problems so far.</li><li>People would be surprised to know: that it&#8217;s not as easy as we make it look.  Sometimes it hurts in every way.</li><li>The hardest thing to accept about my new reality has been: that I have very little memory of the &#8220;old&#8221; reality.</li><li>Something I never thought I could do with my illness that I did was: Drive.  I now know that I can, but the diabetes still scares me too much to learn.</li><li>The commercials about my illness: We don&#8217;t have any in the UK.</li><li>Something I really miss doing since I was diagnosed is: I really have no idea.</li><li>It was really hard to have to give up: snacking!</li><li>A new hobby I have taken up since my diagnosis is: None.</li><li>If I could have one day of feeling normal again I would: be footloose and fancy-free.</li><li>My illness has taught me: That it&#8217;s always darkest just before the dawn.</li><li>One thing people say that gets under my skin is: &#8220;Are you allowed to eat that?&#8221;</li><li>But I love it when people: try to understand, be helpful and supportive.</li><li> My favorite motto, scripture, quote that gets me through tough times is: I don&#8217;t have one.</li><li> When someone is diagnosed I&#8217;d like to tell them: that they aren&#8217;t alone.  And they&#8217;ll be okay.</li><li>Something that has surprised me about living with an illness is: what you take for granted.</li><li>The nicest thing someone did for me when I wasn&#8217;t feeling well was: Help me.</li><li> I&#8217;m involved with Invisible Illness Week because: I saw this on <a
href="http://www.sixuntilme.com">Six Until Me</a>.</li><li>The fact that you read this list makes me feel: that I&#8217;m not alone.</li></ol> ]]></content:encoded> <wfw:commentRss>http://byotos.com/2009/09/30-things-about-my-invisible-illness/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Six Little Habits: The Bad Ones.</title><link>http://byotos.com/2009/09/six-little-habits-the-bad-ones/</link> <comments>http://byotos.com/2009/09/six-little-habits-the-bad-ones/#comments</comments> <pubDate>Tue, 08 Sep 2009 17:05:48 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[Diabetes]]></category><guid
isPermaLink="false">http://metabiscuits.com/?p=29</guid> <description><![CDATA[
Over at sixuntilme, Kerri&#8217;s listed six of her diabetes &#8220;bad habits.&#8221;  I thought I&#8217;d share mine; I can&#8217;t do six, but here&#8217;s four:
Not changing finger-stabber needle
I&#8217;m not quite leaving these until they are rusty, but not far from it!  I have recently switch to using the Accu-Chek Multiclix, which has a drum of [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2009%2F09%2Fsix-little-habits-the-bad-ones%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2009%2F09%2Fsix-little-habits-the-bad-ones%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p>Over at <a
href="http://sixuntilme.com/blog2/2009/09/six_little_habits.html">sixuntilme</a>, Kerri&#8217;s listed six of her diabetes &#8220;bad habits.&#8221;  I thought I&#8217;d share mine; I can&#8217;t do six, but here&#8217;s four:</p><h1>Not changing finger-stabber needle</h1><p>I&#8217;m not <em>quite</em> leaving these until they are rusty, but not far from it!  I have recently switch to using the <a
href="http://www.accu-chek.com/us/lancing-devices/multiclix.html">Accu-Chek Multiclix</a>, which has a drum of stabbers in which you rotate around after use.  I&#8217;m not changing the drum daily &#8211; more like twice a week &#8211; but I&#8217;m working on it.</p><h1>Autopilot basal rates</h1><p>Since starting the pump about a year or so ago, it&#8217;s changed my life; it&#8217;s wonderful.  However, there are times when I know I need to do a period of intensive testing so I can assess and make changes to basal rates.  In fact, I need to do that right now, but it feels too much like work so I keep putting it off.  Maybe later this week!</p><h1>Selective memory for glucose trends</h1><p>It has been known that when I visit my diabetes care team, I get very guilty and start making up all sorts of crazy excuses when they point out the very obvious which I&#8217;ve somehow missed.  Probably linked to point 2 above.  I ought to put some time aside every couple of weeks to adjust the basals.</p><h1>Bolus-Stacking</h1><p>Same as Kerri.  For an explanation for those not in the know, see <a
href="http://sixuntilme.blogspot.com/2005/10/rage-bolus-anyone.html">this post of Kerri&#8217;s from 2005</a>.</p> ]]></content:encoded> <wfw:commentRss>http://byotos.com/2009/09/six-little-habits-the-bad-ones/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SVN is now public</title><link>http://byotos.com/2009/09/svn-is-now-public/</link> <comments>http://byotos.com/2009/09/svn-is-now-public/#comments</comments> <pubDate>Thu, 03 Sep 2009 17:42:37 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[BuddyPress]]></category> <category><![CDATA[Plugins]]></category> <category><![CDATA[Code Sample]]></category><guid
isPermaLink="false">http://metabiscuits.com/?p=27</guid> <description><![CDATA[
I made my SVN repository public which I use for my BuddyPress plugins (Welcome Pack and Achievements).  It is at http://svn.dangerous-minds.com/djpaul/.
For example, to get the latest trunk (development) version of Achievements  — which requires BuddyPress trunk/1.1 — use http://svn.dangerous-minds.com/djpaul/achievements/trunk/.
]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2009%2F09%2Fsvn-is-now-public%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2009%2F09%2Fsvn-is-now-public%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p>I made my SVN repository public which I use for my BuddyPress plugins (<a
href="http://wordpress.org/extend/plugins/welcome-pack/">Welcome Pack</a> and <a
href="http://wordpress.org/extend/plugins/achievements/">Achievements</a>).  It is at http://svn.dangerous-minds.com/djpaul/.</p><p>For example, to get the latest trunk (development) version of Achievements  — which requires BuddyPress trunk/1.1 — use http://svn.dangerous-minds.com/djpaul/achievements/trunk/.</p> ]]></content:encoded> <wfw:commentRss>http://byotos.com/2009/09/svn-is-now-public/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Improving custom component installation</title><link>http://byotos.com/2009/07/improving-custom-component-installation/</link> <comments>http://byotos.com/2009/07/improving-custom-component-installation/#comments</comments> <pubDate>Sat, 25 Jul 2009 18:53:08 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[BuddyPress]]></category> <category><![CDATA[Code Sample]]></category> <category><![CDATA[Component]]></category> <category><![CDATA[WPMU]]></category><guid
isPermaLink="false">http://metabiscuits.com/?p=9</guid> <description><![CDATA[
When implementing a custom component in BuddyPress, you will often have additions for the member theme. Member themes live in their own folder, /wp-content/bp-themes/.
To render a member theme template, your component will call dpa_load_template() which takes an argument of the name of the template to load. The path is hardcoded to the /wp-content/bp-themes/ folder.
The problem [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2009%2F07%2Fimproving-custom-component-installation%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2009%2F07%2Fimproving-custom-component-installation%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p>When implementing a <a
href="http://codex.buddypress.org/how-to-guides/creating-a-custom-buddypress-component/">custom component</a> in <a
href="http://buddypress.org/">BuddyPress</a>, you will often have additions for the member theme. Member themes live in their own folder, <code>/wp-content/bp-themes/</code>.</p><p>To render a member theme template, your component will call <code>dpa_load_template()</code> which takes an argument of the name of the template to load. The path is hardcoded to the <code>/wp-content/bp-themes/</code> folder.</p><p>The problem with this is that after installation of a custom component, the site administrator will need to move the relevant member theme files (bundled with your component) into <code>/wp-content/bp-themes/</code>. This is an annoyance to site administrator, and it may end up being a frequent support request (&#8220;why is X not working?&#8221;).  This very first hurdle may even stop people trying out your component.</p><p>Something else I&#8217;ve seen is that when installing future updates, people may forget that they need to move the updated member theme files into place; this can cause incompatibility issues between versions of your software, something we&#8217;ve seen with recent versions of BuddyPress.</p><p>For my upcoming &#8220;Achievements&#8221; plugin (think a cross between forum points and <a
href="http://en.wikipedia.org/wiki/Xbox_Live">Xbox Live</a>), I decided all that I wanted the site administrator to do would be to download it from the Plugins admin panel &#8211; no moving files into the member theme.</p><p>So, I present to you my code: (06/01/10 &#8211; updated for BP 1.1.3+)</p><pre class="brush: php;">
bp_core_load_template( 'yourcomponent_theme_filename' );  // loads /plugins/your_plugin/filename.php

function yourcomponent_screen_filter_template( $located_template, $template_name ) {
	if ( !empty( $located_template ) )
		return $located_template;

	if ( $bp-&gt;current_component != $bp-&gt;your_component-&gt;slug )
		return false;

	if ( false !== strpos( $template_name[0], 'yourcomponent_theme_' ) ) {
		$prefix = strlen( 'yourcomponent_theme_' );
		$template_name = substr( $template_name[0], $prefix, strlen( $template_name[0] ) - $prefix );
		$template_path = WP_PLUGIN_DIR . &quot;/your_plugin/$template_name&quot;;

		if ( file_exists( $template_path ) )
			return $template_path;
	}

	return false;
}
add_filter( 'bp_located_template', 'yourcomponent_screen_filter_template', 10, 2 );
</pre>]]></content:encoded> <wfw:commentRss>http://byotos.com/2009/07/improving-custom-component-installation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How appropriate. You fight like a cow.</title><link>http://byotos.com/2009/06/how-appropriate-you-fight-like-a-cow/</link> <comments>http://byotos.com/2009/06/how-appropriate-you-fight-like-a-cow/#comments</comments> <pubDate>Sun, 07 Jun 2009 14:39:27 +0000</pubDate> <dc:creator>DJPaul</dc:creator> <category><![CDATA[Site]]></category><guid
isPermaLink="false">http://metabiscuits.com/?p=5</guid> <description><![CDATA[
Hello everyone, welcome to metabiscuits.com.  My name is Paul and this is my first blog which will cover topics around areas such as web design and development, Wordpress, PHP and HTML5, as well as projects I am working on.
I&#8217;m quite nervous about getting started here, so initially I am going to be aiming to post [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbyotos.com%2F2009%2F06%2Fhow-appropriate-you-fight-like-a-cow%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbyotos.com%2F2009%2F06%2Fhow-appropriate-you-fight-like-a-cow%2F&amp;source=pgibbs&amp;style=normal" height="61" width="50" /><br
/> </a></div><p>Hello everyone, welcome to metabiscuits.com.  My name is Paul and this is my first blog which will cover topics around areas such as web design and development, <a
href="http://www.wordpress.org">Wordpress</a>, PHP and HTML5, as well as projects I am working on.</p><p>I&#8217;m quite nervous about getting started here, so initially I am going to be aiming to post one blog a week whilst I find my feet.  You are welcome to leave comments on future articles as I post them, or to contact me on twitter (<a
href="http://twitter.com/pgibbs">@pgibbs</a>) directly; thanks.</p> ]]></content:encoded> <wfw:commentRss>http://byotos.com/2009/06/how-appropriate-you-fight-like-a-cow/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 5/12 queries in 0.020 seconds using disk

Served from: byotos.com @ 2010-03-14 12:06:53 -->