Tag Archives: Code Sample

Hijacking WordPress Internationalisation

As part of a new feature I am developing for the next release of my Welcome Pack plugin for BuddyPress, I needed a really smart way of dynamically adding my own translations for strings at page-load time; creating a stand-alone … Continue reading

Posted in BuddyPress, Featured | Tagged , | 3 Comments

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

Posted in BuddyPress, Plugins | Tagged , | Leave a comment

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 … Continue reading

Posted in BuddyPress | Tagged , , , | Leave a comment