Version 2.0 is a major BuddyPress feature release that introduces several new Administrative features, a number of new APIs and a slew of “under the hood” enhancements that include significant gains in performance via caching and streamlined queries. For Version 2.0, the database version (_bp_db_version in wp_options) was 7892, and the Trac revision was 8279. […]
Version 2.0
Published on April 16th, 2014 by Trisha SalasBuddyPress Action Hook Sequence During Startup
Published on March 11th, 2014 by BrianWhen writing BuddyPress themes and plugins, it can be essential to know the sequence in which action hooks are invoked. The diagram below is especially useful during the site loading process, and will help you make better informed choices of actions to hook into for the loading and initialization of your plugin or theme. The […]
WordPress Blogs
Published on December 11th, 2013 by Ben HansenSome of the most powerful features of BuddyPress relate to how it enhances your multisite network. Creating a network allows your members to start their own full-powered public or private WordPress blogs. Members can track new posts and comments from public blogs across the network of sites as they are posted in the sitewide activity […]
Version 1.9
Published on December 11th, 2013 by r-a-yVersion 1.9 is a major BuddyPress feature release. BuddyPress 1.9 introduces many new features and enhancements, on top of lots of bugfixes. For Version 1.9, the database version (_bp_db_version in wp_options) was 7553, and the Trac revision was 7682. Read the full ticket log here here. Highlights The new Notifications component, which adds a Notifications […]
Add custom filters to loops and enjoy them within your plugin
Published on December 3rd, 2013 by Anonymous UserBuddyPress uses loops to display the content of its components. In this article you will focus on how to “rearrange” the content displayed in four of its major components : Members, Groups, Blogs and finally Activity. You will achieve this thanks to the type or action argument of the init functions of each of these […]
Playing with the user’s ID in different contexts
Published on November 23rd, 2013 by Anonymous UserBuddyPress Core is first taking care of the members. As a result, when you write a BuddyPress plugin, there is a very good chance that you’ve got to play with the finest element identifying the users : their ID. There are two scenarios: the logged in user and the user whose profile is displayed. Thankfully, […]
Enqueueing Scripts or Styles only when your plugin needs it
Published on November 17th, 2013 by Anonymous UserUsing Javascipt or CSS in BuddyPress plugins are interesting ways to take care of the user experience. I think, as a plugin author, you need to have two concerns : you might not be the only one to use Javascript, other plugins can be activated in the community website, your CSS rules might not get […]
Group Meta Queries: Usage Example
Published on November 4th, 2013 by Anonymous UserSince version 1.8, it is possible to filter groups by Metadata. For instance you can add a meta_query parameter to the bp_has_groups() function. To make this possible, BuddyPress uses a built-in WordPress class : WP_Meta_Query (you will find a link to its WordPress codex page at the bottom of this article). This feature can help […]
Modifying the Registration Form
Published on October 31st, 2013 by David CavinsOnce you’ve installed WordPress and BuddyPress, created WordPress pages for BuddyPress to use for Registration and Activation, and then enabled “Anyone can register” (under Settings > General > Membership), you’re ready to let users sign up for your new site. Tip: If you’re already logged in to your new site, visiting mysite.net/register will redirect you […]
Preventing Spammer Registration
Published on October 31st, 2013 by David CavinsSpammers and sploggers pose a serious risk to online communities. Without some protection in place, your fledgling community runs the risk of being overrun by spammers trying to sell fake Uggs and Oakleys. Since fake users can easily make up 98% of all new user account requests, it’s useful to have a game plan for […]