Changeset 1718 for trunk/bp-xprofile.php
- Timestamp:
- 08/27/2009 09:18:10 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r1715 r1718 141 141 $bp->profile->format_notification_function = 'xprofile_format_notifications'; 142 142 $bp->profile->slug = BP_XPROFILE_SLUG; 143 143 144 /* Register this in the active components array */ 145 $bp->active_components[$bp->profile->slug] = $bp->profile->id; 146 144 147 $bp->profile->field_types = apply_filters( 'xprofile_field_types', array( 'textbox', 'textarea', 'radio', 'checkbox', 'selectbox', 'multiselectbox', 'datebox' ) ); 145 148 … … 200 203 201 204 /* Add 'Profile' to the main navigation */ 202 bp_core_new_nav_item( array( 'name' => __('Profile', 'buddypress'), 'slug' => $bp->profile->slug, 'position' => 20, 'screen_function' => 'xprofile_screen_display_profile', 'default_subnav_slug' => 'public' ) );205 bp_core_new_nav_item( array( 'name' => __('Profile', 'buddypress'), 'slug' => $bp->profile->slug, 'position' => 20, 'screen_function' => 'xprofile_screen_display_profile', 'default_subnav_slug' => 'public', 'item_css_id' => $bp->profile->id ) ); 203 206 204 207 $profile_link = $bp->loggedin_user->domain . $bp->profile->slug . '/';
Note: See TracChangeset
for help on using the changeset viewer.