Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2013 05:15:51 PM (11 years ago)
Author:
johnjamesjacoby
Message:

First pass at bp-notifications component. Includes:

  • Backwards compatibility for old core functions.
  • Screens, functions, classes, and actions for Notifications.
  • Improved class methods for getting, updating, and deleting notifications.
  • Template parts in bp-legacy for theme compatibility.
  • A few basic unit tests.

@todo's:

  • Improve template output with dedicated functions, markup, classes, et all.
  • More unit tests.
  • Pagination links.
  • Auto-activate on update, so existing installations do not lose previously core functionality.

See #5148. Props johnjamesjacoby, boonebgorges, r-a-y.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-components.php

    r7228 r7521  
    5959            'title'       => __( 'Extended Profiles', 'buddypress' ),
    6060            'description' => __( 'Customize your community with fully editable profile fields that allow your users to describe themselves.', 'buddypress' )
    61         )
     61        ),
     62        'settings' => array(
     63            'title'       => __( 'Account Settings', 'buddypress' ),
     64            'description' => __( 'Allow your users to modify their account and notification settings directly from within their profiles.', 'buddypress' )
     65        ),
     66        'notifications' => array(
     67            'title'       => __( 'Notifications', 'buddypress' ),
     68            'description' => __( 'Notify members of relevant activity with a toolbar bubble and/or via email, and allow them to customize their notification settings.', 'buddypress' )
     69        ),
    6270    );
    6371
    6472    $optional_components = bp_core_admin_get_components( 'optional' );
    6573    $required_components = bp_core_admin_get_components( 'required' );
    66     $retired_components = bp_core_admin_get_components( 'retired' );
     74    $retired_components  = bp_core_admin_get_components( 'retired' );
    6775
    6876    // Don't show Forums component in optional components if it's disabled
     
    372380            'description' => __( 'Global, personal, and group activity streams with threaded commenting, direct posting, favoriting and @mentions, all with full RSS feed and email notification support.', 'buddypress' )
    373381        ),
     382        'notifications' => array(
     383            'title'       => __( 'Notifications', 'buddypress' ),
     384            'description' => __( 'Notify members of relevant activity with a toolbar bubble and/or via email, and allow them to customize their notification settings.', 'buddypress' )
     385        ),
    374386        'groups'   => array(
    375387            'title'       => __( 'User Groups', 'buddypress' ),
Note: See TracChangeset for help on using the changeset viewer.