Skip to:

comment activity record

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)

  • Jeff Sayre


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comment activity record’ is closed to new replies.
Skip to toolbar