Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/26/2017 07:12:34 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Engagements: First pass at:

  • User profile section
  • Template parts changes
  • Rewrite rules support
  • Repair & upgrade tools
  • BuddyPress support
  • engagement slug setting

See #3068.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/loader.php

    r6284 r6320  
    219219        );
    220220
     221        // Engagements
     222        $sub_nav[] = array(
     223            'name'            => __( 'Engagements', 'bbpress' ),
     224            'slug'            => bbp_get_user_engagements_slug(),
     225            'parent_url'      => $forums_link,
     226            'parent_slug'     => $this->slug,
     227            'screen_function' => 'bbp_member_forums_screen_engagements',
     228            'position'        => 60,
     229            'item_css_id'     => 'engagements'
     230        );
     231
    221232        // Favorite topics
    222233        if ( bbp_is_favorites_active() ){
     
    227238                'parent_slug'     => $this->slug,
    228239                'screen_function' => 'bbp_member_forums_screen_favorites',
    229                 'position'        => 60,
     240                'position'        => 80,
    230241                'item_css_id'     => 'favorites'
    231242            );
     
    240251                'parent_slug'     => $this->slug,
    241252                'screen_function' => 'bbp_member_forums_screen_subscriptions',
    242                 'position'        => 60,
     253                'position'        => 100,
    243254                'item_css_id'     => 'subscriptions'
    244255            );
Note: See TracChangeset for help on using the changeset viewer.