The function bp_activity_record will be deprecated in BP v1.1. In its place, a new function has been created: bp_activity_add().
Before you spend time coding a plugin that will not work with v1.1, I suggest visiting Trac and seeing how the new function works. In fact, there has been quite an extensive re-write of the activity stream codebase, so there could be a number of changes that you need to bone up on.
Thanks Jeff,
I will check out the Trac!
4188419
15 years, 2 months ago
I’m trying to integrate BP with an existing plugin I had created for WP, which uses a different form to create comments. Following the bp-example functions I believe I need to use the function bp_activity_record.
If that is the correct function, then my question is what should I pass for the $item_id, $secondary_item_id and $secondary_user_id? My thoughts are perhaps the comment ID or post ID. Any help would be very much appreciated.