How to attach custom activities to groups?
-
I have a custom post type,
my_cpt
.
I can make creations of posts of type my_cpt visible in activity feeds with this (in bp-custom.php):add_post_type_support( 'my_cpt', 'buddypress-activity' );
This does not make this type of activity available when creating a new activity. How can I make this happen, in the same way that I can select a group when creating a new activity?
Is it then possible to require more fields when adding this activity?If I have to write my own front-end submission form for an activity of the type
my_cpt
, how do I attach this user’s activity to a particular group?
- You must be logged in to reply to this topic.