Feature #356
closedAttachment message for forum notifications
0%
Description
The old notification plugin was hacked to include a footer message about forum attachments. See https://github.com/castiron/cac/blob/v1.0.2/wp-content/plugins/bp-group-forum-subscription/bp-group-forum-subscription.php#L183. Port to new plugin.
Updated by Boone Gorges over 14 years ago
This is going to be very complicated. Attachments are saved on action groups_new_forum_topic. But groups_new_forum_topic is run just AFTER the activity item is created. So when the activity item is saved, and the activity notification is sent, the attachment isn't yet attached to the post.
I'll try to modify the attachment plugin to save the post earlier in the process.
Updated by Boone Gorges over 14 years ago
Well, it was complicated but I used my awesomeness to overcome that complication.
Fixed in https://github.com/castiron/cac/commit/a60619024ee80e8fa3dd20313d97caded26c9f49, https://github.com/castiron/cac/commit/046b88552136c6a08b50cfeca9fb355e7e203e6c
Updated by Boone Gorges over 14 years ago
- Status changed from Assigned to Resolved