[buddypress-trac] [BuddyPress] #4416: Activity Stream Comment Notifications in BP 1.6

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 8 23:22:05 UTC 2012


#4416: Activity Stream Comment Notifications in BP 1.6
--------------------------+------------------------------
 Reporter:  tmj31         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Activity      |     Version:  1.6
 Severity:  major         |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------

Comment (by sbrajesh):

 tmj31: Indeed Ray is right. The activity comment notification was never a
 part of BuddyPress.
 if you are using my plugin, I have just pushed an update on github which
 you can get from here.

 https://github.com/sbrajesh/bp-activity-comment-notifier

 The problem was caused by the addition of

 {{{
  if ( !bp_is_active( $component_name ) )
                         continue;
 }}}

 in line 107-108 of the bp-members-notifications.php.

 The bp_is_active checkes for the active component and in old days we used
 to register components like


 {{{
 $bp->active_components[the component slug] = The component Id
 }}}

 which won't work and fail the check.
 You will need to do something like this
 {{{
 $bp->active_components[the component id] = The component Id
 }}}


 It is only required if the plugin is not extending BP Core component class
 for creating component.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4416#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list