Skip to:
Content
Pages
Categories
Search
Top
Bottom
Codex Home

Moderate Activity Streams

Published on November 9th, 2014 by @mercime

BuddyPress provides admin dashboard panels to help you manage all the different activities throughout the site, similar to the way you manage comments and other content. This screen is customizable in the same ways as other management screens, and you can act on activities using the on-hover action links or the Bulk Actions. There are […]

Add custom filters to loops and enjoy them within your plugin

Published on December 3rd, 2013 by Mathieu Viet

BuddyPress 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 […]

bp_activity_add()

Published on September 29th, 2013 by Boone Gorges

bp_activity_add() is used to insert new activity items into the database. Usage Parameters $args An array that describes the activity item that you’re creating. Possible values: ‘id’ (optional) Pass a numerical id to update an existing activity item ‘action’ An HTML string summarizing the activity item, which is used by the template when displaying the […]

Activity Streams

Published on May 7th, 2013 by @mercime

Activity streams aggregate all of your activities across a BuddyPress installation. Enabled BuddyPress components make use of the activity stream component, which means any sort of activity can be recorded. Blogs posts, new friendships and blog comments are among the most popular activities recorded. Furthermore, custom components can also hook into the activity streams, meaning […]

Posting Activity from Plugins

Published on March 1st, 2013 by Mathieu Viet

bp_activity_add() This function was introduced in BuddyPress 1.1, it’s located in /bp-activity/bp-activity-functions.php at line 997 (version 1.7-beta1). It needs an array of arguments and returns the activity id once created by the method BP_Activity_Activity::save() BuddyPress uses some aliases to call this function from its different components as detailed in this chart : Functions Components Types […]

Activity Loop

Published on April 28th, 2009 by Andy Peatling

The activity loop can be used to output a list of sitewide, member or member’s friends activity. Standard Loop Accepted Parameters The bp_has_activities() function will accept a number of parameters that will manipulate the data being returned. scope optional Pre-defined filtering of the activity stream. Show only activity for the scope you pass (based on […]

Skip to toolbar