Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/28/2008 02:49:35 PM (17 years ago)
Author:
apeatling
Message:

Added global notification system for BuddyPress components and added a "Notifications" menu to the logged in admin bar.

Cleaned up the design of the admin bar menus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-templatetags.php

    r391 r439  
    102102        wp_die('No Access');
    103103    } else {
     104        if ( $bp['current_action'] == 'inbox' )
     105            bp_core_delete_notifications_for_user_by_type( $bp['loggedin_userid'], 'messages', 'new_message' );
     106   
    104107        $messages_template = new BP_Messages_Template( $bp['loggedin_userid'], $bp['current_action'] );
    105108    }
Note: See TracChangeset for help on using the changeset viewer.