Updates from December, 2009 Toggle Comment Threads | Keyboard Shortcuts

  • Paul Gibbs 3:33 pm on December 18, 2009 Permalink | Reply
    Tags:   

    BuddyPress in 2009 & nitpicks to improve in 2010 

    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 be released early next year – you can test-drive it at http://testbp.org/.

    Between my knowledge of BuddyPress, my contributions on the forums and my plugins, 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.

    As it nears Christmas and a new year full of promise and opportunity, I wanted to share my ideas for future improvements.
    (More …)

     
    • 1stAngel 5:41 pm on January 7, 2010 Permalink | Reply

      Completely agree with nearly all your comments about what is needed. The help file especially would be fantastic.

      I would love to allow Facebook members join the blog but its just not really possible at present. Apart from the fact there is nothing to allow it, I have to use a stupid invitation code on the site to stop sploggers. As soon as I remove it and open registration I am inundated with them. If anyone could help there it would be something I am sure most of us would pay a small amount for. I know I would!

      • DJPaul 12:59 pm on January 17, 2010 Permalink | Reply

        Thanks for leaving a comment 1stAngel, I agree about WPMU having problems with spammers signing up. It’s a tricky problem.

  • Paul Gibbs 8:29 am on September 19, 2009 Permalink | Reply
    Tags:   

    30 Things About My Invisible Illness 

    Apparently there’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 “illness”. So, with some of the answers copied from Kerri’s list (because they are true), here we go:

    1. The illness I live with is: type 1 Diabetes.
    2. I was diagnosed with it in the year: 1997.
    3. But I had symptoms since: I don’t know. I went into hospital on a Saturday with a blood glucose of ~44mmol/l.
    4. The biggest adjustment I’ve had to make is: every little day-to-day, moment-to-moment change.
    5. Most people assume: that they know everything about Diabetes.
    6. The hardest part about mornings are: when they start out of range.
    7. My favorite medical TV show is: I don’t watch TV.
    8. A gadget I couldn’t live without is: my glucose meter.
    9. The hardest part about nights are: having low blood sugars in the middle of them.
    10. Each day I take 2 pills & vitamins: Only insulin, nothing else (touch wood). (More …)
     
    • TheFatherMind 8:44 am on September 19, 2009 Permalink | Reply

      You are not alone. We are all behind you man! And just as soon as the shooting is over we will come out.

    • DJPaul 12:55 pm on September 20, 2009 Permalink | Reply

      Cheers mate

    • Arabica 12:16 am on October 1, 2009 Permalink | Reply

      You’ll never walk alone!
      I am a stranger to you but I do feel and understand what you’re talking about which is enough to not be alone.
      Take care :)

  • Paul Gibbs 9:05 am on September 8, 2009 Permalink | Reply
    Tags:   

    Six Little Habits: The Bad Ones. 

    Over at sixuntilme, Kerri’s listed six of her diabetes “bad habits.” I thought I’d share mine; I can’t do six, but here’s four:

    Not changing finger-stabber needle

    I’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 stabbers in which you rotate around after use. I’m not changing the drum daily – more like twice a week – but I’m working on it.

    Autopilot basal rates

    Since starting the pump about a year or so ago, it’s changed my life; it’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!

    Selective memory for glucose trends

    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’ve somehow missed. Probably linked to point 2 above. I ought to put some time aside every couple of weeks to adjust the basals.

    Bolus-Stacking

    Same as Kerri. For an explanation for those not in the know, see this post of Kerri’s from 2005.

     
  • Paul Gibbs 9:42 am on September 3, 2009 Permalink | Reply
    Tags: ,   

    SVN is now public 

    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/.

     
  • Paul Gibbs 10:53 am on July 25, 2009 Permalink | Reply
    Tags: , , Component, WPMU   

    Improving custom component installation 

    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 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 /wp-content/bp-themes/. This is an annoyance to site administrator, and it may end up being a frequent support request (“why is X not working?”).  This very first hurdle may even stop people trying out your component.

    Something else I’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’ve seen with recent versions of BuddyPress.

    For my upcoming “Achievements” plugin (think a cross between forum points and Xbox Live), I decided all that I wanted the site administrator to do would be to download it from the Plugins admin panel – no moving files into the member theme.

    So, I present to you my code: (06/01/10 – updated for BP 1.1.3+)

    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->current_component != $bp->your_component->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 . "/your_plugin/$template_name";
    
    		if ( file_exists( $template_path ) )
    			return $template_path;
    	}
    
    	return false;
    }
    add_filter( 'bp_located_template', 'yourcomponent_screen_filter_template', 10, 2 );
    

     
  • Paul Gibbs 6:39 am on June 7, 2009 Permalink | Reply  

    How appropriate. You fight like a cow. 

    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’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 (@pgibbs) directly; thanks.

     
    • Redcentaur 7:01 am on June 7, 2009 Permalink | Reply

      Good luck! You’ll be fine!
      I didn’t notice an RSS feed – you might like to look at introducing one as you get going.

    • Manoj 8:26 am on June 7, 2009 Permalink | Reply

      A very good site design :)

    • DJPaul 11:36 am on June 7, 2009 Permalink | Reply

      @Redcentaur – thanks! I’d forgotten to put those in; they should show up now.

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Follow

Get every new post delivered to your Inbox.