Changeset 2502
- Timestamp:
- 01/31/2010 08:08:28 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity.php
r2485 r2502 629 629 /* Send an email notification if settings allow */ 630 630 require_once( BP_PLUGIN_DIR . '/bp-activity/bp-activity-notifications.php' ); 631 bp_activity_new_comment_notification( $comment_id, $ params );631 bp_activity_new_comment_notification( $comment_id, $user_id, $params ); 632 632 633 633 do_action( 'bp_activity_comment_posted', $comment_id, $params ); -
trunk/bp-activity/bp-activity-classes.php
r2485 r2502 27 27 28 28 $row = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->activity->table_name} WHERE id = %d", $this->id ) ); 29 30 if ( $activity ) { 29 if ( $row ) { 31 30 $this->id = $row->id; 32 31 $this->item_id = $row->item_id; -
trunk/bp-groups/bp-groups-notifications.php
r2480 r2502 238 238 239 239 // Now email the user with the contents of the message (if they have enabled email notifications) 240 if ( !get_usermeta( $user_id, 'notification_activity_new_mention' ) || 'yes' == get_usermeta( $user_id, 'notification_activity_new_mention' ) ) {240 if ( 'no' != get_usermeta( $user_id, 'notification_activity_new_mention' ) ) { 241 241 $poster_name = bp_core_get_user_displayname( $poster_user_id ); 242 242 -
trunk/bp-messages/bp-messages-classes.php
r2450 r2502 191 191 function get_recipient_links($recipients) { 192 192 if ( count($recipients) >= 5 ) 193 return count( $recipients) . __(' Recipients', 'buddypress');194 195 for ( $i = 0; $i < count($recipients); $i++) {196 $recipient_links[] = bp_core_get_userlink( $recipient s[$i]);193 return count( $recipients ) . __(' Recipients', 'buddypress'); 194 195 foreach ( $recipients as $recipient ) { 196 $recipient_links[] = bp_core_get_userlink( $recipient->user_id ); 197 197 } 198 198 -
trunk/bp-themes/bp-default/members/single/messages/messages-loop.php
r2405 r2502 26 26 </td> 27 27 <td width="1%" class="thread-avatar"><?php bp_message_thread_avatar() ?></td> 28 <td width="30%" class="thread-from"> 29 <?php _e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from() ?><br /> 30 <span class="activity"><?php bp_message_thread_last_post_date() ?></span> 31 </td> 28 29 <?php if ( 'sentbox' != bp_current_action() ) : ?> 30 <td width="30%" class="thread-from"> 31 <?php _e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from() ?><br /> 32 <span class="activity"><?php bp_message_thread_last_post_date() ?></span> 33 </td> 34 <?php else: ?> 35 <td width="30%" class="thread-from"> 36 <?php _e( 'To:', 'buddypress' ); ?> <?php bp_message_thread_to() ?><br /> 37 <span class="activity"><?php bp_message_thread_last_post_date() ?></span> 38 </td> 39 <?php endif; ?> 40 32 41 <td width="50%" class="thread-info"> 33 42 <p><a href="<?php bp_message_thread_view_link() ?>" title="<?php _e( "View Message", "buddypress" ); ?>"><?php bp_message_thread_subject() ?></a></p>
Note: See TracChangeset
for help on using the changeset viewer.