[buddypress-trac] [BuddyPress Trac] #6429: Activity Type API

buddypress-trac noreply at wordpress.org
Sat May 9 18:38:48 UTC 2015


#6429: Activity Type API
-------------------------+------------------------------
 Reporter:  modemlooper  |       Owner:
     Type:  idea         |      Status:  new
 Priority:  lowest       |   Milestone:  Awaiting Review
Component:  API          |     Version:  2.2.3
 Severity:  trivial      |  Resolution:
 Keywords:  2nd-opinion  |
-------------------------+------------------------------

Comment (by boonebgorges):

 We already have an activity API. Create activity items with
 `bp_activity_add()`, fetch with `bp_activity_get()`, register action
 format callbacks with `bp_activity_set_action()`, etc.

 Are you asking for a more centralized way to handle all these things? Can
 you give some examples of how it could be streamlined? Or are you asking
 for the registration of activity types to be part of component
 registration?

 >  In a way similar to the profile fields options you build in the admin.

 This suggests that what you're asking for is a UI, not an API. What would
 the UI look like? Having a UI suggests that it would be useful for site
 admins to define custom activity types without looking at code. What are
 some use cases for this?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6429#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list