Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/26/2011 03:28:35 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Introduce Forums tab to user account area, to show topics the user has started, topics the user has replied to, and favorite forum topics. This includes additional template files in bp-default to support new functionality, and edits to the forum_sql filter functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-loader.php

    r3917 r3933  
    125125        // Additional menu if friends is active
    126126        $sub_nav[] = array(
    127             'name'            => __( 'Topics Started', 'buddypress' ),
     127            'name'            => __( 'Started', 'buddypress' ),
    128128            'slug'            => 'topics',
    129129            'parent_url'      => $forums_link,
     
    136136        // Additional menu if friends is active
    137137        $sub_nav[] = array(
    138             'name'            => __( 'Replies', 'buddypress' ),
     138            'name'            => __( 'Replied To', 'buddypress' ),
    139139            'slug'            => 'replies',
    140140            'parent_url'      => $forums_link,
    141141            'parent_slug'     => $this->slug,
    142             'screen_function' => 'bp_forums_screen_topics',
     142            'screen_function' => 'bp_forums_screen_replies',
    143143            'position'        => 40,
    144144            'item_css_id'     => 'forums-friends'
     
    147147        // Favorite forums items
    148148        $sub_nav[] = array(
    149             'name'            => __( 'Favorite Topics', 'buddypress' ),
     149            'name'            => __( 'Favorites', 'buddypress' ),
    150150            'slug'            => 'favorites',
    151151            'parent_url'      => $forums_link,
Note: See TracChangeset for help on using the changeset viewer.