Opened 15 years ago
Closed 15 years ago
#877 closed defect (bug) (worksforme)
Can't find a bp action when a new group is created
Reported by: | burtadsit | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
This is in trunk bp. The closest I can find is the group object save method's actions of 'groups_group_before_save' and 'groups_group_after_save' but if I use the 'before' action it doesn't have a group id. If I use the 'after' action it has a group id but that doesn't tell me if it's a new group.
The fn groups_create_group() seems to be missing a do_action() call on new group creation.
Change History (3)
Note: See
TracTickets for help on using
tickets.
I also can't seem to find a groups_record_group() function that records the fact that a new group was created in sitewide activity. I guess I was looking for a fn similar to bp_blogs_record_blog().