[buddypress-trac] [BuddyPress] #3460: Support custom post types in activity stream

buddypress-trac noreply at wordpress.org
Mon Nov 25 17:29:31 UTC 2013

#3460: Support custom post types in activity stream
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  enhancement   |      Status:  new
 Priority:  low           |   Milestone:  Future Release
Component:  Activity      |     Version:  1.2.8
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |

Comment (by imath):

 Replying to [comment:48 bartom34]:
 > @iMath: I want to integrate a custom post type called "beer" in my
 activity stream.
 > Do you advice me to follow your 3460.2.diff patch integrate it ?
 Hi @bartom34,

 @trishasalas is right. If your goal is to use this diff on a live website.
 I strongly advise you to avoid using it, because
 1/ It's still work in progress
 2/ It may not be the best solution

 If your goal is to test this on a local dev site in order to contribute to
 the subject, then you can try it. But it will only work for built in
 WordPress post type such as the page one or post types that are hooking
 init at a priority under 10. To make sure all post type are "catched", you
 will need to edit the core file bp-core-actions.php to change the priority
 of the bp_init hook  for this one :
 {{{add_action( 'init', 'bp_init', 11 );}}}
 But doing so,  checking  that changing this priority has no impact on all
 the BuddyPress features is needed.

 Again don't use it on a live website and follow @trishasalas advices

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3460#comment:50>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list