[buddypress-trac] [BuddyPress] #2559: custom post_type posts are not displayed in the activity stream

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Nov 6 21:09:15 UTC 2010


#2559: custom post_type  posts are not displayed in the activity stream
--------------------------+-------------------------------------------------
  Reporter:  sdboer       |       Owner:        
      Type:  enhancement  |      Status:  closed
  Priority:  normal       |   Milestone:  1.3   
 Component:  Activity     |     Version:        
Resolution:  wontfix      |    Keywords:        
--------------------------+-------------------------------------------------
Changes (by boonebgorges):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 I'm not sure how we'd support this in core. In order to record activity
 items, you have to have a customized piece of text for the action, like
 "%s posted a new blog post %s". There's no real place for that in
 register_post_type().

 When I build custom post types that I want to appear in the activity
 stream, I just build a little function that hooks to save_post and records
 a new activity item using something like bp_activity_add(). I don't think
 it's unreasonable to expect plugin authors to do this.

 In other words, anointed +1 :)

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2559#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list