[buddypress-trac] [BuddyPress] #5130: Synchronizing activity comments to main component

buddypress-trac noreply at wordpress.org
Mon Aug 5 07:31:40 UTC 2013

#5130: Synchronizing activity comments to main component
 Reporter:  r-a-y        |      Owner:  r-a-y
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  1.9
Component:  Core         |    Version:  1.2
 Severity:  normal       |   Keywords:
 For some historical context, see #1419.

 There are a couple of hurdles that need to be accomplished for this to

 '''1) Main component callback registration'''

 When extending the `BP_Component` class, we need to give plugin devs a
 place to register some callback methods.

 '''2) Two-way sync of activity comments'''

 For example, let's look at blog comments.

 1. If an activity comment is made, a corresponding item should be posted
 as a blog comment.  For comments, this should handle nested levels as

 2. Likewise if a blog comment is made, a corresponding item should be made
 as an activity comment under the parent `'new_blog_post'` activity item.
 Currently, when a blog comment is made, it is made as a separate activity

 3. Deletion should be handled in a similar manner.  In the case of blog
 comments, in WP, when a parent comment is deleted, the child comments are
 moved up a level, while BP simply deletes all activity children.
 Something to keep in mind!

 '''3) Moderation considerations'''

 With blog comments, we'll have to check WP's commenting settings such as
 checking if blog comments are closed after a certain period(
 `'close_comments_for_old_posts'` / `'close_comments_days_old'` )


 Attached patch covers a few of these points that I'll elaborate on in a
 follow-up reply.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5130>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list